modelBuildingRCZ1Valve

One-zone RC building model with distribution pumps and mixing valves

Extends from Buildings.DHC.Loads.BaseClasses.PartialBuilding (Partial class for building model).

Information

This is a simplified one-zone building model based on a one-element reduced order room model. The corresponding heating and cooling loads are computed with a four-pipe fan coil unit model derived from Buildings.DHC.Loads.BaseClasses.PartialTerminalUnit and connected to the room model by means of fluid ports.

The heating and chilled water distribution to the terminal units is modeled with an instance of Buildings.DHC.Loads.BaseClasses.FlowDistribution including a mixing valve to control the supply temperature.

Parameters

TypeNameDefaultDescription
IntegernPorts_aHeaWat (from PartialBuilding)0Number of heating water inlet ports
IntegernPorts_bHeaWat (from PartialBuilding)0Number of heating water outlet ports
IntegernPorts_aChiWat (from PartialBuilding)0Number of chilled water inlet ports
IntegernPorts_bChiWat (from PartialBuilding)0Number of chilled water outlet ports
IntegernZon1Number of thermal zones
Configuration
Booleanhave_heaWat (from PartialBuilding)falseSet to true if the building has heating water system
Booleanhave_chiWat (from PartialBuilding)falseSet to true if the building has chilled water system
Booleanhave_eleHea (from PartialBuilding)falseSet to true if the building has decentralized electric heating system
Booleanhave_eleCoo (from PartialBuilding)falseSet to true if the building has decentralized electric cooling system
Booleanhave_fan (from PartialBuilding)falseSet to true if fan power is computed
Booleanhave_pum (from PartialBuilding)falseSet to true if pump power is computed
Booleanhave_weaBus (from PartialBuilding)falseSet to true to use a weather bus
Booleanhave_heaLoa (from PartialBuilding)have_heaWat or have_eleHeaSet to true if the building has heating loads
Booleanhave_cooLoa (from PartialBuilding)have_chiWat or have_eleCooSet to true if the building has cooling loads
Scaling
RealfacMul (from PartialBuilding)1Multiplier factor
Assumptions
BooleanallowFlowReversal (from PartialBuilding)false= true to allow flow reversal, false restricts to design direction (port_a -> port_b)

Connectors

TypeNameDefaultDescription
Buildings.BoundaryConditions.WeatherData.BusweaBus (from PartialBuilding)Weather data bus
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aHeaWat]ports_aHeaWat (from PartialBuilding)Heating water inlet ports
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bHeaWat]ports_bHeaWat (from PartialBuilding)Heating water outlet ports
Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aChiWat]ports_aChiWat (from PartialBuilding)Chilled water inlet ports
Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bChiWat]ports_bChiWat (from PartialBuilding)Chilled water outlet ports
Modelica.Blocks.Interfaces.RealOutputQHea_flow (from PartialBuilding)Total heating heat flow rate transferred to the loads (>=0)
Modelica.Blocks.Interfaces.RealOutputQCoo_flow (from PartialBuilding)Total cooling heat flow rate transferred to the loads (<=0)
Modelica.Blocks.Interfaces.RealOutputPHea (from PartialBuilding)Power drawn by decentralized heating system
Modelica.Blocks.Interfaces.RealOutputPCoo (from PartialBuilding)Power drawn by decentralized cooling system
Modelica.Blocks.Interfaces.RealOutputPFan (from PartialBuilding)Power drawn by fan motors
Modelica.Blocks.Interfaces.RealOutputPPum (from PartialBuilding)Power drawn by pump motors

Components

TypeNameDefaultDescription
Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_aHeaWat]mulHeaWatInl (from PartialBuilding)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_aChiWat]mulChiWatInl (from PartialBuilding)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_bHeaWat]mulHeaWatOut (from PartialBuilding)Mass flow rate multiplier
Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_bChiWat]mulChiWatOut (from PartialBuilding)Mass flow rate multiplier
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulQHea_flow (from PartialBuilding)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulQCoo_flow (from PartialBuilding)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPHea (from PartialBuilding)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPCoo (from PartialBuilding)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPFan (from PartialBuilding)Scaling
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametermulPPum (from PartialBuilding)Scaling
Buildings.BoundaryConditions.SolarIrradiation.DiffusePerez[2]HDifTilCalculates diffuse solar radiation on titled surface for both directions
Buildings.BoundaryConditions.SolarIrradiation.DirectTiltedSurface[2]HDirTilCalculates direct solar radiation on titled surface for both directions
Buildings.ThermalZones.ReducedOrder.SolarGain.CorrectionGDoublePanecorGDouPanCorrection factor for solar transmission
Buildings.ThermalZones.ReducedOrder.RC.OneElementthermalZoneOneElementThermal zone
Buildings.ThermalZones.ReducedOrder.EquivalentAirTemperature.VDI6007WithWindoweqAirTempComputes equivalent air temperature
Modelica.Blocks.Math.Add[2]solRadSums up solar radiation of both directions
Buildings.HeatTransfer.Sources.PrescribedTemperaturepreTemPrescribed temperature for exterior walls outdoor surface temperature
Buildings.HeatTransfer.Sources.PrescribedTemperaturepreTem1Prescribed temperature for windows outdoor surface temperature
Modelica.Thermal.HeatTransfer.Components.ConvectiontheConWinOutdoor convective heat transfer of windows
Modelica.Thermal.HeatTransfer.Components.ConvectiontheConWallOutdoor convective heat transfer of walls
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowperRadRadiative heat flow of persons
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowperConConvective heat flow of persons
Modelica.Blocks.Sources.CombiTimeTableintGaiTable with profiles for persons (radiative and convective) and machines (convective)
Modelica.Blocks.Sources.Constant[2]constSets sunblind signal to zero (open)
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowmacConvConvective heat flow of machines
Modelica.Blocks.Sources.ConstanthConWallOutdoor coefficient of heat transfer for walls
Modelica.Blocks.Sources.ConstanthConWinOutdoor coefficient of heat transfer for windows
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantminTSetMinimum temperature set point
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantmaxTSetMaximum temperature set point
Buildings.Controls.OBC.CDL.Reals.MultiSummulSum
Buildings.DHC.Loads.BaseClasses.FanCoil4PipeterUniTerminal unit
Buildings.DHC.Loads.BaseClasses.FlowDistributiondisFloHeaHeating water distribution system
Buildings.DHC.Loads.BaseClasses.FlowDistributiondisFloCooChilled water distribution system
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTSetSecHeaHeating water secondary supply temperature set point
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTSetSecChiChilled water secondary supply temperature set point

Contents

NameDescription
Medium2Load side medium

Revisions

  • September 16, 2021, by Michael Wetter:
    Removed assignment of parameter lat as this is now obtained from the weather data reader.
    This is for IBPSA, #1477.
  • February 21, 2020, by Antoine Gautier:
    First implementation.