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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Strach
Bi-Level_EVA
Commits
31b1f2aa
Commit
31b1f2aa
authored
1 year ago
by
Christoph von Oy
Browse files
Options
Downloads
Patches
Plain Diff
Implemented GlobalDynamic
parent
e8be8bea
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Model_Library
+1
-1
1 addition, 1 deletion
Model_Library
Tooling
+1
-1
1 addition, 1 deletion
Tooling
runme.py
+3
-2
3 additions, 2 deletions
runme.py
with
5 additions
and
4 deletions
Model_Library
@
6f1a5b26
Compare
6e57b6db
...
6f1a5b26
Subproject commit 6
e57b6dbd8ccd5adfc5346ab689e005568c793cb
Subproject commit 6
f1a5b261ce8387fc8490abf2c7bc7c2b8b16f25
This diff is collapsed.
Click to expand it.
Tooling
@
4570fa91
Compare
3e220d97
...
4570fa91
Subproject commit
3e220d972c875cff3025a6c19f0ea29a5c9b080c
Subproject commit
4570fa9134d7b646c79f3d4417136a3f68659587
This diff is collapsed.
Click to expand it.
runme.py
+
3
−
2
View file @
31b1f2aa
...
...
@@ -24,7 +24,7 @@ THE SOFTWARE.
import
pandas
as
pd
import
Tooling.input_profile_processor.input_profile_processor
from
Tooling.dynamics.Dynamic
import
Trivi
alDynamic
from
Tooling.dynamics.Dynamic
import
Glob
alDynamic
import
Model_Library.Prosumer.main
as
main_prosumer
import
Model_Library.District.main
as
main_district
from
enum
import
Enum
...
...
@@ -36,7 +36,8 @@ class SimulationScope(Enum):
simulation_scope
=
SimulationScope
.
DISTRICT
t_start
=
pd
.
Timestamp
(
"
2019-05-10 00:00:00
"
)
# start time of simulation
dynamic
=
TrivialDynamic
([
1
for
i
in
range
(
240
)])
global_dynamic
=
GlobalDynamic
([
1
for
i
in
range
(
240
)])
dynamic
=
global_dynamic
.
root
()
input_profile_dict
=
{
'
irradiance_1
'
:
{
'
type
'
:
'
irradiance
'
,
'
file
'
:
'
input_files/data/irradiance/Lindenberg2006BSRN_Irradiance_60sec.csv
'
},
'
temperature_1
'
:
{
'
type
'
:
'
air_temperature
'
,
'
file
'
:
'
input_files/data/temperature/temperature.csv
'
},
...
...
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