Skip to content

Commit

Permalink
Merge pull request #98 from SPF-OST/solar_ice_example
Browse files Browse the repository at this point in the history
Solar ice example
  • Loading branch information
nehadimri1991 authored Nov 18, 2024
2 parents d8507d0 + 74afbbc commit 5f76bd4
Show file tree
Hide file tree
Showing 12 changed files with 52,602 additions and 12 deletions.
4 changes: 2 additions & 2 deletions data/examples/solar_ice_hp.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

if __name__ == '__main__':
# set a time period for the optimization problem
timePeriod = pd.date_range("2018-06-01 00:00:00", "2018-12-31 23:00:00", freq="60min")
timePeriod = pd.date_range("2018-06-01 00:00:00", "2019-05-31 23:00:00", freq="60min")

# define paths for input and result files
curDir = _pl.Path(__file__).resolve().parent
Expand All @@ -25,7 +25,7 @@
numberOfBuildings = 4
optimizationType = "costs" # set as "env" for environmental optimization and "costs" for cost optimization
mergeLinkBuses = False
mergeBuses = [] # "electricity", "heatPumpInputBus"
mergeBuses = []
dispatchMode = True # Set to True to run the optimization in dispatch mode

# solver specific command line options
Expand Down
7 changes: 4 additions & 3 deletions data/examples/solar_ice_hp_2storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@

if __name__ == '__main__':
"""
This example is a modification of the solar_ice_hp example.
This example is similar to solar_ice_hp example.
Instead of a multi-layer thermal storage, this example has separate space heating and DHW storages
Some parameters of the ice storage have also been changed from the original solar_ice_hp example
Therefore, this example has only 2 temperature levels --> SH and DHW temperatures
"""
# set a time period for the optimization problem
timePeriod = pd.date_range("2018-06-01 00:00:00", "2018-12-31 23:00:00", freq="60min")
timePeriod = pd.date_range("2018-06-01 00:00:00", "2019-05-31 23:00:00", freq="60min")

# define paths for input and result files
curDir = _pl.Path(__file__).resolve().parent
Expand All @@ -30,7 +31,7 @@
numberOfBuildings = 4
optimizationType = "costs" # set as "env" for environmental optimization and "costs" for cost optimization
mergeLinkBuses = False
mergeBuses = [] # "electricity", "heatPumpInputBus"
mergeBuses = []
dispatchMode = True # Set to True to run the optimization in dispatch mode

# solver specific command line options
Expand Down
8,761 changes: 8,761 additions & 0 deletions data/excels/solar_ice_hp/demand_profiles/Building1.csv

Large diffs are not rendered by default.

8,761 changes: 8,761 additions & 0 deletions data/excels/solar_ice_hp/demand_profiles/Building2.csv

Large diffs are not rendered by default.

8,761 changes: 8,761 additions & 0 deletions data/excels/solar_ice_hp/demand_profiles/Building3.csv

Large diffs are not rendered by default.

8,761 changes: 8,761 additions & 0 deletions data/excels/solar_ice_hp/demand_profiles/Building4.csv

Large diffs are not rendered by default.

Loading

0 comments on commit 5f76bd4

Please sign in to comment.