modelBuildingTimeSeriesWithETS
Model of a building with loads provided as time series, connected to an ETS for cooling
Extends from BaseClasses.PartialBuildingWithETS (Partial model with ETS model for cooling and partial building model).
Information
This model is composed of a direct controlled energy transfer station model for cooling Buildings.DHC.ETS.Cooling.Direct connected to a simplified building model Buildings.DHC.Loads.BaseClasses.BuildingTimeSeries where the space cooling loads are provided as time series.
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 (from PartialBuildingWithETS) | 5000 | Pressure drop in the ETS supply side |
| Modelica.Units.SI.PressureDifference | dpRet (from PartialBuildingWithETS) | 5000 | Pressure drop in the ETS return side |
| Modelica.Units.SI.HeatFlowRate | QCoo_flow_nominal | bui.facMul*bui.QCoo_flow_nominal | Space cooling design load (<=0) |
| String | filNam | Library path of the file with thermal loads as time series | |
| 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 (from PartialBuildingWithETS) | Nominal mass flow rate | |
| Modelica.Units.SI.TemperatureDifference | dT_nominal | 9 | Water temperature drop/increase accross load and source-side HX (always positive) |
| Modelica.Units.SI.Temperature | TChiWatRet_nominal | TChiWatSup_nominal + dT_nominal | Chilled water return temperature |
| PID controller | |||
| Modelica.Blocks.Types.SimpleController | controllerType (from PartialBuildingWithETS) | Modelica.Blocks.Types.SimpleController.PI | Type of controller |
| Real | k (from PartialBuildingWithETS) | 0.1 | Gain of controller |
| Modelica.Units.SI.Time | Ti (from PartialBuildingWithETS) | 60 | Time constant of integrator block |
| Modelica.Units.SI.Time | Td (from PartialBuildingWithETS) | 0.1 | Time constant of derivative block |
| Real | yMax (from PartialBuildingWithETS) | 1 | Upper limit of output |
| Real | yMin (from PartialBuildingWithETS) | 0 | Lower limit of output |
| Nominal conditions | |||
| Modelica.Units.SI.Temperature | TChiWatSup_nominal | 7 + 273.15 | Chilled water supply temperature |
| Dynamics › Conservation equations | |||
| Modelica.Fluid.Types.Dynamics | energyDynamics | Modelica.Fluid.Types.Dynamics.SteadyState | Type of energy balance |
| Dynamics › Pump | |||
| Boolean | use_riseTime | false | Set to true to continuously change motor speed |
Connectors
Components
Revisions
-
January 12, 2023, by Michael Wetter:
Removed unused parameterriseTime. -
January 2, 2023, by Kathryn Hinkelman:
Propagated energy dynamics and a filter for the (variable) secondary pumps. -
December 23, 2022, by Kathryn Hinkelman:
Revised ETS from direct uncontrolled to direct controlled. This is for #2912. -
December 21, 2022 by Kathryn Hinkelman:
Removed in-building pumping because of coupling with the direct/uncontrolled ETS.
This is for #2912.
- March 20, 2022 by Chengnan Shi:
First implementation.