.Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues

Information

External function that stores the input value x as the element a[iX] in the array a = [a[1], a[2], ...], and that returns the element a[iY]. The size of the array a is automatically enlarged as needed.

Interface

function exchangeValues
  input ExtendableArray table "External object";
  input Integer iX "One-based index where u needs to be stored in the array of the external object";
  input Real x "Value to store in the external object";
  input Integer iY "One-based index of the element that needs to be returned from C to Modelica";
  output Real y "Value of the i-th element";
end exchangeValues;

Revisions


Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos