modelPartialResistance
Extends from PartialResistanceInterface (Minimal two-port resistance interface (Medium + ports) shared by the old and new resistance base classes).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Visualization | |||
| Boolean | showName | true | |
| Boolean | showDP | true | |
| Integer | precision | 3 | Number of decimals displayed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_a (from PartialResistanceInterface) | ||
| Interfaces.FluidPort_Flow | port_b (from PartialResistanceInterface) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialResistanceInterface) | ||
| SI.PressureDifference | dp | ||
| SI.MassFlowRate | m_flow | ||
| Real | dp_display | iconUnit(dp) | Icon display |
Contents
| Name | Description |
|---|---|