This package contains base classes that are used to construct the models in Buildings.Examples.ChillerPlant.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
SimplifiedRoom | Simplified data center room |
Controls | Package with control components for Buildings.Examples.ChillerPlant |
This is a simplified room model for a data center. There is no heat exchange between the room and ambient environment through the building envelope since it is negligible compared to the heat released by the servers.
Type | Name | Default | Description |
---|---|---|---|
replaceable package Medium | Modelica.Media.Interfaces.Pa... | Medium model | |
Length | rooLen | Length of the room [m] | |
Length | rooWid | Width of the room [m] | |
Height | rooHei | Height of the room [m] | |
Power | QRoo_flow | Heat generation of the computer room [W] | |
MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] |
Type | Name | Description |
---|---|---|
replaceable package Medium | Medium model | |
VesselFluidPorts_b | airPorts[nPorts] | Fluid inlets and outlets |
model SimplifiedRoom "Simplified data center room" replaceable package Medium = Modelica.Media.Interfaces.PartialMedium "Medium model"; parameter Integer nPorts=0 "Number of parts"; parameter Modelica.SIunits.Length rooLen "Length of the room"; parameter Modelica.SIunits.Length rooWid "Width of the room"; parameter Modelica.SIunits.Height rooHei "Height of the room"; parameter Modelica.SIunits.Power QRoo_flow "Heat generation of the computer room";Buildings.Fluid.MixingVolumes.MixingVolume rooVol( nPorts=nPorts, redeclare each package Medium = Medium, V=rooLen*rooWid*rooHei, final T_start=293.15, m_flow_nominal=m_flow_nominal) "Volume of air in the room"; Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b airPorts[nPorts]( redeclare each package Medium = Medium) "Fluid inlets and outlets"; Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow QSou "Heat source of the room"; Modelica.Blocks.Sources.Ramp ramp( height=QRoo_flow, offset=0, duration=36000, startTime=0); parameter Modelica.SIunits.MassFlowRate m_flow_nominal "Nominal mass flow rate"; equationconnect(rooVol.ports, airPorts); connect(QSou.port, rooVol.heatPort); connect(ramp.y, QSou.Q_flow); end SimplifiedRoom;