Skip to content

Commit

Permalink
Initialise max_dh_shape with zero demand
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalrussell committed Dec 10, 2020
1 parent e8f2282 commit ed18238
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions energy_demand/scripts/s_ss_raw_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def initialise_out_dict_av():
read_lines = csv.reader(csv_file, delimiter=',')
_ = next(read_lines)
max_d_demand = 0 # Used for searching maximum
max_dh_shape = np.zeros((24), dtype="float")

# Count number of lines in CSV file
row_data = list(read_lines)
Expand Down

0 comments on commit ed18238

Please sign in to comment.