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 Buildings.BaseClasses.BaseIconExamples (Icon for Examples packages).

Package Content

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


Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset

Test model for the heating curve

Buildings.Controls.SetPoints.Examples.HotWaterTemperatureReset

Modelica definition

model HotWaterTemperatureReset "Test model for the heating curve"

  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

Test model for occupancy schedule with look-ahead

Buildings.Controls.SetPoints.Examples.OccupancySchedule

Modelica definition

model OccupancySchedule 
  "Test model for occupancy schedule with look-ahead"

  Buildings.Controls.SetPoints.OccupancySchedule occSch;
end OccupancySchedule;

Buildings.Controls.SetPoints.Examples.Table

Test model for table that determines set points

Buildings.Controls.SetPoints.Examples.Table

Modelica definition

model Table "Test model for table that determines set points"
  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;

HTML-documentation generated by Dymola Thu Mar 17 10:14:52 2011.