.ThermofluidStream.Sensors.Internal.getFlowQuantity

Information

Helper function to get a quantity from an Thermofluid state.

Interface

function getFlowQuantity
  extends Modelica.Icons.Function;
  replaceable package Medium = Media.myMedia.Interfaces.PartialMedium "Medium model" annotation(
    choicesAllMatching = true,
    Documentation(info = "<html>
      <p>Medium Model for the function. Make sure it implements the needed functions.</p>
        </html>"));
  input Medium.ThermodynamicState state;
  input SI.MassFlowRate m_flow;
  input Types.MassFlowQuantities quantity;
  input SI.Density rho_min;
  output Real value;
end getFlowQuantity;

Contents

NameDescription
 MediumMedium model

Generated at 2024-12-17T19:26:02Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos