This project optimizes photovoltaic (PV) placement and sizing on a power distribution network using a genetic algorithm (PyGAD) and simulates grid behavior with pandapower.
main.py: entry pointoptimizer/ga_runner.py– GA configuration, baseline and WTGA implementationscrossover.py– Custom crossover operator for PV siting and sizingfitness.py– Cost-based fitness function with stochastic scenariospower_model.py– Simplified PV generation and demand model
requirements.txt: reproducible environment
pip install -r requirements.txt
python main.py