1. A computer readable storage medium on which is embedded one or more computer programs, said one or more computer programs implementing a method of determining optimal settings for a plurality of resource actuators configured to vary an environment condition at a location of at least one entity, said one or more computer programs comprising a set of instructions for: developing a first model that relates first dependant variables with second dependent variables; developing a second model that relates the first dependant variables with third dependent variables; formulating a constraint optimization problem having an objective function and at least one constraint using the first model and the second model, wherein the objective function computes at least a proportional quantity of a total power consumption level of the plurality of resource actuators and wherein the at least one constraint comprises a setpoint environmental condition at a location of the at least entity; and solving the constraint optimization problem, wherein the solution provides optimal values for the plurality of resource actuator settings.