Within this dissertation, we develop tools and techniques to demonstrate the feasibility of real-time optimization of a magnetohydrodynamics generator. To ease computational complexity, we work on the kinematic magnetohydrodynamic system, prescribing the fluid-flow and model the material response of the system through an updated Generalized Ohm’s law. We focus on...