Control Algorithms#

Control algorithms built into pymgrid, as well as references for external algorithms that can be deployed

Rule Based Control#

Heuristic Algorithm that deploys modules via a priority list.

RuleBasedControl(microgrid[, priority_list, ...])

Run a rule-based (heuristic) control algorithm on a microgrid.

Model Predictive Control#

Algorithm that depends on a future forecast as well as a model of state transitions to determine optimal controls.

ModelPredictiveControl(microgrid[, solver])

Run a model predictive control algorithm on a microgrid.

Reinforcement Learning#

Algorithms that treat a microgrid as a Markov process, and train a black-box policy by repeated interactions with the environment. See here for an example of using reinforcement learning to train such an algorithm.