modelInvertingBasicFlowFunction_m_flow

Test model that inverts basicFlowFunction_m_flow

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_m_flow. Specifically, this function declares in its annotation section that its inverse is provided by Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_dp. Translating this model should therefore give no nonlinear equations after the symbolic manipulation.

Parameters

TypeNameDefaultDescription
Realk0.5Flow coefficient
Modelica.Units.SI.MassFlowRatem_flow_nominal0.5Nominal mass flow rate

Components

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flowMass flow rate
Modelica.Units.SI.PressureDifferencedpPressure 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.