Patent attributes
A system controlling equipment to serve energy loads of a building includes a cost function generator configured to obtain a cost function of decision variables representing an amount of resources consumed or produced by the equipment, an optimizer configured to perform a first optimization of the cost function subject to a first set of constraints defining first values of constraint variables to generate a first result defining first values of decision variables, a constraint modifier configured determine a cost gradient, recommend changes to constraint variables, and modify constraint variables to modified values in response to changes. The optimizer is configured to perform an optimization of the cost function subject to a second set of constraints to generate a second optimization result defining second values of the decision variables. The system includes a controller that operates equipment to consume or produce resources defined by second values of the decision variables.