Buildings.Utilities.Psychrometrics

Library with psychrometric functions

Package Content

NameDescription
Buildings.Utilities.Psychrometrics.Examples Examples Collection of models that illustrate model use and test models
Buildings.Utilities.Psychrometrics.WetBulbTemperature WetBulbTemperature Model to compute the wet bulb temperature


Buildings.Utilities.Psychrometrics.WetBulbTemperature Buildings.Utilities.Psychrometrics.WetBulbTemperature

Model to compute the wet bulb temperature

Buildings.Utilities.Psychrometrics.WetBulbTemperature

Information


Given a moist are medium model, this component computes the states of the medium at its wet bulb temperature.

For a use of this model, see for example Buildings.Fluids.Sensors.WetBulbTemperature


Connectors

TypeNameDescription
RealSignalTDryBulDry bulb temperature
RealSignalpPressure
RealSignalTWetBulWet bulb temperature
RealSignalX[Medium.nX]Species concentration at dry bulb temperature
RealSignalphiRelative humidity (at dry-bulb state) in [0, 1]

Modelica definition

model WetBulbTemperature "Model to compute the wet bulb temperature" 
  extends Buildings.BaseClasses.BaseIcon;
  replaceable package Medium = 
    Modelica.Media.Interfaces.PartialMedium "Medium model";
  Medium.BaseProperties dryBul "Medium state at dry bulb temperature";
  Medium.BaseProperties wetBul(Xi(nominal=0.01*ones(Medium.nXi))) 
    "Medium state at wet bulb temperature";
  Modelica.Blocks.Interfaces.RealSignal TDryBul(redeclare type SignalType = 
        Modelica.SIunits.Temperature (start=293.15, min=150, max=373)) 
    "Dry bulb temperature";
  Modelica.Blocks.Interfaces.RealSignal p(redeclare type SignalType = 
        Modelica.SIunits.Pressure (start=101325, nominal=100000)) "Pressure";
  Modelica.Blocks.Interfaces.RealSignal TWetBul(redeclare type SignalType = 
        Modelica.SIunits.Temperature (start=283.15, min=150, max=350)) 
    "Wet bulb temperature";
  Modelica.Blocks.Interfaces.RealSignal X[Medium.nX](redeclare type SignalType 
      = 
       Medium.MassFraction) "Species concentration at dry bulb temperature";
  Modelica.Blocks.Interfaces.RealSignal phi(redeclare type SignalType = Real (
        start=0.5,
        min=0,
        max=1)) "Relative humidity (at dry-bulb state) in [0, 1]";
equation 
  dryBul.p = p;
  dryBul.T = TDryBul;
  dryBul.Xi = X[1:Medium.nXi];
  wetBul.phi = 1;
  wetBul.p = dryBul.p;
  wetBul.h = dryBul.h + (wetBul.X[Medium.Water] - dryBul.X[Medium.Water])
         * Medium.enthalpyOfLiquid(dryBul.T);
  TWetBul = wetBul.T;
  phi     = dryBul.phi;
end WetBulbTemperature;

HTML-documentation generated by Dymola Tue May 27 12:39:50 2008.