Helper function to get a quantity from an Thermofluid state.
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;
Name | Description |
---|---|
Medium | Medium model |