Buildings.Fluid.Humidifiers.Validation

Collection of validation models

Information

This package contains validation models for the classes in Buildings.Fluid.Humidifiers.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X SprayAirWasher_X Model that demonstrates the spray air washer model, configured as steady-state
Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic SprayAirWasher_X_dynamic Model that demonstrates the spray air washer model, configured as dynamic model
Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X SteamHumidifier_X Model that demonstrates the steam humidifier model, configured as steady-state model
Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic SteamHumidifier_X_dynamic Model that demonstrates the steam humidifier model, configured as dynamic model

Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X

Model that demonstrates the spray air washer model, configured as steady-state

Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X

Information

Model that validates the use of a spray air washer configured as a steady-state model with limits on the maximum water mass flow rate that is added to the air stream.

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

Parameters

TypeNameDefaultDescription
MassFlowRatem_flow_nominal0.1Nominal mass flow rate [kg/s]
MassFlowRatemWat_flow_nominalm_flow_nominal*0.004Maximum humidification water mass flow rate [kg/s]
SprayAirWasher_Xhumhum(mWatMax_flow=mWat_flow_n...Humidifier with capacity limitation

Modelica definition

model SprayAirWasher_X "Model that demonstrates the spray air washer model, configured as steady-state" extends Modelica.Icons.Example; package Medium = Buildings.Media.Air; parameter Modelica.SIunits.MassFlowRate m_flow_nominal = 0.1 "Nominal mass flow rate"; parameter Modelica.SIunits.MassFlowRate mWat_flow_nominal = m_flow_nominal * 0.004 "Maximum humidification water mass flow rate"; Buildings.Fluid.Sources.Boundary_pT sin( redeclare package Medium = Medium, use_T_in=false, p(displayUnit="Pa"), T=293.15, nPorts=1) "Sink"; replaceable Buildings.Fluid.Humidifiers.SprayAirWasher_X hum( mWatMax_flow=mWat_flow_nominal, massDynamics=Modelica.Fluid.Types.Dynamics.SteadyState) constrainedby Buildings.Fluid.HeatExchangers.BaseClasses.PartialPrescribedOutlet ( redeclare package Medium = Medium, m_flow_nominal=m_flow_nominal, dp_nominal=6000, show_T=true) "Humidifier with capacity limitation"; Sources.MassFlowSource_T sou1( redeclare package Medium = Medium, nPorts=1, m_flow=m_flow_nominal, T=293.15) "Flow source"; Modelica.Blocks.Sources.CombiTimeTable XSet( tableOnFile=false, table=[ 0.0, 0.01; 1*180, 0.012; 2*180, 0.015; 3*180, 0.01; 4*180, 0.008; 5*180, 0.004; 6*180, 0.01], smoothness=Modelica.Blocks.Types.Smoothness.ConstantSegments, extrapolation=Modelica.Blocks.Types.Extrapolation.Periodic) "Set point for humidity"; Buildings.Fluid.Sensors.MassFractionTwoPort senHum( redeclare package Medium = Medium, m_flow_nominal=m_flow_nominal, tau=0) "Mass fraction sensor"; equation connect(sou1.ports[1], hum.port_a); connect(XSet.y[1], hum.X_w); connect(hum.port_b, senHum.port_a); connect(senHum.port_b, sin.ports[1]); end SprayAirWasher_X;

Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic

Model that demonstrates the spray air washer model, configured as dynamic model

Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic

Information

Model that validates the use of a spray air washer configured as a dynamic model with limits on the maximum water mass flow rate that is added to the air stream.

Extends from Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X (Model that demonstrates the spray air washer model, configured as steady-state).

Parameters

TypeNameDefaultDescription
MassFlowRatem_flow_nominal0.1Nominal mass flow rate [kg/s]
MassFlowRatemWat_flow_nominalm_flow_nominal*0.004Maximum humidification water mass flow rate [kg/s]

Modelica definition

model SprayAirWasher_X_dynamic "Model that demonstrates the spray air washer model, configured as dynamic model" extends Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X( hum( mWatMax_flow=mWat_flow_nominal, massDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)); end SprayAirWasher_X_dynamic;

Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X

Model that demonstrates the steam humidifier model, configured as steady-state model

Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X

Information

Model that validates the use of a spray air washer configured as a steady-state model with limits on the maximum water mass flow rate that is added to the air stream.

Extends from Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X (Model that demonstrates the spray air washer model, configured as steady-state).

Parameters

TypeNameDefaultDescription
MassFlowRatem_flow_nominal0.1Nominal mass flow rate [kg/s]
MassFlowRatemWat_flow_nominalm_flow_nominal*0.004Maximum humidification water mass flow rate [kg/s]

Modelica definition

model SteamHumidifier_X "Model that demonstrates the steam humidifier model, configured as steady-state model" extends Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X( redeclare Buildings.Fluid.Humidifiers.SteamHumidifier_X hum( mWatMax_flow=mWat_flow_nominal, massDynamics=Modelica.Fluid.Types.Dynamics.SteadyState)); end SteamHumidifier_X;

Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic

Model that demonstrates the steam humidifier model, configured as dynamic model

Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic

Information

Model that validates the use of a spray air washer configured as a dynamic model with limits on the maximum water mass flow rate that is added to the air stream.

Extends from Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X (Model that demonstrates the spray air washer model, configured as steady-state).

Parameters

TypeNameDefaultDescription
MassFlowRatem_flow_nominal0.1Nominal mass flow rate [kg/s]
MassFlowRatemWat_flow_nominalm_flow_nominal*0.004Maximum humidification water mass flow rate [kg/s]

Modelica definition

model SteamHumidifier_X_dynamic "Model that demonstrates the steam humidifier model, configured as dynamic model" extends Buildings.Fluid.Humidifiers.Validation.SprayAirWasher_X( redeclare Buildings.Fluid.Humidifiers.SteamHumidifier_X hum( mWatMax_flow=mWat_flow_nominal, massDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial)); end SteamHumidifier_X_dynamic;