Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FOCUS Framework
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
FOCUS
FOCUS Framework
Commits
fec9c461
Commit
fec9c461
authored
8 months ago
by
Martin Schnitzler
Browse files
Options
Downloads
Patches
Plain Diff
Added remaining profile types for demand generators
parent
1c4e1a09
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Tooling
+1
-1
1 addition, 1 deletion
Tooling
examples/data/runme.py
+2
-2
2 additions, 2 deletions
examples/data/runme.py
with
3 additions
and
3 deletions
Tooling
@
c55ca3f9
Compare
f78c4512
...
c55ca3f9
Subproject commit
f78c45120b4c875182cd58525c74f2366ff4f400
Subproject commit
c55ca3f9952897c2741f338de80a2d31e0b5478c
This diff is collapsed.
Click to expand it.
examples/data/runme.py
+
2
−
2
View file @
fec9c461
...
@@ -31,11 +31,11 @@ import numpy as np
...
@@ -31,11 +31,11 @@ import numpy as np
import
pandas
as
pd
import
pandas
as
pd
# generate electricity demand for the year 2019 with an annual demand of 3000 kWh
# generate electricity demand for the year 2019 with an annual demand of 3000 kWh
electricity_demand
=
ElectricityDemandGenerator
().
generate
(
2019
,
3000
)
electricity_demand
=
ElectricityDemandGenerator
().
generate
(
"
H0
"
,
2019
,
3000
)
# generate heating demand for the year 2019 with an annual demand of 3000 kwh and random daily temperatures between -20°C and 30°C
# generate heating demand for the year 2019 with an annual demand of 3000 kwh and random daily temperatures between -20°C and 30°C
heating_demand
=
HeatingDemandGenerator
().
generate
(
heating_demand
=
HeatingDemandGenerator
().
generate
(
2019
,
3000
,
np
.
random
.
random
(
365
)
*
50.0
-
20.0
,
False
"
D13
"
,
2019
,
3000
,
np
.
random
.
random
(
365
)
*
50.0
-
20.0
,
False
)
)
# compute the radiation
# compute the radiation
...
...
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