modelPartialBuildingWithETS
Partial model with ETS model for cooling and partial building model
Extends from Buildings.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS (Partial model of a building with an energy transfer station).
Information
This model is composed of a direct controlled energy transfer station model for cooling Buildings.DHC.ETS.Cooling.Direct connected to a repleacable building load model.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | idxPHeaETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_eleHea, ets.have_eleHea}), 1) | Index for connecting the ETS output connector |
| Integer | idxPCooETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_eleCoo, ets.have_eleCoo}), 1) | Index for connecting the ETS output connector |
| Integer | idxPFanETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_fan, ets.have_fan}), 1) | Index for connecting the ETS output connector |
| Integer | idxPPumETS (from PartialBuildingWithPartialETS) | max(Modelica.Math.BooleanVectors.countTrue({bui.have_pum, ets.have_pum}), 1) | Index for connecting the ETS output connector |
| Modelica.Units.SI.PressureDifference | dpSup | 5000 | Pressure drop in the ETS supply side |
| Modelica.Units.SI.PressureDifference | dpRet | 5000 | Pressure drop in the ETS return side |
| Configuration | |||
| Integer | nPorts_heaWat (from PartialBuildingWithPartialETS) | 0 | Number of heating water fluid ports |
| Integer | nPorts_chiWat (from PartialBuildingWithPartialETS) | 0 | Number of chilled water fluid ports |
| TypDisSys | typ (from PartialBuildingWithPartialETS) | ets.typ | Type of district system |
| Boolean | have_heaWat (from PartialBuildingWithPartialETS) | ets.have_heaWat | Set to true if the ETS supplies heating water |
| Boolean | have_hotWat (from PartialBuildingWithPartialETS) | ets.have_hotWat | Set to true if the ETS supplies domestic hot water |
| Boolean | have_chiWat (from PartialBuildingWithPartialETS) | ets.have_chiWat | Set to true if the ETS supplies chilled water |
| Boolean | have_eleHea (from PartialBuildingWithPartialETS) | bui.have_eleHea or ets.have_eleHea | Set to true if the building or ETS has electric heating system |
| Integer | nFue (from PartialBuildingWithPartialETS) | ets.nFue | Number of fuel types (0 means no combustion system) |
| Boolean | have_eleCoo (from PartialBuildingWithPartialETS) | bui.have_eleCoo or ets.have_eleCoo | Set to true if the building or ETS has electric cooling system |
| Boolean | have_fan (from PartialBuildingWithPartialETS) | bui.have_fan or ets.have_fan | Set to true if fan power is computed |
| Boolean | have_pum (from PartialBuildingWithPartialETS) | bui.have_pum or ets.have_pum | Set to true if pump power is computed |
| Boolean | have_weaBus (from PartialBuildingWithPartialETS) | bui.have_weaBus or ets.have_weaBus | Set to true to use a weather bus |
| Scaling | |||
| Real | facMul (from PartialBuildingWithPartialETS) | 1 | Multiplier factor |
| Assumptions | |||
| Boolean | allowFlowReversalSer (from PartialBuildingWithPartialETS) | false | Set to true to allow flow reversal on service side |
| Boolean | allowFlowReversalBui (from PartialBuildingWithPartialETS) | false | Set to true to allow flow reversal on building side |
| Nominal condition | |||
| Modelica.Units.SI.HeatFlowRate | QHeaWat_flow_nominal (from PartialBuildingWithPartialETS) | ets.QHeaWat_flow_nominal | Nominal capacity of heating system (>=0) |
| Modelica.Units.SI.HeatFlowRate | QHotWat_flow_nominal (from PartialBuildingWithPartialETS) | ets.QHotWat_flow_nominal | Nominal capacity of hot water production system (>=0) |
| Modelica.Units.SI.HeatFlowRate | QChiWat_flow_nominal (from PartialBuildingWithPartialETS) | ets.QChiWat_flow_nominal | Nominal capacity of cooling system (<=0) |
| Modelica.Units.SI.MassFlowRate | mBui_flow_nominal | Nominal mass flow rate | |
| PID controller | |||
| Modelica.Blocks.Types.SimpleController | controllerType | Modelica.Blocks.Types.SimpleController.PI | Type of controller |
| Real | k | 0.1 | Gain of controller |
| Modelica.Units.SI.Time | Ti | 60 | Time constant of integrator block |
| Modelica.Units.SI.Time | Td | 0.1 | Time constant of derivative block |
| Real | yMax | 1 | Upper limit of output |
| Real | yMin | 0 | Lower limit of output |
Connectors
Components
Revisions
-
December 23, 2022, by Kathryn Hinkelman:
Revised ETS from direct uncontrolled to direct controlled. This is for #2912.
- March 20, 2022, by Chengnan Shi:
First implementation.