๐ A simple yet powerful tool to optimize energy distribution between Solar, Battery, and Gas sources while meeting renewable energy targets.
- ๐ฅ Takes total power demand as input (MW).
- ๐ Ensures 90% renewable energy (solar + battery).
- ๐ Splits renewable energy between solar (8 parts) and battery (1 part).
- ๐ข Remaining demand is met with gas energy.
- ๐ฐ Calculates total cost based on per MW prices.
- ๐ Clean, user-friendly output.
- Calculate Renewable Energy
renewable_energy = TOTAL_DEMAND ร RENEWABLE_TARGET
markdown Copy Edit
- Split into Solar & Battery
solar_energy = renewable_energy ร (8/9) battery_energy = renewable_energy ร (1/9)
markdown Copy Edit
- Gas Energy for the Rest
gas_energy = TOTAL_DEMAND โ renewable_energy
markdown Copy Edit
- Total Cost
total_cost = (solar_energy ร SOLAR_COST) + (battery_energy ร BATTERY_COST) + (gas_energy ร GAS_COST)
yaml Copy Edit
- Python 3.x installed
# Clone the repository
git clone https://github.com/your-username/energy-planning-optimization.git
# Navigate into the folder
cd energy-planning-optimization
# Run the program
python energy_planner.py
๐ก Example Output
yaml
Copy
Edit
Enter the total power demand in MW: 100
Energy Planning Optimization Results:
Total Demand: 100.00 MW
Solar Energy: 80.00 MW
Battery Energy: 10.00 MW
Gas Energy: 10.00 MW
Total Cost: โน430000.00
๐ Future Improvements
๐ฏ Make solar-to-battery ratio user-adjustable.
๐ข Allow renewable target percentage customization.
๐ Add more non-renewable sources for comparison.
๐ Visualize results with charts & graphs.
๐ **Made with โค๏ธ by Kartik Bhardwaj**
๐จโ๐ป Author
Kartik Bhardwaj
๐ผ Aspiring Generative AI Engineer | Full Stack Developer | Data Scientist