modelElectricChillersDirectETS

Example model for district cooling system with an electric chiller plant and a direct controlled ETS at each building

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model illustrates an example of district cooling system, consisting of a cooling plant with parallel electric chillers ( Buildings.DHC.Plants.Cooling.ElectricChillerParallel), a two-pipe distribution network with plug flow pipes ( Buildings.DHC.Networks.Distribution2PipePlugFlow_v), and time series building load that have directly connected ETS with the chilled water return temperatures controlled above a minimum threshold ( Buildings.DHC.Loads.Cooling.BuildingTimeSeriesWithETS). This configuration is illustrated in the schematic below.

DC Schematic

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PressuredpDis30000Total pressure drop in the district pipes
Modelica.Units.SI.MassFlowRate[nLoa]mCon_flow_nominalfill(10, nLoa)Nominal mass flow rate in each connection line
Modelica.Units.SI.HeatFlowRate[nLoa]QCoo_flow_nominal{Buildings.DHC.Loads.BaseClasses.getPeakLoad(string = "#Peak space cooling load", filNam = filNam[i]) for i in 1:nLoa}Space cooling design load (<=0)
Modelica.Units.SI.MassFlowRate[nLoa]mBui_flow_nominal{-QCoo_flow_nominal[i]/(cp*buiETS[i].dT_nominal) for i in 1:nLoa}Nominal mass flow rate of building cooling side
Chiller and cooling tower
Buildings.Fluid.Chillers.Data.ElectricEIR.ElectricEIRChiller_York_YT_1055kW_5_96COP_VanesperChiPerformance data of chiller
Modelica.Units.SI.MassFlowRatemCHW_flow_nominal18.3Nominal chilled water mass flow rate
Modelica.Units.SI.MassFlowRatemCW_flow_nominal34.7Nominal condenser water mass flow rate
Modelica.Units.SI.PressureDifferencedpCHW_nominal44.8*1000Nominal chilled water side pressure
Modelica.Units.SI.PressureDifferencedpCW_nominal46.2*1000Nominal condenser water side pressure
Modelica.Units.SI.PowerQChi_nominalmCHW_flow_nominal*4200*(6.67 - 18.56)Nominal cooling capaciaty (Negative means cooling)
Pumps
Buildings.Fluid.Movers.Data.GenericperCHWPumPerformance data for chilled water pumps
Buildings.Fluid.Movers.Data.GenericperCWPumPerformance data for condenser water pumps
Network
IntegernLoa3Number of served loads
Buildings
String[nLoa]filNam{Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/DHC/Loads/Examples/MediumOffice-90.1-2010-5A.mos"), Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/DHC/Loads/Examples/MediumOffice-90.1-2010-5A.mos"), Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/Data/DHC/Loads/Examples/MediumOffice-90.1-2010-5A.mos")}Library path of the file with thermal loads as time series

Components

TypeNameDefaultDescription
Buildings.DHC.Plants.Cooling.ElectricChillerParallelplaDistrict cooling plant
Buildings.BoundaryConditions.WeatherData.ReaderTMY3weaDatWeather data
Modelica.Blocks.Sources.ConstantTCHWSupSetChilled water supply temperature setpoint
Buildings.DHC.Networks.Distribution2PipePlugFlow_vdisDistribution network for district cooling system
Buildings.DHC.Loads.Cooling.BuildingTimeSeriesWithETS[nLoa]buiETSVectorized time series building load model connected with ETS for cooling
Modelica.Blocks.Sources.ConstantTDisRetSetSetpoint for district return temperature
Modelica.Blocks.Math.SumQTotCoo_flowTotal cooling flow rate for all buildings
Buildings.Controls.OBC.CDL.Reals.LessThresholdoffCooThreshold comparison to disable the plant
Modelica.Blocks.Math.GainnorQFloNormalized Q_flow
HeatTransfer.Sources.FixedTemperature[nLoa]gndGround
Controls.OBC.CDL.Logical.Timertim
Controls.OBC.CDL.Logical.NotonPlaOn signal for the plant
HeatTransfer.Sources.FixedTemperature[nLoa + 1]gnd1Ground

Contents

NameDescription
MediumMedium model for water

Revisions

  • August 22, 2023, by Michael Wetter:
    Changed call to loadResources. This is needed for Dymola 2024x beta1 on Linux.
  • January 2, 2023, by Kathryn Hinkelman:
    Revised chilled water pump controls to be constant speed and running 1-and-1 with the chillers.
    Changed building-side ets from direct uncontrolled to controlled.
    Revised distribution network from fixed resistance pipes to plug flow pipes.
  • December 21, 2022, by Kathryn Hinkelman:
    Corrected dpMea location to be at the terminal building. Removed in-building pumping for direct uncontrolled ETS example.
    This is for #2912.
  • December 18, 2022, by Kathryn Hinkelman:
    Relocated dp sensor for CHW pump control to most distal building. This is for #2912.
  • March 20, 2022, by Chengnan Shi:
    First implementation.