Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
15437ec7
Commit
15437ec7
authored
Mar 12, 2026
by
Eric Duminil
Browse files
TODO
parent
6183ddec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/simstadtpy/results.py
View file @
15437ec7
...
...
@@ -481,6 +481,7 @@ class SolarPotentialResults(SimStadtResults):
def
kpis
(
self
)
->
list
[
KPI
]:
df
=
self
.
dataframe
return
[
#TODO: Add averages too?
KPI
(
"Annual GHI"
,
df
[
"GHI"
].
sum
()
/
1000
,
"kWh/m²"
,
precision
=
1
),
KPI
(
"Annual DHI"
,
df
[
"DHI"
].
sum
()
/
1000
,
"kWh/m²"
,
precision
=
1
),
KPI
(
"Mean temperature"
,
float
(
df
[
"Ta"
].
mean
()),
"°C"
,
precision
=
1
),
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment