Thermoeconomic approach for the analysis of control system of energy plants