Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart

Example models of the block OptimalStart

Information

This package contains example models that integrate the block Buildings.Controls.OBC.Utilities.OptimalStart with a single-zone VAV system, and base classes used by the example models.

There are two sets of example models: one set uses a conventional controller Buildings.Air.Systems.SingleZone.VAV.BaseClasses.ControllerChillerDXHeatingEconomizer; the other set uses a controller based on Guideline36 Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Controller.

Both sets of examples use the same single-zone building model Buildings.ThermalZones.Detailed.Validation.BaseClasses.SingleZoneFloor and the same single-zone VAV system Buildings.Air.Systems.SingleZone.VAV.ChillerDXHeatingEconomizer.

Each set of example models validates three different seasonal conditions: spring, summer and winter.

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

Package Content

Name Description
Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring Guideline36Spring Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in spring
Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Summer Guideline36Summer Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in summer
Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Winter Guideline36Winter Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in winter
Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.BaseClasses BaseClasses Base classes of models in the package OptimalStart

Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring

Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in spring

Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring

Information

This is an example model on how to use the block Buildings.Controls.OBC.Utilities.OptimalStart that integrates with a controller based on Guideline36 Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Controller, a single-zone VAV system and a single-zone floor building. The building, HVAC system and controller model can be found in the base class Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.BaseClasses.ZoneWithAHUG36.

This example validates the optimal start results for the spring condition. The first few days are initialization period. The optimal start time is zero when the zone temperature is within the heating and cooling setpoint deadband.

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

Modelica definition

model Guideline36Spring "Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in spring" extends Modelica.Icons.Example; BoundaryConditions.WeatherData.ReaderTMY3 weaDat( computeWetBulbTemperature=false, filNam=Modelica.Utilities.Files.loadResource("modelica://Buildings/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) "Weather data"; Buildings.Controls.OBC.Utilities.OptimalStart optStaHea( computeHeating=true, computeCooling=false, uLow=0.1, thrOptOn(displayUnit="s")) "Optimal start for heating"; Buildings.Controls.SetPoints.OccupancySchedule occSch(occupancy=3600*{8,18}) "Occupancy schedule"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant TSetHeaOn(k=20 + 273.15) "Zone heating setpoint during occupied period"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant TSetCooOn(k=24 + 273.15) "Zone cooling setpoint during occupied time"; Buildings.Controls.OBC.Utilities.OptimalStart optStaCoo( computeHeating=false, computeCooling=true, uLow=0.1, thrOptOn(displayUnit="s")) "Optimal start for cooling"; Buildings.Controls.OBC.CDL.Reals.Sources.Constant con(k=0) "No optimal start"; Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.BaseClasses.ZoneWithAHUG36 zonAHUG36Opt "A single zone building with a VAV system and a Guideline36 controller"; Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.BaseClasses.ZoneWithAHUG36 zonAHUG36Con "A single zone building with a VAV system and a Guideline36 controller"; equation connect(TSetHeaOn.y, optStaHea.TSetZonHea); connect(TSetCooOn.y, optStaCoo.TSetZonCoo); connect(occSch.tNexOcc, optStaCoo.tNexOcc); connect(optStaCoo.TZon, optStaHea.TZon); connect(occSch.tNexOcc, zonAHUG36Opt.tNexOcc); connect(occSch.occupied, zonAHUG36Opt.uOcc); connect(optStaHea.tOpt, zonAHUG36Opt.warUpTim); connect(optStaCoo.tOpt, zonAHUG36Opt.cooDowTim); connect(zonAHUG36Opt.TZon, optStaHea.TZon); connect(con.y, zonAHUG36Con.warUpTim); connect(con.y, zonAHUG36Con.cooDowTim); connect(occSch.tNexOcc, zonAHUG36Con.tNexOcc); connect(occSch.occupied, zonAHUG36Con.uOcc); connect(occSch.tNexOcc, optStaHea.tNexOcc); connect(weaDat.weaBus, zonAHUG36Opt.weaBus); connect(weaDat.weaBus, zonAHUG36Con.weaBus); end Guideline36Spring;

Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Summer Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Summer

Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in summer

Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Summer

Information

This is an example model on how to use the block Buildings.Controls.OBC.Utilities.OptimalStart that integrates with a controller based on Guideline36 Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Controller, a single-zone VAV system and a single-zone floor building. The building, HVAC system and controller model can be found in the base class Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.BaseClasses.ZoneWithAHUG36.

This example validates the optimal start results for the summer condition. The first few days are initialization period. The optimal start block calculates the optimal precooling time based on the moving average temperature slope of the zone computed from previous days.

Extends from Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring (Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in spring).

Modelica definition

model Guideline36Summer "Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in summer" extends Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring; end Guideline36Summer;

Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Winter Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Winter

Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in winter

Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Winter

Information

This is an example model on how to use the block Buildings.Controls.OBC.Utilities.OptimalStart that integrates with a controller based on Guideline36 Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Controller, a single-zone VAV system and a single-zone floor building. The building, HVAC system and controller model can be found in the base class Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.BaseClasses.ZoneWithAHUG36.

This example validates the optimal start results for the winter condition. The first few days are initialization period. The optimal start block calculates the optimal preheating time based on the moving average temperature slope of the zone computed from previous days.

Extends from Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring (Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in spring).

Modelica definition

model Guideline36Winter "Example model using the block OptimalStart with a Guideline36 controller for a single-zone system in winter" extends Buildings.Obsolete.Air.Systems.SingleZone.VAV.Examples.OptimalStart.Guideline36Spring; end Guideline36Winter;