modelUnidirectionalSensorAdapter

Adapter to connect a unidirectional sensor

Extends from Internal.PartialSensor (Partial undirected sensor).

Information

A adapter to outputs the relevant state of the undirected flow, with r=0 at the outlet. It can be used to connect a unidirectional sensor to a undirected network.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Sensor display
Integerdigits (from PartialSensor)3Number of significant digits to be displayed
Advanced › Regularization
SI.MassFlowRatem_flow_reg (from PartialSensor)dropOfCommons.m_flow_regRegularization threshold of mass flow rate

Connectors

TypeNameDefaultDescription
Interfaces.Rearrear (from PartialSensor)
Interfaces.Forefore (from PartialSensor)
ThermofluidStream.Interfaces.Outletoutlet

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate (from PartialSensor)Medium.setState_phX(p_reg, h_reg, Xi_reg)