Including Renewable Energy Sources in Matpower to solve Optimal Power Flow?

3 views (last 30 days)
Hello,
I'm modelling my own grid in matpower to calculate the optimal power flow (opf). The thing is my grid has WT, PV & batteries in them along with the conventional generators.
Does anyone know how to include these renewable energy sources in the code? Do I consider them as normal conventional generators with Pmax and Pmin or there is another way for it? And regarding the batteries? How can I include the charging and the discharging?
Thank you,

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!