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
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Sensor display | |||
| Integer | digits (from PartialSensor) | 3 | Number of significant digits to be displayed |
| Advanced › Regularization | |||
| SI.MassFlowRate | m_flow_reg (from PartialSensor) | dropOfCommons.m_flow_reg | Regularization threshold of mass flow rate |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Rear | rear (from PartialSensor) | ||
| Interfaces.Fore | fore (from PartialSensor) | ||
| ThermofluidStream.Interfaces.Outlet | outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialSensor) | Medium.setState_phX(p_reg, h_reg, Xi_reg) |