blockPartialTwoPort

Partial block to be used as a container to export a thermofluid flow model with two ports

Information

Partial model that can be used to export thermofluid flow models as an FMU. This model only declares the inlet and outlet ports, the medium and whether flow reversal is allowed.

See Buildings.Fluid.FMI.ExportContainers.Examples.FMUs.ResistanceVolume for a block that extends this partial block.

Parameters

TypeNameDefaultDescription
Booleanuse_p_intrue= true to use a pressure from connector, false to output Medium.p_default
Assumptions
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (inlet -> outlet)

Connectors

TypeNameDefaultDescription
Interfaces.InletinletFluid inlet
Interfaces.OutletoutletFluid outlet

Contents

NameDescription
MediumMedium in the component

Revisions

  • January 18, 2019, by Jianjun Hu:
    Limited the media choice. See #1050.
  • April 29, 2015, by Michael Wetter:
    Redesigned to conditionally remove the pressure connector if use_p_in=false.
  • November 8, 2014, by Michael Wetter:
    First implementation.