Buildings.HeatTransfer.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.HeatTransfer.

Extends from Buildings.BaseClasses.BaseIconExamples (Icon for Examples packages).

Package Content

NameDescription
ConductorSingleLayer Test model for heat conductor


Buildings.HeatTransfer.Examples.ConductorSingleLayer

Test model for heat conductor

Buildings.HeatTransfer.Examples.ConductorSingleLayer

Modelica definition

model ConductorSingleLayer "Test model for heat conductor"
  import Buildings;
  Buildings.HeatTransfer.ConductorSingleLayer con(
    mat=Buildings.HeatTransfer.Data.Brick(),
    x=0.2,
    n=5,
    A=1);
  Modelica.Thermal.HeatTransfer.Sources.FixedTemperature TB(T=293.15);
  Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature TA;
  Modelica.Blocks.Sources.Step step(
    height=10,
    offset=293.15,
    startTime=3600);
  Modelica.Thermal.HeatTransfer.Components.Convection convection;
  Modelica.Blocks.Sources.Constant step1(k=10);
  Buildings.HeatTransfer.ConductorSingleLayer con1(
    mat=Buildings.HeatTransfer.Data.Brick(),
    A=1,
    x=0.1,
    n=3);
  Modelica.Thermal.HeatTransfer.Sources.FixedTemperature TB1(
                                                            T=293.15);
  Modelica.Thermal.HeatTransfer.Components.Convection convection1;
  Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature TA1;
  Buildings.HeatTransfer.ConductorSingleLayer con2(
    mat=Buildings.HeatTransfer.Data.Brick(),
    A=1,
    x=0.1,
    n=3);
equation 
  connect(con.port_b, TB.port);
  connect(TA.port, convection.solid);
  connect(step.y, TA.T);
  connect(convection.fluid, con.port_a);
  connect(step1.y, convection.Gc);
  connect(convection1.fluid, con1.port_a);
  connect(step1.y, convection1.Gc);
  connect(TA1.port, convection1.solid);
  connect(step.y, TA1.T);
  connect(con1.port_b, con2.port_a);
  connect(con2.port_b, TB1.port);
end ConductorSingleLayer;

HTML-documentation generated by Dymola Sat Feb 6 17:39:17 2010.