modelSpecificEntropyTwoPort

Ideal two port sensor for the specific entropy

Extends from AixLib.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor, Modelica.Icons.RoundSensor.

Information

This model outputs the specific entropy of the passing fluid. The sensor is ideal, i.e., it does not influence the fluid. If the parameter tau is non-zero, then its output is computed using a first order differential equation. Setting tau=0 is not recommend. See AixLib.Fluid.Sensors.UsersGuide for an explanation.

Parameters

TypeNameDefaultDescription
Initialization
Modelica.Units.SI.SpecificEntropys_startMedium.specificEntropy_pTX(p = Medium.p_default, T = Medium.T_default, X = Medium.X_default)Initial or guess value of output (= state)

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputsSpecific entropy of the passing fluid

Revisions

  • February 25, 2020, by Michael Wetter:
    Changed icon to display its operating state.
    This is for #1294.
  • January 18, 2016 by Filip Jorissen:
    Using parameter tauInv since this now exists in AixLib.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor. This is for #372.
  • August 31, 2013, by Michael Wetter:
    Corrected wrong computation of s and sMed.
  • June 3, 2011 by Michael Wetter:
    Revised implementation to add dynamics in such a way that the time constant increases as the mass flow rate tends to zero. This significantly improves the numerics.
  • September 29, 2009, by Michael Wetter:
    First implementation.