modelSimpleHouse

Illustrative example of a simple heating, ventilation and room model

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

Information

This model contains a simple model of a house with a heating system, ventilation and weather boundary conditions. It servers as a demonstration case of how the IBPSA library can be used.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.AreaA_wall100Wall area
Modelica.SIunits.AreaA_win5Window area
Realg_win0.3Solar heat gain coefficient of window
Modelica.SIunits.VolumeV_zoneA_wall*3Wall area
Modelica.SIunits.HeatFlowRateQHea_nominal700Nominal capacity of heating system
Modelica.SIunits.MassFlowRatemWat_flow_nominalQHea_nominal/10/4200Nominal mass flow rate for water loop
Modelica.SIunits.MassFlowRatemAir_flow_nominalV_zone*2*1.2/3600Nominal mass flow rate for air loop
Modelica.SIunits.PressureDifferencedpAir_nominal200Pressure drop at nominal mass flow rate for air loop
BooleanallowFlowReversalfalse= false because flow will not reverse in these circuits

Connectors

TypeNameDefaultDescription
BoundaryConditions.WeatherData.BusweaBusWeather data bus

Components

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorwalCapThermal mass of walls
MixingVolumes.MixingVolumezoneVery based zone air model
Modelica.Thermal.HeatTransfer.Components.ThermalResistorconvResThermal resistance for convective heat transfer with h=2
HeatExchangers.Radiators.RadiatorEN442_2radRadiator
Sources.Boundary_pTbouAirAir boundary with constant temperature
Sources.Boundary_pTbouWatPressure bound for water circuit
BoundaryConditions.WeatherData.ReaderTMY3weaDatWeather data reader
Modelica.Thermal.HeatTransfer.Components.ThermalResistorwallResThermal resistor for wall: 25 cm of rockwool
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureToutExterior temperature boundary condition
HeatExchangers.HeaterCooler_uheaWatHeater for water circuit
Movers.FlowControlled_m_flowpumpPump
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorsenTemZonAirZone air temperature sensor
Actuators.Dampers.VAVBoxExponentialvavDamDamper
Movers.FlowControlled_dpfanConstant head fan
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowwindowVery simple window model
HeatExchangers.ConstantEffectivenesshexRecHeat exchanger for heat recuperation
Modelica.Blocks.Logical.HysteresishysRadHysteresis controller for radiator
Modelica.Blocks.Math.BooleanToRealbooleanToReal1Boolean to real
Modelica.Blocks.Logical.Notnot1negation for enabling heating when temperatur is low
Modelica.Blocks.Sources.Constantconst_dpPressure head
Modelica.Blocks.Math.GaingaiWinGain for window solar transmittance and area as HGloHor is in W/m2
Modelica.Blocks.Math.BooleanToIntegerbooleanToIntBoolean to integer
Controls.Continuous.LimPIDconDamController for damper
Modelica.Blocks.Sources.ConstantTSetRooRoom temperature set point for air system
HeatExchangers.SensibleCooler_TcooAirCooling for supply air
Modelica.Blocks.Sources.ConstantTSupAirCooCooling setpoint for supply air

Contents

NameDescription
MediumAir
MediumWater

Revisions

  • May 8, 2017, by Michael Wetter:
    Updated heater model.
    This is for IBPSA, #763.
  • November 10, 2016, by Michael Wetter:
    Connected supply air temperature to outdoor air temperature, added cooling to supply air, changed capacity of heating system, switched heating pump off when heater is off, and added proportional controller for the air damper.
    This is for #584.
  • September 9, 2016, by Michael Wetter:
    Corrected error in window model, as the solar heat gain was not multiplied with the window area. Dymola 2017 reported this error due to mismatching units of W/m2 and W.
  • June 23, 2016, by Michael Wetter:
    Changed graphical annotation.
  • March 11, 2016, by Michael Wetter:
    Corrected wrong limits for hysAir so that uLow < uHigh. This is for #429.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • September 19, 2015, by Filip Jorissen:
    First implementation.