.IBPSA.Fluid.FMI.ExportContainers.ReplaceableTwoPort

Information

Block that serves as a container to export a thermofluid flow component. This block contains a replaceable model com that needs to be redeclared to export any model that has as its base class IBPSA.Fluid.Interfaces.PartialTwoPort. This allows exporting a large variety of thermofluid flow models with a simple redeclare.

See for example IBPSA.Fluid.FMI.ExportContainers.Examples.FMUs.PressureDrop or IBPSA.Fluid.FMI.ExportContainers.Examples.FMUs.HeaterCooler_u for how to use this block.

Note that this block must not be used if the instance com sets a constant pressure. In such a situation, use IBPSA.Fluid.FMI.ExportContainers.PartialTwoPort together with IBPSA.Fluid.FMI.Adaptors.Inlet and IBPSA.Fluid.FMI.Adaptors.Outlet and set the pressure to be equal to the port p of IBPSA.Fluid.FMI.Adaptors.Outlet.

Revisions


Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos