Buildings.Controls.SetPoints.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.Controls.SetPoints.

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

Package Content

NameDescription
Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset HotWaterTemperatureReset Test model for the heating curve
Buildings.Controls.SetPoints.Examples.OccupancySchedule OccupancySchedule Test model for occupancy schedule with look-ahead
Buildings.Controls.SetPoints.Examples.Table Table Test model for table that determines set points


Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset

Test model for the heating curve

Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset

Information

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

Modelica definition

model HotWaterTemperatureReset "Test model for the heating curve"
  extends Modelica.Icons.Example;
  Buildings.Controls.SetPoints.HotWaterTemperatureReset heaCur(
    m=1,
    TSup_nominal=333.15,
    TRet_nominal=313.15,
    TOut_nominal=263.15);
  Modelica.Blocks.Sources.Ramp TOut(
    height=40,
    duration=1,
    offset=263.15);
  Buildings.Controls.SetPoints.HotWaterTemperatureReset heaCur1(
    m=1,
    use_TRoo_in=true,
    TSup_nominal=333.15,
    TRet_nominal=313.15,
    TOut_nominal=263.15,
    dTOutHeaBal=15);
  Modelica.Blocks.Sources.Step TRoo(
    offset=273.15 + 20,
    startTime=0.5,
    height=-5) "Night set back from 20 to 15 deg C";
  Modelica.Blocks.Sources.Constant TOut2(k=273.15 - 10);
equation 
  connect(TOut.y, heaCur.TOut);
  connect(TOut2.y, heaCur1.TOut);
  connect(TRoo.y, heaCur1.TRoo_in);
end HotWaterTemperatureReset;

Buildings.Controls.SetPoints.Examples.OccupancySchedule Buildings.Controls.SetPoints.Examples.OccupancySchedule

Test model for occupancy schedule with look-ahead

Buildings.Controls.SetPoints.Examples.OccupancySchedule

Information

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

Modelica definition

model OccupancySchedule 
  "Test model for occupancy schedule with look-ahead"
  extends Modelica.Icons.Example;
  Buildings.Controls.SetPoints.OccupancySchedule occSch;
end OccupancySchedule;

Buildings.Controls.SetPoints.Examples.Table Buildings.Controls.SetPoints.Examples.Table

Test model for table that determines set points

Buildings.Controls.SetPoints.Examples.Table

Information

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

Modelica definition

model Table "Test model for table that determines set points"
  extends Modelica.Icons.Example;
  import Buildings;
  Buildings.Controls.SetPoints.Table tabConExt(table=[20,0; 22,0.5; 25,0.5; 26,1]);
  Modelica.Blocks.Sources.Ramp TRoo(
    duration=1,
    offset=15,
    height=15);
  Buildings.Controls.SetPoints.Table tabLinExt(constantExtrapolation=false, table=[
        20,0; 22,0.5; 25,0.5; 26,1]);
equation 
  connect(TRoo.y, tabLinExt.u);
  connect(TRoo.y, tabConExt.u);
end Table;

Automatically generated Fri May 06 14:11:12 2011.