top of page

1. Introduction


1.1. Introduction





2. Python Implementation


2.1. Input Parameters


2.2. Drawing the grid


2.3. Constraints on switching actions


2.4. The Power System constraints


2.5. Congestion revenue


2.6. Optimal Solution


2.7. Sensitivity analysis on the number of switching actions


2.8. Sensitivity analysis on electricity demand


2.9. Duality and binary variables




3. GAMS Implementation


3.1. The Model




4. Conclusions


4.1. Conclusions

Group 591 (1).png
Group 589_edited_edited_edited_edited_edited_edited.jpg
© 2026 Dr Spyros Giannelos
London, United Kingdom
spyros@spyrosgiannelos.com
Privacy Notice 
bottom of page