Optimization-based Methods
General Approach
The general approach to implementing optimization-based controllers involves:
System modeling: Defining the mathematical representation of the energy system
Problem formulation: Specifying the objective function and constraints
Solver selection: Choosing an appropriate optimization solver
Solution implementation: Applying the optimal control actions to the system
Receding horizon implementation: Re-solving the problem at each time step with updated information
Documentation Structure
This section is organized as follows:
The Mathematical Formulation section focuses on the general understanding of the objective function and component models, independent of specific implementation details.
The Implementation section provides concrete implementations using different frameworks (Linopy and PyOptInterface).
The Build Your Own section provides instructions on how to extend or customize the optimization-based controllers for specific needs.