Building automation system – supervisory controls to automate plant functions