Real-Time Optimization (RTO)
The steady-state economic layer above the per-tick QP: a linear program (SciPy/HiGHS) over the identified gain matrix picks the MV targets maximizing value minus cost at the plant's active constraint set — the textbook LP-on-top-of-MPC hierarchy, not a GPU/NLP solve.
The steady-state economic layer sits above DMC's per-tick QP, run far slower. Given the identified steady-state gain matrix, MV/CV bounds, and a linear cost/value vector, it picks the MV move targets that push the plant to its most valuable active constraint set — the textbook LP-on-top-of-MPC hierarchy real DMC3-class controllers use.
Show the governing equations
Reuses flowsim.analysis.planning.solve_plan directly rather than a bespoke solver — the same LP machinery a refinery's production-planning module would use.