I would like to write an openstudio measure that allows for the HVAC system of a commercial building to have an optimal start and stop time, so as to minimize energy consumption. See here for an explanation of this energy conservation measure. Is there any relatively easy way to include a learning algorithm within an OpenStudio model? Or is this something that would need to be controlled externally?