Permalink
Browse files

copy battery

  • Loading branch information...
pjbull committed Jun 12, 2018
1 parent 590176c commit b2fe069f7b0a3b9d234c860fa1ce6f8e8d1245de
Showing with 2 additions and 1 deletion.
  1. +2 −1 simulate/simulate.py
@@ -1,3 +1,4 @@
from copy import deepcopy
import os
from pathlib import Path
@@ -74,7 +75,7 @@ def simulate_timestep(self, battery_controller, current_time, timestep):
proposed_state_of_charge = battery_controller.propose_state_of_charge(
self.site_id,
current_time,
self.battery,
deepcopy(self.battery),
self.actual_previous_load,
self.actual_previous_pv,
timestep[self.price_buy_columns],

0 comments on commit b2fe069

Please sign in to comment.