ModelPredictiveControl.run#
- ModelPredictiveControl.run(max_steps=None, verbose=False)[source]#
Run the model prediction control algorithm.
Parameters#
- max_stepsint or None, default None
Maximum number of MPC steps. If None, run until the microgrid terminates.
- verbosebool, default False
Whether to display a progress bar.
Returns#
- logpd.DataFrame
Results of running the rule-based control algorithm.