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

TypeNameDefaultDescription
Realx3

Components

TypeNameDefaultDescription
Realy
Buildings.Fluid.Geothermal.Boreholes.BaseClasses.ExtendableArraytableBuildings.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.