Modelica.Fluid.Sensors.BaseClasses

Base classes used in the Sensors package (only of interest to build new component models)

Information

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Modelica.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor PartialAbsoluteSensor Partial component to model a sensor that measures a potential variable
Modelica.Fluid.Sensors.BaseClasses.PartialRelativeSensor PartialRelativeSensor Partial component to model a sensor that measures the difference between two potential variables
Modelica.Fluid.Sensors.BaseClasses.PartialFlowSensor PartialFlowSensor Partial component to model sensors that measure flow properties

Modelica.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor Modelica.Fluid.Sensors.BaseClasses.PartialAbsoluteSensor

Partial component to model a sensor that measures a potential variable

Information

Partial component to model an absolute sensor. 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. Use PartialFlowSensor instead. as signal.

Parameters

NameDescription
replaceable package MediumMedium in the sensor

Connectors

NameDescription
replaceable package MediumMedium in the sensor
port 

Modelica.Fluid.Sensors.BaseClasses.PartialRelativeSensor Modelica.Fluid.Sensors.BaseClasses.PartialRelativeSensor

Partial component to model a sensor that measures the difference between two potential variables

Information

The relative pressure "port_a.p - port_b.p" is determined between the two ports of this component and is provided as output signal. The sensor should be connected in parallel with other equipment, no flow through the sensor is allowed.

Extends from Modelica.Icons.TranslationalSensor (Icon representing a linear measurement device).

Parameters

NameDescription
replaceable package MediumMedium in the sensor

Connectors

NameDescription
replaceable package MediumMedium in the sensor
port_a 
port_b 

Modelica.Fluid.Sensors.BaseClasses.PartialFlowSensor Modelica.Fluid.Sensors.BaseClasses.PartialFlowSensor

Partial component to model sensors that measure flow properties

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 model includes zero-volume balance equations. Sensor models inheriting from this partial class should add a medium instance to calculate the measured property.

Extends from Modelica.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).

Parameters

NameDescription
replaceable package MediumMedium in the component
Assumptions
allowFlowReversal= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Advanced
m_flow_nominalNominal value of m_flow = port_a.m_flow [kg/s]
m_flow_smallRegularization for bi-directional flow in the region |m_flow| < m_flow_small (m_flow_small > 0 required) [kg/s]

Connectors

NameDescription
port_aFluid connector a (positive design flow direction is from port_a to port_b)
port_bFluid connector b (positive design flow direction is from port_a to port_b)
Automatically generated Thu Dec 19 17:20:11 2019.