Spaces:
Sleeping
Sleeping
Commit
·
3116f03
1
Parent(s):
a8ba20a
test4
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ def total_consumption(
|
|
68 |
def solar_production(panels: int) -> float:
|
69 |
"""Monthly solar production with losses"""
|
70 |
daily_production = (
|
71 |
-
panels * SOLAR_PANEL_RATING * 5 * (1 - SYSTEM_LOSSES) / 1000
|
72 |
-
) # 5 sun hours
|
73 |
return daily_production * 30 # Monthly kWh
|
74 |
|
75 |
|
|
|
68 |
def solar_production(panels: int) -> float:
|
69 |
"""Monthly solar production with losses"""
|
70 |
daily_production = (
|
71 |
+
panels * SOLAR_PANEL_RATING * 6.5 * (1 - SYSTEM_LOSSES) / 1000
|
72 |
+
) # 6.5 sun hours
|
73 |
return daily_production * 30 # Monthly kWh
|
74 |
|
75 |
|