.ThermofluidStream.Sensors.Internal.getTwoPhaseQuantity

Information

Helper function to get a quantity from an Thermofluid state.

Interface

function getTwoPhaseQuantity
  extends Modelica.Icons.Function;
  replaceable package Medium = Media.myMedia.Interfaces.PartialTwoPhaseMedium "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 Types.TwoPhaseQuantities quantity;
  output Real value;
end getTwoPhaseQuantity;

Contents

NameDescription
 MediumMedium model

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