modelExchangeValues
Test problem for the function that exchanges values
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example tests the function Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues by assigning and reading different elements of the array. The assert statements check whether the returned values is correct.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | 3 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | ||
| Buildings.Fluid.Geothermal.Boreholes.BaseClasses.ExtendableArray | table | Buildings.Fluid.Geothermal.Boreholes.BaseClasses.ExtendableArray() | Extentable array, used to store history of rate of heat flows |
Revisions
-
September 10, 2011, by Michael Wetter:
First implementation.