modelPartialPlant
Partial class for modeling a plant
Information
Partial class to be used for modeling a plant.
The connectors to the service lines are configured based on an enumeration
defining the type of district system, see
Buildings.DHC.Types.DistrictSystemType.
In case of a heating service line, the model allows for using two
different media at the supply port port_bSerHea and at the return
port_aSerHea to represent a steam supply and condensate
return.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | have_fue | nFue > 0 | Set to true if the plant has fuel use |
| Buildings.Fluid.Data.Fuels.Generic[nFue] | fue | Fuel type | |
| Configuration | |||
| Buildings.DHC.Types.DistrictSystemType | typ | Buildings.DHC.Types.DistrictSystemType.CombinedGeneration2to4 | Type of district system |
| Boolean | have_fan | false | Set to true if fan power is computed |
| Boolean | have_pum | false | Set to true if pump power is computed |
| Boolean | have_eleHea | false | Set to true if the plant has electric heating system |
| Integer | nFue | 0 | Number of fuel types (0 means no combustion system) |
| Boolean | have_eleCoo | false | Set to true if the plant has electric cooling system |
| Boolean | have_weaBus | false | Set to true to use a weather bus |
| Assumptions | |||
| Boolean | allowFlowReversal | false | Set to true to allow flow reversal in service lines |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_aSerAmb | Fluid connector for ambient water service supply line | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bSerAmb | Fluid connector for ambient water service return line | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aSerHea | Fluid connector for heating service supply line | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bSerHea | Fluid connector for heating service return line | |
| Modelica.Fluid.Interfaces.FluidPort_a | port_aSerCoo | Fluid connector for cooling service supply line | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_bSerCoo | Fluid connector for cooling service return line | |
| Buildings.BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PHea | Power drawn by heating system | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PCoo | Power drawn by cooling system | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PFan | Power drawn by fan motors | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | PPum | Power drawn by pump motors | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | QFue_flow | Fuel energy input rate |
Contents
| Name | Description |
|---|---|
Revisions
-
June 20, 2024, by Michael Wetter:
Corrected annotation.
This is for issue 3900. -
September 20, 2021, by Mingzhe Liu:
Refactoredifstatement to correctly enable and disable the fluid connector under different system types. -
December 21, 2020, by Antoine Gautier:
First implementation.