modelPartialDynamicFlowSensor
Partial component to model sensors that measure flow properties using a dynamic model
Extends from PartialFlowSensor.
Information
Partial component to model a sensor that measures any intensive properties of a flow, e.g., to get temperature or density in the flow between fluid connectors.
The sensor computes a gain that is zero at zero mass flow rate. This avoids fast transients if the flow is close to zero, thereby improving the numerical efficiency.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | tau | 1 | Time constant at nominal flow rate (use tau=0 for steady-state sensor, but see user guide for potential problems) |
| Initialization | |||
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.InitialState | Type of initialization (InitialState and InitialOutput are identical) |
Revisions
-
December 10, 2022, by Michael Wetter:
Corrected annotation to avoid comparing a real-valued parameter for equality.
This is for IBPSA, #1671. -
August 9, 2016, by Michael Wetter:
Improved documentation fortau. -
January 12, 2016, by Filip Jorissen:
Added optional parametertauInv. -
May 29, 2014, by Michael Wetter:
Removed undesirable annotationEvaluate=true. -
March 29, 2013, by Michael Wetter:
Changed the parameterinitTypetoModelica.Blocks.Types.Init.InitialState. This allows a pedantic model check in Dymola 2014 of models that instanciate sensors but do not set this parameter. It also ensures that different Modelica simulators solve the same initialization problem. -
July 7, 2011, by Michael Wetter:
First implementation.