Buildings.Experimental.DHC.Loads.Cooling

This package contains models for energy transfer stations used in district cooling system.

Information

This package contains models of building loads that are used to build example models of district cooling systems.

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

Name Description
Buildings.Experimental.DHC.Loads.Cooling.BuildingTimeSeriesWithETS BuildingTimeSeriesWithETS Model of a building with loads provided as time series, connected to an ETS for cooling
Buildings.Experimental.DHC.Loads.Cooling.Examples Examples  
Buildings.Experimental.DHC.Loads.Cooling.BaseClasses BaseClasses Package with base classes that are used by multiple models

Buildings.Experimental.DHC.Loads.Cooling.BuildingTimeSeriesWithETS Buildings.Experimental.DHC.Loads.Cooling.BuildingTimeSeriesWithETS

Model of a building with loads provided as time series, connected to an ETS for cooling

Buildings.Experimental.DHC.Loads.Cooling.BuildingTimeSeriesWithETS

Information

This model is composed of a direct controlled energy transfer station model for cooling Buildings.Experimental.DHC.EnergyTransferStations.Cooling.Direct connected to a simplified building model Buildings.Experimental.DHC.Loads.Cooling.BaseClasses.BuildingTimeSeries where the space cooling loads are provided as time series.

Extends from BaseClasses.PartialBuildingWithETS (Partial model with ETS model for cooling and partial building model).

Parameters

TypeNameDefaultDescription
replaceable package MediumSerWaterService side medium
replaceable package MediumSerHea_aWaterService side medium at heating inlet
replaceable package MediumBuiWaterBuilding side medium
PressureDifferencedpSup5000Pressure drop in the ETS supply side [Pa]
PressureDifferencedpRet5000Pressure drop in the ETS return side [Pa]
StringfilNam Library path of the file with thermal loads as time series
Configuration
IntegernPorts_heaWat0Number of heating water fluid ports
IntegernPorts_chiWat1Number of chilled water fluid ports
Scaling
RealfacMul1Multiplier factor
Nominal condition
MassFlowRatemBui_flow_nominal-QCoo_flow_nominal/(cp*dT_no...Nominal mass flow rate [kg/s]
TemperatureDifferencedT_nominal9Water temperature drop/increase accross load and source-side HX (always positive) [K]
PID controller
SimpleControllercontrollerTypeModelica.Blocks.Types.Simple...Type of controller
Realk0.1Gain of controller [1]
TimeTi60Time constant of integrator block [s]
TimeTd0.1Time constant of derivative block [s]
RealyMax1Upper limit of output
RealyMin0Lower limit of output
Nominal conditions
TemperatureTChiWatSup_nominal7 + 273.15Chilled water supply temperature [K]
Assumptions
BooleanallowFlowReversalSerfalseSet to true to allow flow reversal on service side
BooleanallowFlowReversalBuifalseSet to true to allow flow reversal on building side
Dynamics
Conservation equations
DynamicsenergyDynamicsModelica.Fluid.Types.Dynamic...Type of energy balance
Pump
Booleanuse_inputFilterfalse= true, if pump speed is filtered with a 2nd order CriticalDamping filter

Connectors

TypeNameDescription
FluidPort_aport_aSerAmbFluid connector for ambient water service supply line
FluidPort_bport_bSerAmbFluid connector for ambient water service return line
FluidPort_aport_aSerHeaFluid connector for heating service supply line
FluidPort_bport_bSerHeaFluid connector for heating service return line
FluidPort_aport_aSerCooFluid connector for cooling service supply line
FluidPort_bport_bSerCooFluid connector for cooling service return line
BusweaBusWeather data bus
output RealOutputQHea_flowTotal heating heat flow rate transferred to the loads (>=0) [W]
output RealOutputQCoo_flowTotal cooling heat flow rate transferred to the loads (<=0) [W]
output RealOutputPHeaPower drawn by heating system [W]
output RealOutputPCooPower drawn by cooling system [W]
output RealOutputPFanPower drawn by fan motors [W]
output RealOutputPPumPower drawn by pump motors [W]
output RealOutputQFue_flow[nFue]Fuel energy input rate [W]
input RealInputTSetDisRetSetpoint for the minimum district return temperature [K]

Modelica definition

model BuildingTimeSeriesWithETS "Model of a building with loads provided as time series, connected to an ETS for cooling" extends BaseClasses.PartialBuildingWithETS( redeclare Buildings.Experimental.DHC.Loads.BaseClasses.Examples.BaseClasses.BuildingTimeSeries bui( final have_heaWat=false, final have_chiWat=true, final have_hotWat=false, final filNam=filNam, T_aChiWat_nominal=TChiWatSup_nominal, T_bChiWat_nominal=TChiWatRet_nominal), mBui_flow_nominal=-QCoo_flow_nominal/(cp*dT_nominal), ets( QChiWat_flow_nominal=QCoo_flow_nominal)); final parameter Modelica.Units.SI.HeatFlowRate QCoo_flow_nominal= bui.facMul * bui.QCoo_flow_nominal "Space cooling design load (<=0)"; parameter Modelica.Units.SI.TemperatureDifference dT_nominal(min=0)=9 "Water temperature drop/increase accross load and source-side HX (always positive)"; parameter Modelica.Units.SI.Temperature TChiWatSup_nominal=7 + 273.15 "Chilled water supply temperature"; final parameter Modelica.Units.SI.Temperature TChiWatRet_nominal= TChiWatSup_nominal + dT_nominal "Chilled water return temperature"; parameter Modelica.Fluid.Types.Dynamics energyDynamics=Modelica.Fluid.Types.Dynamics.SteadyState "Type of energy balance"; parameter Boolean use_inputFilter=false "= true, if pump speed is filtered with a 2nd order CriticalDamping filter"; parameter String filNam "Library path of the file with thermal loads as time series"; protected parameter Modelica.Units.SI.SpecificHeatCapacity cp=MediumSer.specificHeatCapacityCp( MediumSer.setState_pTX( MediumSer.p_default, MediumSer.T_default, MediumSer.X_default)) "Default specific heat capacity of medium"; end BuildingTimeSeriesWithETS;