modelInvertingBasicFlowFunction_m_flow_inv

Test model that inverts basicFlowFunction_m_flow_inv

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_inv. 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

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

Components

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flowMass flow rate
Modelica.Units.SI.PressureDifferencedpPressure difference

Revisions

  • October 22, 2026, by Michael Wetter:
    First implementation.
    This is for Buildings, #4798.