blockTwoPortPassThrough

Declaration of an FMU that exports a block that simply passes all the inputs to the outputs

Extends from Buildings.Fluid.FMI.ExportContainers.PartialTwoPort (Partial block to be used as a container to export a thermofluid flow model with two ports).

Information

This example demonstrates how to export an FMU that simply passes all its inputs to its outputs. Such an FMU could for example be used in a block diagram as a place-holder for another FMU that provides an actual implementation of a component.

Parameters

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

Connectors

TypeNameDefaultDescription
Interfaces.Inletinlet (from PartialTwoPort)Fluid inlet
Interfaces.Outletoutlet (from PartialTwoPort)Fluid outlet

Revisions

  • April 16, 2015 by Michael Wetter:
    First implementation.