rl-institut / spice_ev

Simulation Program for Individual Charging Events of Electric Vehicles
MIT License
21 stars 9 forks source link

peak load window: only use past peaks as target #208

Open stefansc1 opened 5 months ago

stefansc1 commented 5 months ago

Implements #200

Instead of looking at future input peaks at init, only use peaks from past timesteps as target for peak load window. This way, future (fixed load) peaks can still be mitigated. However, this means early timesteps may try to reach unrealistic / unnecessary targets, wasting battery cycles.