OptoBlog

OptoNews tip: PAC Control scheduler

Posted by Jean Femia on Sep 9, 2015 4:27:00 PM

Scheduling subroutine from Opto 22 customerIn the last OptoNews we talked about using date and time in PAC Control. (If you haven't seen the post, be sure to check out its links to useful resources.)

Meanwhile, Opto 22 customer Philip Spigelmire was busy writing a scheduling subroutine for his HVAC system. His subroutine handles:

  • Recurring events based on day & time
  • Special events
  • Events based on sunrise and sunset

One of the most interesting things Philip's subroutine does is to store all the data for one schedule in a string, rather than storing data points in separate integers. This way all his schedules are in one string table.

As he points out, this means the string must be strictly defined and parsed by the strategy. A subroutine makes the job easier. 

Check out Philip's blog post for details of the string's construction and the subroutine. You can also download the subroutine, plus a second subroutine that gets sunrise and sunset times from an astronomical clock.  

Thanks, Philip!

See the scheduling subroutine

Topics: Energy management, Tips, optonews, PACs, PAC Project, Building management, OptoNews 2015-09-09

Written by Jean Femia

Jean Femia writes about technical subjects and has focused on automation and control systems for more than 15 years. She likes learning about technology and taking corners in her Honda S2000.
Find me on:

Subscribe to Email Updates

Recent Posts

Posts by Topic

see all