Package Modelica.​Fluid.​Sensors.​BaseClasses
Base classes used in the Sensors package (only of interest to build new component models)

Information

This icon shall be used for a package/library that contains base models and classes, respectively.

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

Package Contents

NameDescription
PartialAbsoluteSensorPartial component to model a sensor that measures a potential variable
PartialFlowSensorPartial component to model sensors that measure flow properties
PartialRelativeSensorPartial component to model a sensor that measures the difference between two potential variables

Partial Model 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.

Connectors

TypeNameDescription
FluidPort_aport 

Model 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).

Connectors

TypeNameDescription
FluidPort_aport_a 
FluidPort_bport_b 

Partial Model 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

TypeNameDefaultDescription
BooleanallowFlowReversalsystem.​allowFlowReversal= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
MassFlowRatem_flow_nominalsystem.​m_flow_nominalNominal value of m_flow = port_a.m_flow
MassFlowRatem_flow_smallif system.use_eps_Re then system.eps_m_flow * m_flow_nominal else system.m_flow_smallRegularization for bi-directional flow in the region |m_flow| < m_flow_small (m_flow_small > 0 required)

Connectors

TypeNameDescription
FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)

Generated 2018-12-12 12:13:28 EST by MapleSim.