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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_p_in (from PartialTwoPort) | true | = true to use a pressure from connector, false to output Medium.p_default |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet | inlet (from PartialTwoPort) | Fluid inlet | |
| Interfaces.Outlet | outlet (from PartialTwoPort) | Fluid outlet |
Revisions
-
April 16, 2015 by Michael Wetter:
First implementation.