LBL logo

Buildings.Examples.ChillerPlant.BaseClasses

Package with base classes for Buildings.Examples.ChillerPlant

Information

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).

Package Content

NameDescription
Buildings.Examples.ChillerPlant.BaseClasses.SimplifiedRoom SimplifiedRoom Simplified data center room
Buildings.Examples.ChillerPlant.BaseClasses.Controls Controls Package with control components for Buildings.Examples.ChillerPlant


Buildings.Examples.ChillerPlant.BaseClasses.SimplifiedRoom Buildings.Examples.ChillerPlant.BaseClasses.SimplifiedRoom

Simplified data center room

Buildings.Examples.ChillerPlant.BaseClasses.SimplifiedRoom

Information

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.

Parameters

TypeNameDefaultDescription
replaceable package MediumModelica.Media.Interfaces.Pa...Medium model
LengthrooLen Length of the room [m]
LengthrooWid Width of the room [m]
HeightrooHei Height of the room [m]
PowerQRoo_flow Heat generation of the computer room [W]
MassFlowRatem_flow_nominal Nominal mass flow rate [kg/s]

Connectors

TypeNameDescription
replaceable package MediumMedium model
VesselFluidPorts_bairPorts[nPorts]Fluid inlets and outlets

Modelica definition

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";
equation 
  connect(rooVol.ports, airPorts);
  connect(QSou.port, rooVol.heatPort);
  connect(ramp.y, QSou.Q_flow);
end SimplifiedRoom;

Automatically generated Wed May 15 11:59:15 2013.