Patent attributes
A method for controlling production of one or more refined resources by an energy provider includes predicting a demand for the refined resources by one or more consumers of the refined resources as a function of an incentive offered by the energy provider. The method further includes performing an optimization of an objective function subject to a constraint based on the predicted demand for the refined resources to determine an amount of the refined resources for the energy provider to produce and a value of the incentive at multiple times within a time period. The method also includes providing setpoints for equipment of the energy provider that cause the equipment to produce the amount of the refined resources determined by performing the optimization.