An apparatus for controlling, during a given period of time, component quantities of a system affected by one or more stochastic variables and by one or more measured variables to direct the system toward a desired status, said apparatus comprising:
- controller means for controlling the component quantities of the system;
- determining means for determining the stochastic variables and the measured variables preceding the given period of time;
- memory means for storing initial data corresponding to the stochastic variables and the measured variables determined by said determining means;
- and
- computer control means including:
- estimating means for estimating projected stochastic variables for the given period of time based on the initial data in the memory means;
- calculating means for calculating projected component quantities having the highest probability of producing the desired status of the system based on the initial data in the memory means and based on the projected stochastic variables;
- and
- means, resPonsive to the calculating means, for controlling the controller means to adjust, during the given Period of time, the component quantities as a function of the projected component quantities.