Composite dynamic and steady-state approach to stochastic optimising control of steady-state systems with output dependent constraints