modelInvertingBasicFlowFunction_dp
Test model that inverts basicFlowFunction_dp
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model tests whether the Modelica translator substitutes the
inverse function for
Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_dp.
Specifically, this function declares in its annotation section
that its inverse is provided by
Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow.
Translating this model should therefore give no nonlinear equations
after the symbolic manipulation.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 0.5 | Flow coefficient |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 1.5 | Nominal mass flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | m_flow | Mass flow rate | |
| Modelica.Units.SI.PressureDifference | dp | Pressure difference |
Revisions
-
January 25, 2019, by Michael Wetter:
Added start value to avoid warning in JModelica. -
January 22, 2016, by Michael Wetter:
Corrected type declaration of pressure difference. This is for #404. -
August 5, 2015, by Michael Wetter:
First implementation.