modelMoistAir

Model with interfaces for media with moist air that will be linked to the BCVTB which models the response of the room

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

Information

This example illustrates the use of Modelica with the Building Controls Virtual Test Bed.

The model represents an air-based heating system with an ideal heater and an ideal humidifier in the supply duct. The heater and humidifier are controlled with a feedback loop that tracks the room air temperature and room air humidity. These quantities are simulated in the EnergyPlus simulation program through the Building Controls Virtual Test Bed. The component bouBCVTB models the boundary between the domain that models the air system (in Modelica) and the room response (in EnergyPlus).

This model is implemented in bcvtb\examples\dymolaEPlusXY-singleZone, where XY denotes the EnergyPlus version number.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal259.2*6/1.2/3600Nominal mass flow rate

Components

TypeNameDefaultDescription
Buildings.Fluid.FixedResistances.PressureDropdp1
Buildings.Fluid.Sources.Boundary_pTsou
Buildings.Fluid.FixedResistances.PressureDropdp2
Buildings.Utilities.IO.BCVTB.MoistAirInterfacebouBCVTB
Buildings.Fluid.Humidifiers.Humidifier_uhumHumidifier
Buildings.Fluid.HeatExchangers.HeaterCooler_uhexHeat exchanger
Buildings.Fluid.Sensors.TemperatureTwoPortTRetReturn air temperature
Buildings.Fluid.Sensors.MassFractionTwoPortXi_wMeasured air humidity
Modelica.Blocks.Sources.ConstantXSetSet point for humidity
Modelica.Blocks.Sources.ConstantTRooSetNigSet point for room air temperature
Buildings.Controls.Continuous.LimPIDPIDHeaController for heating
Buildings.Controls.Continuous.LimPIDPIDHumController for humidifier
Buildings.Utilities.IO.BCVTB.BCVTBbcvtb
Modelica.Blocks.Routing.DeMultiplex4deMultiplex2_1
Modelica.Blocks.Routing.Multiplex5mul
Buildings.Fluid.Sensors.TemperatureTwoPortTSupSupply air temperature
Buildings.Fluid.Movers.SpeedControlled_yfan
Modelica.Blocks.Sources.ConstantyFanFan control signal
Modelica.Blocks.Math.GainperToRelConverts 0...100 to 0...1
Modelica.Blocks.Math.GainperToRel1Converts 0...100 to 0...1
Buildings.Utilities.Psychrometrics.X_pTphimasFraMass fraction
Buildings.Controls.SetPoints.OccupancyScheduleoccSchOccupancy schedule
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.ConstantTRooSetDaySet point for room air temperature
Buildings.Utilities.IO.BCVTB.From_degCfrom_degC
Buildings.Utilities.IO.BCVTB.To_degCto_degC
Buildings.Utilities.IO.BCVTB.From_degCfrom_degC1

Contents

NameDescription
Medium

Revisions

  • December 22, 2014 by Michael Wetter:
    Removed Modelica.Fluid.System to address issue #311.
  • May 1, 2013, by Michael Wetter:
    Removed the medium declaration in the instance of the model Buildings.Utilities.Psychrometrics.X_pTphi as this model no longer allows to replace the medium.
  • January 13, 2012, by Michael Wetter:
    Updated fan parameters, which were still for version 0.12 of the Buildings library and hence caused a translation error with version 1.0 or higher.
  • April 5, 2011, by Michael Wetter:
    Changed sensor models from one-port sensors to two port sensors.
  • January 21, 2010 by Michael Wetter:
    Changed model to include fan instead of having flow driven by two reservoirs at different pressure.
  • September 11, 2009, by Michael Wetter:
    First implementation.