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