smart_grid_env / tasks /peak_demand.py
Puneet Gopinath
feat: add new task configurations for balanced grid, solar management, and wind uncertainty, peak demand and full grid challenge
25a5d37 unverified
Raw
History Blame Contribute Delete
522 Bytes
"""
Task: peak_demand
Goal:
Handle large evening demand spikes by storing energy earlier
Difficulty: Hard (high demand combined with peak hours requires planning)
"""
from .utils import compute_score
TASK_NAME = "peak_demand"
BENCHMARK = "smart_grid"
def configure(env):
env.config["base_demands"] = [28.0, 38.0, 32.0]
env.config["peak_demand_multiplier"] = 1.5
env.config["solar_scale"] = 1.0
env.config["wind_variation"] = "medium"
env.battery_capacity = 90
env.battery_level = 50