An OpenEnv RL environment for Indian community microgrid operation
🏠
100 HOMES
3 days · 72 hours
The Scenario
You run a community microgrid in India during summer
Every hour for 3 days, you decide how to use the battery, diesel, and demand response — while the national grid automatically covers whatever is left over.
☀️
SOLAR
🔋
BATTERY
⛽
DIESEL
⚡
GRID
Your Resources
Choose the right energy source to match demand
Solar is free but only shines during the day. Battery stores 500 kWh — you decide when to charge or use it. Diesel is expensive (Rs 25/kWh). Grid auto-fills the gap up to 200 kW.
↓ ₹
50% cost · 25% lights · 25% green
Your Goal
Lose as little money as possible while keeping lights on
Switch between energy sources smartly. Buy grid power cheap at night, use free solar during the day, and discharge battery during expensive evening peaks. Blackouts cost Rs 150/kWh — keep them near zero.
Press Space or Enter to advance each hour · R to reset
GRIDOPS
Task 1: Normal6:00Day 1Step 0/72
Coming Up Next
🕐 Time06:00 · Day 1
🏠 Homes Will Need—
☀️ Solar Expected—
⚡ Grid Will Cover—
💰 Grid Price—
🔋 Battery Charge—
⛽ Diesel Fuel Left—
After That (±15% noisy forecast)
+1h
+2h
+3h
+4h
🏠 Need
—
—
—
—
☀️ Sun
—
—
—
—
💰 Price
—
—
—
—
Scenario
Your 3 Decisions
← Store energyUse stored →
Rs 25/kWh + Rs 100 to start
100% rebounds next hour! Rs 40/kWh penalty.
Last Hour's Energy Balance
Supply IN (kW)
☀️ Solar 0
⚡ Grid Import 0
🔋 Batt Out 0
⛽ Diesel 0
= 0 kW supply
Consumption OUT (kW)
🏠 Homes 0
⚡ Grid Export 0
🔋 Batt Charge 0
⚠️ Blackout 0
= 0 kW consumption
● BALANCED
100 Homes
✅ALL POWERED
Need 0 kW
PoweredBlackout
Ready. Select a task and click "Advance 1 Hour" to begin.