modelPartialAbsoluteSensor
Partial component to model a sensor that measures a potential variable
Information
Partial component to model an absolute sensor.
The component can be used for pressure sensor models.
Use for other properties such as temperature or density is discouraged, because the enthalpy at the connector can have different meanings, depending on the connection topology. For these properties, use
Buildings.Fluid.Sensors.BaseClasses.PartialFlowSensor.
Parameters
| Type | Name | Default | Description |
| Boolean | warnAboutOnePortConnection | true | Set to false to suppress warning about potential numerical issues, see Buildings.Fluid.Sensors.UsersGuide for more information |
Contents
| Name | Description |
Medium | Medium in the sensor |
Revisions
-
September 20, 2020, by Michael Wetter:
Introduced parameter warnAboutOnePortConnection and added assertion with level set to warning.
This is for
#1399.
-
January 18, 2019, by Jianjun Hu:
Limited the media choice.
See #1050.
-
September 7, 2018, by Michael Wetter:
Changed
port(redeclare package Medium=Medium, m_flow(min=0, max=0))
to
port(redeclare package Medium=Medium, m_flow(min=0))
to avoid in Dymola 2019FD01 beta1 the message
"port.m_flow has the range [0,0] - which is suspicious since the max-value should be above the min-value"
which causes an error in pedantic mode.
Note that the MSL also uses only a min value.
-
March 22, 2017, by Filip Jorissen:
Set m_flow(max=0).
This is for
#687.
-
February 12, 2011, by Michael Wetter:
First implementation.
Implementation is based on Modelica.Fluid.