Skip to content

Commit

Permalink
pasting out stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Eggimann committed Dec 17, 2018
1 parent 9176226 commit d365029
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions energy_demand/scripts/init_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,17 +273,17 @@ def switch_calculations(
for region in annual_tech_diff_params:
for enduse in annual_tech_diff_params[region]:
for sector in annual_tech_diff_params[region][enduse]:
print("TTTTTTTT {} {} {} ".format(region, enduse, sector))
print(annual_tech_diff_params[region][enduse][sector])
#print("TTTTTTTT {} {} {} ".format(region, enduse, sector))
#print(annual_tech_diff_params[region][enduse][sector])

for year in sim_yrs:
if annual_tech_diff_params[region][enduse][sector] != []:
_sum = 0
for tech in annual_tech_diff_params[region][enduse][sector]:
print("TECH " + str(tech))
print("TECH " + str(annual_tech_diff_params[region][enduse][sector][tech]))
#print("TECH " + str(tech))
#print("TECH " + str(annual_tech_diff_params[region][enduse][sector][tech]))
_sum += annual_tech_diff_params[region][enduse][sector][tech][year]
print(_sum)
#print(_sum)
assert round(_sum, 2) == 1

return annual_tech_diff_params
Expand Down

0 comments on commit d365029

Please sign in to comment.