LBL logo

Buildings.Utilities.Comfort.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples for the use of models that can be found in Buildings.Utilities.Comfort.

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

Package Content

NameDescription
Buildings.Utilities.Comfort.Examples.Fanger Fanger Test of Comfort Model


Buildings.Utilities.Comfort.Examples.Fanger Buildings.Utilities.Comfort.Examples.Fanger

Test of Comfort Model

Buildings.Utilities.Comfort.Examples.Fanger

Information

This is a test of the Thermal Comfort Model.

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

Modelica definition

model Fanger "Test of Comfort Model"
  extends Modelica.Icons.Example;

  Buildings.Utilities.Comfort.Fanger theCom(
    use_vAir_in=true,
    use_M_in=true,
    use_pAir_in=true) "Thermal comfort model";
  Modelica.Blocks.Sources.Constant ICl(k=0.9) "Clothing insulation";
  Modelica.Blocks.Sources.Constant vAir(k=0.05) "Air velocity";
  Modelica.Blocks.Sources.Constant M(k=60) "Metabolic heat generated";
  Modelica.Blocks.Sources.Ramp TAir(
    duration=1,
    height=10,
    offset=273.15 + 20) "Air temperature";
  Modelica.Blocks.Sources.Constant TRad(k=273.15 + 22) "Radiation temperature";
  Modelica.Blocks.Sources.Constant pAtm(k=101325);
  Modelica.Blocks.Sources.Constant phi(k=0.5) "Relative humidity";
  Buildings.Utilities.Comfort.Fanger theComFixPar(
    use_vAir_in=false,
    use_M_in=false,
    use_ICl_in=false,
    use_pAir_in=false,
    ICl=0.9) "Thermal comfort model with fixed parameters";
equation 
  connect(pAtm.y, theCom.pAir_in);
  connect(TRad.y, theCom.TRad);
  connect(theCom.TAir, TAir.y);
  connect(theCom.vAir_in, vAir.y);
  connect(M.y, theCom.M_in);
  connect(ICl.y, theCom.ICl_in);
  connect(phi.y, theCom.phi);
  connect(TRad.y, theComFixPar.TRad);
  connect(theComFixPar.TAir, TAir.y);
  connect(phi.y, theComFixPar.phi);
end Fanger;

Automatically generated Wed Feb 22 15:24:38 2012.