To deal with the grid throttle scenario, what might be a good thing in the future would be to pass some max charge time argument.
that at least can be set to int((sim.end_time - sim.sim_time) / sim.timestep_duration_seconds)
So in the scenario where the grid is throttled during charging, then 10 minutes later begins working again, we want to ensure we dont exit too early.
See #146
for more backstory
To deal with the grid throttle scenario, what might be a good thing in the future would be to pass some max charge time argument.
that at least can be set to int((sim.end_time - sim.sim_time) / sim.timestep_duration_seconds)
So in the scenario where the grid is throttled during charging, then 10 minutes later begins working again, we want to ensure we dont exit too early.
See #146
for more backstory