functioncalculateEfficiency
Calculates heat exchanger efficiency
Extends from Modelica.Icons.Function.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| MediumA.ThermodynamicState | state_A_in | Inlet A thermodynamic state | |
| MediumB.ThermodynamicState | state_B_in | Inlet B thermodynamic state | |
| MediumA.ThermodynamicState | state_A_out | Outlet A thermodynamic state | |
| MediumB.ThermodynamicState | state_B_out | Outlet B thermodynamic state | |
| SI.MassFlowRate | m_flow_A | Mass flow rate of medium A | |
| SI.MassFlowRate | m_flow_B | Mass flow rate of medium B | |
| SI.Power | Q_flow | Heat flow rate |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | efficiency | 0 | Heat exchanger efficiency |
Contents
| Name | Description |
|---|---|
| MediumA | Medium model A |
| MediumB | Medium model B |