modelOperationMode

Validate block for selecting operation mode

Information

This example validates Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.OperationMode for a change of zone temperature and occupancy schedule.

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.OperationModeopeModSelOperation mode selection
Buildings.Controls.OBC.CDL.Reals.Sources.Rampramp1Block that generates ramp signal
Buildings.Controls.OBC.CDL.Reals.Sinsin1Block that outputs the sine of the input
Buildings.Controls.OBC.CDL.Reals.AddParameterzonTemZone temperarure
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTZonHeaSetUnoUnoccupied heating setpoint
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTZonCooSetUnoUnoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTZonHeaSetOccOccupied heating setpoint
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantTZonCooSetOccOccupied cooling setpoint
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantwarUpTimWarm-up time
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantcooDowTimCooling down time
Buildings.Controls.OBC.CDL.Integers.Sources.ConstantcloWinNo window is open
Buildings.Controls.OBC.CDL.Reals.GreaterlowThaHeaSetTrue when the zone temperature is lower than the occupied heating setpoint
Buildings.Controls.OBC.CDL.Reals.GreaterhigThaCooSetTrue when the zone temperature is higher than the occupied cooling setpoint
Buildings.Controls.OBC.CDL.Reals.GreatergreEqu2True when the zone temperature is lower than unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Conversions.BooleanToIntegerbooToIntConvert boolean to integer
Buildings.Controls.OBC.CDL.Reals.GreatergreEqu3True when the zone temperature is lower than unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Conversions.BooleanToIntegerbooToInt1Convert boolean to integer
Buildings.Controls.SetPoints.OccupancyScheduleoccSchOccupancy schedule
Buildings.Controls.OBC.CDL.Reals.Subtractdif2Calculate zone temperature difference to unoccupied heating setpoint
Buildings.Controls.OBC.CDL.Reals.Hysteresishys3Hysteresis that outputs if the zone temperature is higher than its unoccupied heating setpoint by a given limit
Buildings.Controls.OBC.CDL.Reals.Subtractdif1Calculate zone temperature difference to unoccupied cooling setpoint
Buildings.Controls.OBC.CDL.Reals.Hysteresishys1Hysteresis that outputs if the zone temperature is lower than its unoccupied cooling setpoint by a given limit
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergaiGain factor

Revisions

  • April 29, 2020, by Kun Zhang:
    Changed zone temperature profile to showcase warm-up and cool down mode.
    This is for #1893.
  • March 21, 2019, by Jianjun Hu:
    Reimplemented occupancy schedule block to avoid use block that is not in CDL. This is for issue 1389.
  • June 19, 2017, by Jianjun Hu:
    First implementation.