Annex60.Fluid.Interfaces.PartialTwoPort

# .Annex60.Fluid.Interfaces.PartialTwoPort

Partial component with two ports

## Information

This partial model defines an interface for components with two ports. The treatment of the design flow direction and of flow reversal are predefined based on the parameter `allowFlowReversal`. The component may transport fluid and may have internal storage for a given fluid `Medium`.

#### Implementation

This model is similar to Modelica.Fluid.Interfaces.PartialTwoPort but it does not use the `outer system` declaration. This declaration is omitted as in building energy simulation, many models use multiple media, an in practice, users have not used this global definition to assign parameters.

## Contents

Name | Description
--- | ---
Medium | Medium in the component

## Revisions

- November 19, 2015, by Michael Wetter:
  Removed parameters `port_a_exposesState` and `port_b_exposesState` for #351 and `showDesignFlowDirection` for #349.
- November 13, 2015, by Michael Wetter:
  Assinged `start` attribute for leaving enthalpy at `port_a` and `port_b`. This was done to make the model similar to Annex60.Fluid.Interfaces.PartialFourPort.
- November 12, 2015, by Michael Wetter:
  Removed import statement.
- October 21, 2014, by Michael Wetter:
  Revised implementation. Declared medium in ports to be `final`.
- October 20, 2014, by Filip Jorisson:
  First implementation.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos