chellow 1728660080.0.0__py3-none-any.whl → 1728924490.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of chellow might be problematic. Click here for more details.
chellow/e/scenario.py
CHANGED
|
@@ -83,7 +83,8 @@ def make_create_future_func_monthly(contract_name, fnames):
|
|
|
83
83
|
def make_site_deltas(
|
|
84
84
|
sess, report_context, site, scenario_hh, forecast_from, supply_ids
|
|
85
85
|
):
|
|
86
|
-
|
|
86
|
+
site_scenario_hh_str = scenario_hh.get(site.code, {})
|
|
87
|
+
site_scenario_hh = {}
|
|
87
88
|
|
|
88
89
|
site_deltas = {"hhs": {}}
|
|
89
90
|
delts = site_deltas["supply_deltas"] = {}
|
|
@@ -97,7 +98,7 @@ def make_site_deltas(
|
|
|
97
98
|
|
|
98
99
|
found_hh = False
|
|
99
100
|
for typ in ("used", "generated", "parasitic", "gen_grid"):
|
|
100
|
-
hh_str =
|
|
101
|
+
hh_str = site_scenario_hh_str.get(typ, "")
|
|
101
102
|
hh_data = site_scenario_hh[typ] = {}
|
|
102
103
|
for row in csv.reader(StringIO(hh_str)):
|
|
103
104
|
cells = [cell.strip() for cell in row]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1728924490.0.0
|
|
4
4
|
Summary: Web Application for checking UK energy bills.
|
|
5
5
|
Project-URL: Homepage, https://github.com/WessexWater/chellow
|
|
6
6
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -35,7 +35,7 @@ chellow/e/lcc.py,sha256=OkpynN8_iAdHRlu-yyU6BhRUqYYOZsUnl0HbHULYo_4,4670
|
|
|
35
35
|
chellow/e/mdd_importer.py,sha256=NugJr2JhuzkPTsEMl_5UdQuw5K2p8lVJ-hyz4MK6Hfg,35762
|
|
36
36
|
chellow/e/rcrc.py,sha256=92CA1uIotIHd1epQ_jEPdJKzXqDFV-AoJOJeRO6MEyA,4274
|
|
37
37
|
chellow/e/ro.py,sha256=dZKZv_9wXSWuwcb3jiKavoD_9ot-PZseNVeEEe0siLo,596
|
|
38
|
-
chellow/e/scenario.py,sha256=
|
|
38
|
+
chellow/e/scenario.py,sha256=86DQIJ6ZK2XYIisHw6DafGcfwo1iPWF1t9rByy2yxbg,23396
|
|
39
39
|
chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,6232
|
|
40
40
|
chellow/e/tlms.py,sha256=M33D6YpMixu2KkwSCzDRM3kThLgShg8exp63Obo75l8,8905
|
|
41
41
|
chellow/e/tnuos.py,sha256=XseYztPUsQXNKuBmystO2kzzwAG9ehCZgpGBTdgSk-A,4313
|
|
@@ -368,6 +368,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
368
368
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
369
369
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
370
370
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
371
|
-
chellow-
|
|
372
|
-
chellow-
|
|
373
|
-
chellow-
|
|
371
|
+
chellow-1728924490.0.0.dist-info/METADATA,sha256=cTOCYE3No2O3KQyknsfL2U_hBqJ-zdUbXwI8Q9koTas,12204
|
|
372
|
+
chellow-1728924490.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
373
|
+
chellow-1728924490.0.0.dist-info/RECORD,,
|
|
File without changes
|