modelEnthalpyFlowRate
Ideal enthalphy flow rate sensor
Extends from Annex60.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor, Modelica.Icons.RotationalSensor.
Information
This model outputs the enthalphy flow rate of the medium in the flow between fluid ports. The sensor is ideal, i.e., it does not influence the fluid.
If the parameter tau is non-zero, then the measured
specific enthalpy hout that is used to
compute the enthalpy flow rate
Ḣ = ṁ hout
is computed using a first order differential equation.
See
Annex60.Fluid.Sensors.UsersGuide for an explanation.
For a sensor that measures the latent enthalpy flow rate, use Annex60.Fluid.Sensors.LatentEnthalpyFlowRate.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization | |||
| Modelica.SIunits.SpecificEnthalpy | h_out_start | Medium.specificEnthalpy_pTX(p = Medium.p_default, T = Medium.T_default, X = Medium.X_default) | Initial or guess value of measured specific enthalpy |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | H_flow | Enthalpy flow rate, positive if from port_a to port_b |
Revisions
-
January 26, 2016, by Michael Wetter:
Made unit assignment of output signal final. -
January 18, 2016 by Filip Jorissen:
Using parametertauInvsince this now exists in Annex60.Fluid.Sensors.BaseClasses.PartialDynamicFlowSensor. This is for #372. -
August 31, 2013, by Michael Wetter:
Removed default valuetau=0as the base class already setstau=1. This change was made so that all sensors use the same default value. -
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 can improve the numerics. -
April 9, 2008 by Michael Wetter:
First implementation. Implementation is based on enthalpy sensor ofModelica.Fluid.