Skip to content

Commit

Permalink
hackathon before syncing
Browse files Browse the repository at this point in the history
  • Loading branch information
eggimasv authored and eggimasv committed Feb 22, 2017
1 parent 11abdc1 commit a492204
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion energy_demand/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import main_functions as mf # Functions main module
import residential_model # Residential sub-module
import yaml
#import numpy as np
import numpy as np

print("Start Energy Demand Model with python version: " + str(sys.version))

Expand Down
2 changes: 0 additions & 2 deletions energy_demand/main_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,5 +845,3 @@ def own_timesteps(timesteps_own_selection):


return timestep_dates


2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Add your requirements here like:
# numpy
numpy
# scipy>=0.9
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def simulate(self, decisions, state, data):
# ...

# Run Model
pop_data = {'population': {0: 3000000, 1: 5300000, 2: 53000000}}
results = energy_demand_model(base_data, pop_data["population"])
#pop_data = {'population': {0: 3000000, 1: 5300000, 2: 53000000}}
results = energy_demand_model(base_data, data["population"])

return results

Expand Down

0 comments on commit a492204

Please sign in to comment.