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.
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 259.2*6/1.2/3600 | Nominal mass flow rate |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.FixedResistances.PressureDrop | dp1 | ||
| Buildings.Fluid.Sources.Boundary_pT | sou | ||
| Buildings.Fluid.FixedResistances.PressureDrop | dp2 | ||
| Buildings.Utilities.IO.BCVTB.MoistAirInterface | bouBCVTB | ||
| Buildings.Fluid.Humidifiers.Humidifier_u | hum | Humidifier | |
| Buildings.Fluid.HeatExchangers.HeaterCooler_u | hex | Heat exchanger | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | TRet | Return air temperature | |
| Buildings.Fluid.Sensors.MassFractionTwoPort | Xi_w | Measured air humidity | |
| Modelica.Blocks.Sources.Constant | XSet | Set point for humidity | |
| Modelica.Blocks.Sources.Constant | TRooSetNig | Set point for room air temperature | |
| Buildings.Controls.Continuous.LimPID | PIDHea | Controller for heating | |
| Buildings.Controls.Continuous.LimPID | PIDHum | Controller for humidifier | |
| Buildings.Utilities.IO.BCVTB.BCVTB | bcvtb | ||
| Modelica.Blocks.Routing.DeMultiplex4 | deMultiplex2_1 | ||
| Modelica.Blocks.Routing.Multiplex5 | mul | ||
| Buildings.Fluid.Sensors.TemperatureTwoPort | TSup | Supply air temperature | |
| Buildings.Fluid.Movers.SpeedControlled_y | fan | ||
| Modelica.Blocks.Sources.Constant | yFan | Fan control signal | |
| Modelica.Blocks.Math.Gain | perToRel | Converts 0...100 to 0...1 | |
| Modelica.Blocks.Math.Gain | perToRel1 | Converts 0...100 to 0...1 | |
| Buildings.Utilities.Psychrometrics.X_pTphi | masFra | Mass fraction | |
| Buildings.Controls.SetPoints.OccupancySchedule | occSch | Occupancy schedule | |
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.Blocks.Sources.Constant | TRooSetDay | Set point for room air temperature | |
| Buildings.Utilities.IO.BCVTB.From_degC | from_degC | ||
| Buildings.Utilities.IO.BCVTB.To_degC | to_degC | ||
| Buildings.Utilities.IO.BCVTB.From_degC | from_degC1 |
Contents
| Name | Description |
|---|---|
| Medium |
Revisions
-
December 22, 2014 by Michael Wetter:
RemovedModelica.Fluid.Systemto address issue #311. -
May 1, 2013, by Michael Wetter:
Removed the medium declaration in the instance of the modelBuildings.Utilities.Psychrometrics.X_pTphias 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.