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 AixLib.Fluid.Sensors.BaseClasses.PartialFlowSensor.
Name | Description |
---|---|
Medium | Medium in the sensor |
warnAboutOnePortConnection
and added assertion with level set to warning.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.
m_flow(max=0)
.
This is for
#687.
Modelica.Fluid
.