Pyomo Formulation of Electricity System Optimization Problem
摘要
Coding the energy system optimization problem has several stages including: (1) determining the input parameters and categorizing them into different groups such as global parameters, node-based parameters, and technical parameters; (2) Importing the essential libraries; (3) Defining sets and decision variables; (4) Defining the objective function and operational constraints, and (5) Using the numerical solver to find the optimal solution. These steps are introduced in this chapter a long with the utilized Python code.