Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bi-Level_EVA
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Strach
Bi-Level_EVA
Commits
5719639b
Commit
5719639b
authored
2 years ago
by
Jonas Brucksch
Browse files
Options
Downloads
Patches
Plain Diff
small config changes
parent
67923556
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
runme.py
+4
-4
4 additions, 4 deletions
runme.py
with
4 additions
and
4 deletions
runme.py
+
4
−
4
View file @
5719639b
...
@@ -16,7 +16,7 @@ class SimulationScope(Enum):
...
@@ -16,7 +16,7 @@ class SimulationScope(Enum):
simulation_scope
=
SimulationScope
.
DISTRICT
simulation_scope
=
SimulationScope
.
DISTRICT
t_start
=
pd
.
Timestamp
(
"
2019-01-01 00:00:00
"
)
# start time of simulation
t_start
=
pd
.
Timestamp
(
"
2019-01-01 00:00:00
"
)
# start time of simulation
t_horizon
=
876
0
# number of time steps to be simulated
t_horizon
=
10
0
# number of time steps to be simulated
t_step
=
1
# length of a time step in hours
t_step
=
1
# length of a time step in hours
inputpath_dataframe
=
'
input_files/models/prosumer_models/building_types_aachen_2022/running_77_2022.csv
'
inputpath_dataframe
=
'
input_files/models/prosumer_models/building_types_aachen_2022/running_77_2022.csv
'
...
@@ -33,7 +33,7 @@ input_profile_dict = {'pv_factors_aachen_1': ['pv_factors', 'input_files/data/ir
...
@@ -33,7 +33,7 @@ input_profile_dict = {'pv_factors_aachen_1': ['pv_factors', 'input_files/data/ir
'
dhw_mhf_passive
'
:
[
'
hot_water_demand
'
,
'
input_files/data/demand/domestic_hot_water/synPRO_passive_multi_party_house_dhw_2021_to_2019_kW.csv
'
],
'
dhw_mhf_passive
'
:
[
'
hot_water_demand
'
,
'
input_files/data/demand/domestic_hot_water/synPRO_passive_multi_party_house_dhw_2021_to_2019_kW.csv
'
],
'
elec_price_1
'
:
[
'
prices
'
,
'
input_files/data/prices/day-ahead/hourly_price.csv
'
]}
'
elec_price_1
'
:
[
'
prices
'
,
'
input_files/data/prices/day-ahead/hourly_price.csv
'
]}
for
i
in
building_types
.
index
[
44
:
55
]:
for
i
in
building_types
.
index
[
53
:
56
]:
if
'
A_
'
in
building_types
.
iloc
[
i
][
'
ID_Building
'
]:
if
'
A_
'
in
building_types
.
iloc
[
i
][
'
ID_Building
'
]:
pass
pass
else
:
else
:
...
@@ -102,7 +102,7 @@ print('Number of PV: ' + str(count_pv))
...
@@ -102,7 +102,7 @@ print('Number of PV: ' + str(count_pv))
print
(
'
Number of AC:
'
+
str
(
count_ac
))
print
(
'
Number of AC:
'
+
str
(
count_ac
))
consumer_count
=
0
consumer_count
=
0
for
i
in
building_types
.
index
[
44
:
55
]:
for
i
in
building_types
.
index
[
53
:
56
]:
if
'
A_
'
in
building_types
.
iloc
[
i
][
'
ID_Building
'
]:
if
'
A_
'
in
building_types
.
iloc
[
i
][
'
ID_Building
'
]:
# get the index of the reference profile for this building type
# get the index of the reference profile for this building type
...
@@ -163,7 +163,7 @@ prosumer_dict = {'SCN2_CAT1_PV11_3000_6000':{'config_path': 'input_files/models/
...
@@ -163,7 +163,7 @@ prosumer_dict = {'SCN2_CAT1_PV11_3000_6000':{'config_path': 'input_files/models/
'
dhw_dmd
'
:
'
demand_hot_water_2
'
}}}
'
dhw_dmd
'
:
'
demand_hot_water_2
'
}}}
"""
"""
prosumer_main
=
main_prosumer
.
ProsumerMain
(
prosumer_dict
,
input_profiles
,
t_horizon
,
t_step
,
new_prosumers
=
True
)
prosumer_main
=
main_prosumer
.
ProsumerMain
(
prosumer_dict
,
input_profiles
,
t_horizon
,
t_step
)
prosumer_sizing_strategy
=
'
annuity
'
prosumer_sizing_strategy
=
'
annuity
'
prosumer_main
.
optimize_sizing
(
prosumer_sizing_strategy
)
prosumer_main
.
optimize_sizing
(
prosumer_sizing_strategy
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment