Collection of models that illustrate model use and test models
This package contains examples for the use of models that can be found in Buildings.Fluid.BaseClasses.FlowModels.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
| Name | Description |
|---|---|
| Test model for flow function and its inverse | |
| Test model for flow functions |
Buildings.Fluid.BaseClasses.FlowModels.Examples.InverseFlowFunctionTest model for flow function and its inverse
This model tests the inverse formulation of the flow functions.
The pressure difference dp and dpCalc need to
be equal up to the solver tolerance, except for a small neighborhood
around the origin. In this neighborhood around the origin, the functions
Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_dp
and
Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow
are not invertible.
Extends from Modelica.Icons.Example (Icon for runnable examples).
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 0.5 | |
| MassFlowRate | m_flow_nominal | 1 | Nominal flow rate [kg/s] |
Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctionsTest model for flow functions
Extends from Modelica.Icons.Example (Icon for runnable examples).
| Type | Name | Default | Description |
|---|---|---|---|
| Pressure | p2 | 101325 | Boundary condition [Pa] |
| Boolean | from_dp | true | |
| Real | k | 0.5 | |
| MassFlowRate | m_flow_nominal | 1 | Nominal flow rate [kg/s] |