PartialTwoPort

Partial component with two ports

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

An extending model providing direct access to internal storage of mass or energy through port_a or port_b should redefine the protected parameters port_a_exposesState and port_b_exposesState appropriately. This will be visualized at the port icons, in order to improve the understanding of fluid model diagrams.

Parameters (1)

allowFlowReversal

Value: system.allowFlowReversal

Type: Boolean

Description: = true to allow flow reversal, false restricts to design direction (port_a -> port_b)

Connectors (2)

port_a

Type: FluidPort_a

Description: Fluid connector a (positive design flow direction is from port_a to port_b)

port_b

Type: FluidPort_b

Description: Fluid connector b (positive design flow direction is from port_a to port_b)

Components (1)

system

Type: System

Description: System wide properties

Extended by (6)

PartialTwoPortTransport

Modelica.Fluid.Interfaces

Partial element transporting fluid between two ports without storage of mass or energy

PartialFlowSensor

Modelica.Fluid.Sensors.BaseClasses

Partial component to model sensors that measure flow properties

PartialPump

Modelica.Fluid.Machines.BaseClasses

Base model for centrifugal pumps

PartialTwoPortFlow

Modelica.Fluid.Pipes.BaseClasses

Base class for distributed flow models

PartialStraightPipe

Modelica.Fluid.Pipes.BaseClasses

Base class for straight pipe models

EquilibriumDrumBoiler

Modelica.Fluid.Examples.DrumBoiler.BaseClasses

Simple Evaporator with two states, see Åström, Bell: Drum-boiler dynamics, Automatica 36, 2000, pp.363-378