chellow 1723041465.0.0__tar.gz → 1723449410.0.0__tar.gz

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.

Files changed (476) hide show
  1. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/PKG-INFO +1 -1
  2. chellow-1723449410.0.0/VERSION +1 -0
  3. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/computer.py +22 -22
  4. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/scenario.py +68 -68
  5. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/views.py +8 -8
  6. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/models.py +40 -28
  7. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_109.py +6 -5
  8. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_247.py +146 -151
  9. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_59.py +134 -87
  10. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_sites_hh_data.html +2 -2
  11. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/em_months.html +18 -18
  12. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/scenario_docs.html +6 -6
  13. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site.html +2 -2
  14. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site_months.html +18 -18
  15. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/views.py +11 -11
  16. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_ccl.py +1 -1
  17. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_cfd.py +9 -9
  18. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_computer.py +11 -11
  19. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_duos.py +1 -1
  20. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_e_views.py +27 -27
  21. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_hh_importer.py +1 -1
  22. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_ro.py +1 -1
  23. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_scenario.py +8 -8
  24. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_tlms.py +1 -1
  25. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_tnuos.py +3 -3
  26. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_triad.py +3 -3
  27. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_109.py +1 -1
  28. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_111.py +2 -2
  29. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_169.py +1 -1
  30. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_187.py +1 -1
  31. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_219.py +1 -1
  32. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_231.py +1 -1
  33. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_241.py +1 -1
  34. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_247.py +437 -167
  35. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_29.py +1 -1
  36. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_291.py +2 -2
  37. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_33.py +5 -5
  38. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_387.py +1 -1
  39. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_59.py +366 -184
  40. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_87.py +1 -2
  41. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_bills.py +2 -2
  42. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_ecoes_comparison.py +2 -2
  43. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_general_import.py +4 -4
  44. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_models.py +9 -9
  45. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_views.py +4 -4
  46. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/utils.py +5 -3
  47. chellow-1723041465.0.0/VERSION +0 -1
  48. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/.ebextensions/chellow.config +0 -0
  49. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/.github/workflows/chellow.yml +0 -0
  50. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/.gitignore +0 -0
  51. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/README.md +0 -0
  52. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/application.py +0 -0
  53. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/bin/chellow_service_monitor.sh +0 -0
  54. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/bin/chellow_start.sh +0 -0
  55. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/__init__.py +0 -0
  56. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/api.py +0 -0
  57. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/bank_holidays.py +0 -0
  58. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/commands.py +0 -0
  59. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/dloads.py +0 -0
  60. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/__init__.py +0 -0
  61. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/aahedc.py +0 -0
  62. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_importer.py +0 -0
  63. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
  64. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -0
  65. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -0
  66. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
  67. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/csv.py +0 -0
  68. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/edf_export_xlsx.py +0 -0
  69. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/engie_edi.py +0 -0
  70. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/engie_xls.py +0 -0
  71. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
  72. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
  73. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
  74. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/haven_edi.py +0 -0
  75. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +0 -0
  76. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/mm.py +0 -0
  77. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -0
  78. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -0
  79. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/sse_edi.py +0 -0
  80. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bill_parsers/sww_xls.py +0 -0
  81. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bmarketidx.py +0 -0
  82. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/bsuos.py +0 -0
  83. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/ccl.py +0 -0
  84. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/cfd.py +0 -0
  85. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/dno_rate_parser.py +0 -0
  86. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/duos.py +0 -0
  87. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/elexon.py +0 -0
  88. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/energy_management.py +0 -0
  89. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/hh_importer.py +0 -0
  90. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
  91. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/hh_parser_df2.py +0 -0
  92. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
  93. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/laf_import.py +0 -0
  94. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/lcc.py +0 -0
  95. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/mdd_importer.py +0 -0
  96. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/rcrc.py +0 -0
  97. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/ro.py +0 -0
  98. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/system_price.py +0 -0
  99. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/tlms.py +0 -0
  100. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/tnuos.py +0 -0
  101. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/e/triad.py +0 -0
  102. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/edi_lib.py +0 -0
  103. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/bill_import.py +0 -0
  104. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/bill_parser_csv.py +0 -0
  105. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
  106. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/bill_parser_total_edi.py +0 -0
  107. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/ccl.py +0 -0
  108. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/cv.py +0 -0
  109. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/dn_rate_parser.py +0 -0
  110. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/engine.py +0 -0
  111. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/transportation.py +0 -0
  112. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/gas/views.py +0 -0
  113. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/general_import.py +0 -0
  114. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/national_grid.py +0 -0
  115. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/proxy.py +0 -0
  116. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/rate_server.py +0 -0
  117. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/__init__.py +0 -0
  118. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_111.py +0 -0
  119. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_169.py +0 -0
  120. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_181.py +0 -0
  121. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_183.py +0 -0
  122. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_187.py +0 -0
  123. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_219.py +0 -0
  124. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_231.py +0 -0
  125. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_233.py +0 -0
  126. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_241.py +0 -0
  127. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_29.py +0 -0
  128. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_291.py +0 -0
  129. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_33.py +0 -0
  130. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_387.py +0 -0
  131. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_41.py +0 -0
  132. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_429.py +0 -0
  133. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_81.py +0 -0
  134. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_87.py +0 -0
  135. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_asset_comparison.py +0 -0
  136. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_batches.py +0 -0
  137. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_bills.py +0 -0
  138. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
  139. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_csv_site_hh_data.py +0 -0
  140. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
  141. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_ecoes_comparison.py +0 -0
  142. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_g_monthly_duration.py +0 -0
  143. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_g_supplies_snapshot.py +0 -0
  144. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
  145. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
  146. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
  147. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_sscs.py +0 -0
  148. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/reports/report_supply_contacts.py +0 -0
  149. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/static/css/chellow.css +0 -0
  150. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/static/images/favicon.svg +0 -0
  151. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/static/images/favicon_test.svg +0 -0
  152. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/static/images/logo.png +0 -0
  153. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/static/js/htmx.min.js +0 -0
  154. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/403.html +0 -0
  155. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/base.html +0 -0
  156. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/bill_type.html +0 -0
  157. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/bill_types.html +0 -0
  158. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/chain.html +0 -0
  159. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
  160. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/downloads.html +0 -0
  161. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/asset_comparison.html +0 -0
  162. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/channel.html +0 -0
  163. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/channel_add.html +0 -0
  164. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/channel_edit.html +0 -0
  165. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/channel_snag.html +0 -0
  166. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
  167. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/channel_snags.html +0 -0
  168. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/comm.html +0 -0
  169. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/comms.html +0 -0
  170. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/cop.html +0 -0
  171. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/cops.html +0 -0
  172. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_bills.html +0 -0
  173. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
  174. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
  175. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
  176. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
  177. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
  178. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_auto_importer.html +0 -0
  179. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batch.html +0 -0
  180. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batch_add.html +0 -0
  181. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batch_edit.html +0 -0
  182. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batch_file.html +0 -0
  183. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batch_file_edit.html +0 -0
  184. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batch_upload_file.html +0 -0
  185. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_batches.html +0 -0
  186. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_bill.html +0 -0
  187. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_bill_add.html +0 -0
  188. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_bill_edit.html +0 -0
  189. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_bill_import.html +0 -0
  190. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
  191. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contract.html +0 -0
  192. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contract_edit.html +0 -0
  193. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
  194. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
  195. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contract_properties.html +0 -0
  196. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contract_properties_edit.html +0 -0
  197. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contracts.html +0 -0
  198. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
  199. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
  200. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
  201. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dc_rate_script_edit.html +0 -0
  202. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dno.html +0 -0
  203. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
  204. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
  205. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
  206. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dnos.html +0 -0
  207. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
  208. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
  209. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/duration_report.html +0 -0
  210. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/elexon.html +0 -0
  211. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/em_hh_data.html +0 -0
  212. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/em_site.html +0 -0
  213. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/em_totals.html +0 -0
  214. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/energisation_status.html +0 -0
  215. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
  216. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/era_edit.html +0 -0
  217. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/era_edit_form.html +0 -0
  218. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
  219. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/generator_type.html +0 -0
  220. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/generator_types.html +0 -0
  221. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/gsp_group.html +0 -0
  222. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/gsp_groups.html +0 -0
  223. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
  224. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/lafs.html +0 -0
  225. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/lcc.html +0 -0
  226. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/llfc.html +0 -0
  227. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/llfc_edit.html +0 -0
  228. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/llfcs.html +0 -0
  229. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/market_role.html +0 -0
  230. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/market_roles.html +0 -0
  231. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
  232. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
  233. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/meter_type.html +0 -0
  234. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/meter_types.html +0 -0
  235. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batch.html +0 -0
  236. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batch_add.html +0 -0
  237. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batch_edit.html +0 -0
  238. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batch_file.html +0 -0
  239. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
  240. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batch_upload_file.html +0 -0
  241. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_batches.html +0 -0
  242. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_bill.html +0 -0
  243. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_bill_add.html +0 -0
  244. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
  245. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_bill_import.html +0 -0
  246. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
  247. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_contract.html +0 -0
  248. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
  249. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
  250. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_contracts.html +0 -0
  251. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
  252. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
  253. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
  254. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc.html +0 -0
  255. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
  256. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
  257. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
  258. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
  259. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
  260. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
  261. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_participant.html +0 -0
  262. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_participants.html +0 -0
  263. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
  264. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
  265. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/mtcs.html +0 -0
  266. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
  267. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/participant.html +0 -0
  268. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/participants.html +0 -0
  269. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/parties.html +0 -0
  270. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/party.html +0 -0
  271. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/pc.html +0 -0
  272. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/pcs.html +0 -0
  273. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/read_add.html +0 -0
  274. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/read_edit.html +0 -0
  275. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/read_type.html +0 -0
  276. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/read_types.html +0 -0
  277. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/scenario.html +0 -0
  278. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/scenario_add.html +0 -0
  279. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/scenario_edit.html +0 -0
  280. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/scenarios.html +0 -0
  281. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_add_e_supply.html +0 -0
  282. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -0
  283. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_hh_data.html +0 -0
  284. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_site_snags.html +0 -0
  285. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_snag.html +0 -0
  286. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
  287. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_snags.html +0 -0
  288. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
  289. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/source.html +0 -0
  290. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/sources.html +0 -0
  291. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/ssc.html +0 -0
  292. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/sscs.html +0 -0
  293. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch.html +0 -0
  294. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch_add.html +0 -0
  295. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch_edit.html +0 -0
  296. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch_file.html +0 -0
  297. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch_file_add.html +0 -0
  298. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
  299. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batch_upload_file.html +0 -0
  300. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_batches.html +0 -0
  301. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_bill.html +0 -0
  302. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_bill_add.html +0 -0
  303. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
  304. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_bill_import.html +0 -0
  305. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_bill_imports.html +0 -0
  306. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_contract.html +0 -0
  307. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
  308. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_contract_edit.html +0 -0
  309. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
  310. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
  311. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
  312. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supplier_rate_script_edit.html +0 -0
  313. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply.html +0 -0
  314. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_edit.html +0 -0
  315. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_eras.html +0 -0
  316. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
  317. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_months.html +0 -0
  318. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_note_add.html +0 -0
  319. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
  320. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_notes.html +0 -0
  321. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_post.html +0 -0
  322. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
  323. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/tpr.html +0 -0
  324. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/e/tprs.html +0 -0
  325. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/edi_viewer.html +0 -0
  326. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/batch.html +0 -0
  327. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/batch_add.html +0 -0
  328. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/batch_edit.html +0 -0
  329. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/batches.html +0 -0
  330. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/bill.html +0 -0
  331. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/bill_add.html +0 -0
  332. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/bill_edit.html +0 -0
  333. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/bill_import.html +0 -0
  334. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/bill_imports.html +0 -0
  335. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/dn.html +0 -0
  336. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/dns.html +0 -0
  337. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/era_edit.html +0 -0
  338. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/exit_zone.html +0 -0
  339. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
  340. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_contract.html +0 -0
  341. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
  342. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
  343. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_contracts.html +0 -0
  344. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
  345. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
  346. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
  347. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/ldz.html +0 -0
  348. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/read_add.html +0 -0
  349. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/read_edit.html +0 -0
  350. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/read_type.html +0 -0
  351. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/read_types.html +0 -0
  352. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
  353. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/reading_frequency.html +0 -0
  354. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/reports.html +0 -0
  355. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_contract.html +0 -0
  356. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
  357. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
  358. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_contracts.html +0 -0
  359. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
  360. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
  361. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
  362. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supplies.html +0 -0
  363. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supply.html +0 -0
  364. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supply_edit.html +0 -0
  365. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supply_note_add.html +0 -0
  366. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
  367. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/supply_notes.html +0 -0
  368. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/unit.html +0 -0
  369. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/g/units.html +0 -0
  370. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/general_import.html +0 -0
  371. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/general_imports.html +0 -0
  372. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/home.html +0 -0
  373. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/input_date.html +0 -0
  374. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/local_report.html +0 -0
  375. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/local_reports.html +0 -0
  376. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/macros.html +0 -0
  377. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/national_grid.html +0 -0
  378. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
  379. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_contract.html +0 -0
  380. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
  381. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_contracts.html +0 -0
  382. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_rate_script.html +0 -0
  383. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
  384. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
  385. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/object_summary.html +0 -0
  386. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/rate_server.html +0 -0
  387. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run.html +0 -0
  388. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
  389. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run_bill_check.html +0 -0
  390. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run_ecoes_comparison.html +0 -0
  391. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run_row.html +0 -0
  392. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run_row_bill_check.html +0 -0
  393. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
  394. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/report_runs.html +0 -0
  395. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site_add.html +0 -0
  396. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site_edit.html +0 -0
  397. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site_gen_graph.html +0 -0
  398. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site_hh_data.html +0 -0
  399. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/site_used_graph.html +0 -0
  400. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/sites.html +0 -0
  401. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/supplies.html +0 -0
  402. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/system.html +0 -0
  403. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/tester.html +0 -0
  404. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/user.html +0 -0
  405. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/user_roles.html +0 -0
  406. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/templates/users.html +0 -0
  407. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/testing.py +0 -0
  408. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/chellow/utils.py +0 -0
  409. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/gpl.txt +0 -0
  410. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/pyproject.toml +0 -0
  411. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/requirements.txt +0 -0
  412. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/setup.cfg +0 -0
  413. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/systemd/chellow.service +0 -0
  414. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/systemd/chellow_upgrader.service +0 -0
  415. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/systemd/chellow_upgrader.timer +0 -0
  416. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/conftest.py +0 -0
  417. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +0 -0
  418. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +0 -0
  419. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_csv.py +0 -0
  420. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_edf_export_xlsx.py +0 -0
  421. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +0 -0
  422. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -0
  423. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
  424. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
  425. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -0
  426. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +0 -0
  427. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_mm.py +0 -0
  428. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills.nonsettlement.dc.stark.xlsx +0 -0
  429. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills_old.nonsettlement.dc.stark.xlsx +0 -0
  430. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -0
  431. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/bills.settlement.dc.stark.xlsx +0 -0
  432. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/test_bill_parser_settlement_dc_stark_xlsx.py +0 -0
  433. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -0
  434. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -0
  435. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/system_price/prices.xls +0 -0
  436. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/system_price/test_system_price.py +0 -0
  437. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_aahedc.py +0 -0
  438. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_bill_importer.py +0 -0
  439. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_bsuos.py +0 -0
  440. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_dno_rate_parser.py +0 -0
  441. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_hh_parser_df2.py +0 -0
  442. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_laf_importer.py +0 -0
  443. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_mdd_importer.py +0 -0
  444. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/e/test_rcrc_importer.py +0 -0
  445. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
  446. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/bill_parsers/test_g_bill_parser_total_edi.py +0 -0
  447. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/test_dn_rate_parser.py +0 -0
  448. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/test_engine.py +0 -0
  449. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/test_g_cv.py +0 -0
  450. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/test_gas_views.py +0 -0
  451. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/gas/test_transportation.py +0 -0
  452. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_g_monthly_duration.py +0 -0
  453. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_g_supplies_snapshot.py +0 -0
  454. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
  455. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_g_virtual_bills.py +0 -0
  456. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
  457. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_181.py +0 -0
  458. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_183.py +0 -0
  459. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_233.py +0 -0
  460. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_41.py +0 -0
  461. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_429.py +0 -0
  462. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_81.py +0 -0
  463. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_asset_comparison.py +0 -0
  464. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_batches.py +0 -0
  465. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_csv_llfcs.py +0 -0
  466. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_csv_site_hh_data.py +0 -0
  467. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_csv_site_snags.py +0 -0
  468. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_dno_vl_parser.py +0 -0
  469. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_sscs.py +0 -0
  470. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/reports/test_report_supply_contacts.py +0 -0
  471. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_chellow.py +0 -0
  472. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_dloads.py +0 -0
  473. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_edi_viewer.py +0 -0
  474. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_rate_server.py +0 -0
  475. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_testing.py +0 -0
  476. {chellow-1723041465.0.0 → chellow-1723449410.0.0}/test/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1723041465.0.0
3
+ Version: 1723449410.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)
@@ -0,0 +1 @@
1
+ __version__ = "1723449410.0.0"
@@ -63,8 +63,8 @@ cons_types = ["construction", "commissioning", "operation"]
63
63
  lec_cats = list(
64
64
  (f"{v}-kwh", f"hist-{v}-kwh")
65
65
  for v in [
66
- "import-net",
67
- "export-net",
66
+ "import-grid",
67
+ "export-grid",
68
68
  "import-gen",
69
69
  "export-gen",
70
70
  "import-3rd-party",
@@ -265,9 +265,9 @@ def displaced_era(
265
265
  era = site_era.era
266
266
  source_code = era.supply.source.code
267
267
  if site_era.is_physical and (
268
- source_code in ("gen", "gen-net")
268
+ source_code in ("gen", "gen-grid")
269
269
  or (
270
- source_code == "net"
270
+ source_code == "grid"
271
271
  and sess.query(Channel)
272
272
  .filter(
273
273
  Channel.era == era,
@@ -280,7 +280,7 @@ def displaced_era(
280
280
  ):
281
281
  has_displaced = True
282
282
 
283
- if source_code in ("net", "gen-net") and era.imp_mpan_core is not None:
283
+ if source_code in ("grid", "gen-grid") and era.imp_mpan_core is not None:
284
284
  eras[
285
285
  "_".join(
286
286
  (
@@ -482,8 +482,8 @@ def datum_range(sess, caches, years_back, start_date, finish_date):
482
482
  "exp-msp-kvar": 0,
483
483
  "msp-kw": 0,
484
484
  "msp-kwh": 0,
485
- "hist-import-net-kvarh": 0,
486
- "hist-export-net-kvarh": 0,
485
+ "hist-import-grid-kvarh": 0,
486
+ "hist-export-grid-kvarh": 0,
487
487
  "anti-msp-kwh": 0,
488
488
  "anti-msp-kw": 0,
489
489
  "imp-msp-kvarh": 0,
@@ -740,8 +740,8 @@ class SiteSource(DataSource):
740
740
  hist_map = {}
741
741
 
742
742
  for hist_date in hh_range(self.caches, self.history_start, self.history_finish):
743
- export_net_kwh = 0
744
- import_net_kwh = 0
743
+ export_grid_kwh = 0
744
+ import_grid_kwh = 0
745
745
  export_gen_kwh = 0
746
746
  import_gen_kwh = 0
747
747
  import_3rd_party_kwh = 0
@@ -749,16 +749,16 @@ class SiteSource(DataSource):
749
749
  export_3rd_party_kwh = 0
750
750
  while hh_start_date == hist_date:
751
751
  statuses.add(status)
752
- if not imp_related and source_code in ("net", "gen-net"):
753
- export_net_kwh += hh_value
754
- if imp_related and source_code in ("net", "gen-net"):
755
- import_net_kwh += hh_value
752
+ if not imp_related and source_code in ("grid", "gen-grid"):
753
+ export_grid_kwh += hh_value
754
+ if imp_related and source_code in ("grid", "gen-grid"):
755
+ import_grid_kwh += hh_value
756
756
  if (imp_related and source_code == "gen") or (
757
- not imp_related and source_code == "gen-net"
757
+ not imp_related and source_code == "gen-grid"
758
758
  ):
759
759
  import_gen_kwh += hh_value
760
760
  if (not imp_related and source_code == "gen") or (
761
- imp_related and source_code == "gen-net"
761
+ imp_related and source_code == "gen-grid"
762
762
  ):
763
763
  export_gen_kwh += hh_value
764
764
  if (imp_related and source_code == "3rd-party") or (
@@ -781,8 +781,8 @@ class SiteSource(DataSource):
781
781
 
782
782
  hh_values = {
783
783
  "status": status,
784
- "hist-import-net-kwh": import_net_kwh,
785
- "hist-export-net-kwh": export_net_kwh,
784
+ "hist-import-grid-kwh": import_grid_kwh,
785
+ "hist-export-grid-kwh": export_grid_kwh,
786
786
  "hist-import-gen-kwh": import_gen_kwh,
787
787
  "hist-export-gen-kwh": export_gen_kwh,
788
788
  "hist-import-3rd-party-kwh": import_3rd_party_kwh,
@@ -794,7 +794,7 @@ class SiteSource(DataSource):
794
794
  hh_values["hist-kwh"] = hh_values["hist-used-gen-msp-kwh"] = (
795
795
  hh_values["hist-import-gen-kwh"]
796
796
  - hh_values["hist-export-gen-kwh"]
797
- - hh_values["hist-export-net-kwh"]
797
+ - hh_values["hist-export-grid-kwh"]
798
798
  )
799
799
 
800
800
  hh_values["msp-kwh"] = hh_values["used-gen-msp-kwh"] = hh_values[
@@ -805,12 +805,12 @@ class SiteSource(DataSource):
805
805
 
806
806
  hh_values["hist-used-kwh"] = (
807
807
  hh_values["hist-used-gen-msp-kwh"]
808
- + hh_values["hist-import-net-kwh"]
808
+ + hh_values["hist-import-grid-kwh"]
809
809
  + hh_values["hist-used-3rd-party-kwh"]
810
810
  )
811
811
 
812
812
  hh_values["used-kwh"] = hh_values["hist-used-kwh"]
813
- hh_values["import-net-kwh"] = hh_values["hist-import-net-kwh"]
813
+ hh_values["import-grid-kwh"] = hh_values["hist-import-grid-kwh"]
814
814
  hh_values["msp-kw"] = hh_values["used-gen-msp-kw"] = (
815
815
  hh_values["used-gen-msp-kwh"] * 2
816
816
  )
@@ -835,8 +835,8 @@ class SiteSource(DataSource):
835
835
  for hh in self.hh_data:
836
836
  try:
837
837
  delt_hh = self.deltas["hhs"][hh["start-date"]]
838
- hh["import-net-kwh"] = delt_hh["import-net-kwh"]
839
- hh["export-net-kwh"] = delt_hh["export-net-kwh"]
838
+ hh["import-grid-kwh"] = delt_hh["import-grid-kwh"]
839
+ hh["export-grid-kwh"] = delt_hh["export-grid-kwh"]
840
840
  hh["import-gen-kwh"] = delt_hh["import-gen-kwh"]
841
841
  hh["msp-kwh"] = delt_hh["msp-kwh"]
842
842
  hh["used-kwh"] = delt_hh["used-kwh"]
@@ -89,14 +89,14 @@ def make_site_deltas(
89
89
  delts = site_deltas["supply_deltas"] = {}
90
90
  for is_import in (True, False):
91
91
  delts[is_import] = {}
92
- for src in ("gen", "net", "gen-net", "3rd-party", "3rd-party-reverse", "sub"):
92
+ for src in ("gen", "grid", "gen-grid", "3rd-party", "3rd-party-reverse", "sub"):
93
93
  delts[is_import][src] = {"site": {}}
94
94
 
95
95
  earliest_delta = to_utc(Datetime.max)
96
96
  latest_delta = to_utc(Datetime.min)
97
97
 
98
98
  found_hh = False
99
- for typ in ("used", "generated", "parasitic", "gen_net"):
99
+ for typ in ("used", "generated", "parasitic", "gen_grid"):
100
100
  hh_str = site_scenario_hh.get(typ, "")
101
101
  hh_data = site_scenario_hh[typ] = {}
102
102
  for row in csv.reader(StringIO(hh_str)):
@@ -129,7 +129,7 @@ def make_site_deltas(
129
129
  scenario_used = site_scenario_hh["used"]
130
130
  scenario_generated = site_scenario_hh["generated"]
131
131
  scenario_parasitic = site_scenario_hh["parasitic"]
132
- scenario_gen_net = site_scenario_hh["gen_net"]
132
+ scenario_gen_grid = site_scenario_hh["gen_grid"]
133
133
 
134
134
  earliest_delta_ct = to_ct(earliest_delta)
135
135
  for month_start, month_finish in c_months_u(
@@ -170,7 +170,7 @@ def make_site_deltas(
170
170
 
171
171
  for hh in ss.hh_data:
172
172
  sdatum = hh_map[hh["start-date"]]
173
- sdatum["import-net-kwh"] += hh["msp-kwh"]
173
+ sdatum["import-grid-kwh"] += hh["msp-kwh"]
174
174
  sdatum["used-kwh"] += hh["msp-kwh"]
175
175
 
176
176
  for era in (
@@ -185,7 +185,7 @@ def make_site_deltas(
185
185
  Era.imp_mpan_core != null(),
186
186
  Era.start_date <= chunk_finish,
187
187
  or_(Era.finish_date == null(), Era.finish_date >= chunk_start),
188
- Source.code == "gen-net",
188
+ Source.code == "gen-grid",
189
189
  )
190
190
  ):
191
191
  if supply_ids is not None and era.supply_id not in supply_ids:
@@ -201,65 +201,65 @@ def make_site_deltas(
201
201
  for hh in ss.hh_data:
202
202
  sdatum = hh_map[hh["start-date"]]
203
203
  try:
204
- sdatum["gen-net-kwh"] += hh["msp-kwh"]
204
+ sdatum["gen-grid-kwh"] += hh["msp-kwh"]
205
205
  except KeyError:
206
- sdatum["gen-net-kwh"] = hh["msp-kwh"]
206
+ sdatum["gen-grid-kwh"] = hh["msp-kwh"]
207
207
 
208
208
  for hh_start, hh in hh_map.items():
209
209
  if hh_start in scenario_used:
210
210
  used_delt = scenario_used[hh_start] - hh["used-kwh"]
211
- imp_net_delt = 0
212
- exp_net_delt = 0
211
+ imp_grid_delt = 0
212
+ exp_grid_delt = 0
213
213
 
214
214
  if used_delt < 0:
215
- diff = hh["import-net-kwh"] + used_delt
215
+ diff = hh["import-grid-kwh"] + used_delt
216
216
  if diff < 0:
217
- imp_net_delt -= hh["import-net-kwh"]
218
- exp_net_delt -= diff
217
+ imp_grid_delt -= hh["import-grid-kwh"]
218
+ exp_grid_delt -= diff
219
219
  else:
220
- imp_net_delt += used_delt
220
+ imp_grid_delt += used_delt
221
221
  else:
222
- diff = hh["export-net-kwh"] - used_delt
222
+ diff = hh["export-grid-kwh"] - used_delt
223
223
  if diff < 0:
224
- exp_net_delt -= hh["export-net-kwh"]
225
- imp_net_delt -= diff
224
+ exp_grid_delt -= hh["export-grid-kwh"]
225
+ imp_grid_delt -= diff
226
226
  else:
227
- exp_net_delt -= used_delt
227
+ exp_grid_delt -= used_delt
228
228
 
229
229
  try:
230
- delts[False]["net"]["site"][hh_start] += exp_net_delt
230
+ delts[False]["grid"]["site"][hh_start] += exp_grid_delt
231
231
  except KeyError:
232
- delts[False]["net"]["site"][hh_start] = exp_net_delt
232
+ delts[False]["grid"]["site"][hh_start] = exp_grid_delt
233
233
 
234
234
  try:
235
- delts[True]["net"]["site"][hh_start] += imp_net_delt
235
+ delts[True]["grid"]["site"][hh_start] += imp_grid_delt
236
236
  except KeyError:
237
- delts[True]["net"]["site"][hh_start] = imp_net_delt
237
+ delts[True]["grid"]["site"][hh_start] = imp_grid_delt
238
238
 
239
- hh["import-net-kwh"] += imp_net_delt
240
- hh["export-net-kwh"] += exp_net_delt
239
+ hh["import-grid-kwh"] += imp_grid_delt
240
+ hh["export-grid-kwh"] += exp_grid_delt
241
241
  hh["used-kwh"] += used_delt
242
- hh["msp-kwh"] -= exp_net_delt
242
+ hh["msp-kwh"] -= exp_grid_delt
243
243
 
244
244
  if hh_start in scenario_generated:
245
245
  imp_gen_delt = scenario_generated[hh_start] - hh["import-gen-kwh"]
246
- imp_net_delt = 0
247
- exp_net_delt = 0
246
+ imp_grid_delt = 0
247
+ exp_grid_delt = 0
248
248
 
249
249
  if imp_gen_delt < 0:
250
- diff = hh["export-net-kwh"] + imp_gen_delt
250
+ diff = hh["export-grid-kwh"] + imp_gen_delt
251
251
  if diff < 0:
252
- exp_net_delt -= hh["export-net-kwh"]
253
- imp_net_delt -= diff
252
+ exp_grid_delt -= hh["export-grid-kwh"]
253
+ imp_grid_delt -= diff
254
254
  else:
255
- exp_net_delt += imp_gen_delt
255
+ exp_grid_delt += imp_gen_delt
256
256
  else:
257
- diff = hh["import-net-kwh"] - imp_gen_delt
257
+ diff = hh["import-grid-kwh"] - imp_gen_delt
258
258
  if diff < 0:
259
- imp_net_delt -= hh["import-net-kwh"]
260
- exp_net_delt -= diff
259
+ imp_grid_delt -= hh["import-grid-kwh"]
260
+ exp_grid_delt -= diff
261
261
  else:
262
- imp_net_delt -= imp_gen_delt
262
+ imp_grid_delt -= imp_gen_delt
263
263
 
264
264
  try:
265
265
  delts[True]["gen"]["site"][hh_start] += imp_gen_delt
@@ -267,39 +267,39 @@ def make_site_deltas(
267
267
  delts[True]["gen"]["site"][hh_start] = imp_gen_delt
268
268
 
269
269
  try:
270
- delts[False]["net"]["site"][hh_start] += exp_net_delt
270
+ delts[False]["grid"]["site"][hh_start] += exp_grid_delt
271
271
  except KeyError:
272
- delts[False]["net"]["site"][hh_start] = exp_net_delt
272
+ delts[False]["grid"]["site"][hh_start] = exp_grid_delt
273
273
 
274
274
  try:
275
- delts[True]["net"]["site"][hh_start] += imp_net_delt
275
+ delts[True]["grid"]["site"][hh_start] += imp_grid_delt
276
276
  except KeyError:
277
- delts[True]["net"]["site"][hh_start] = imp_net_delt
277
+ delts[True]["grid"]["site"][hh_start] = imp_grid_delt
278
278
 
279
- hh["import-net-kwh"] += imp_net_delt
280
- hh["export-net-kwh"] += exp_net_delt
279
+ hh["import-grid-kwh"] += imp_grid_delt
280
+ hh["export-grid-kwh"] += exp_grid_delt
281
281
  hh["import-gen-kwh"] += imp_gen_delt
282
- hh["msp-kwh"] -= imp_net_delt
282
+ hh["msp-kwh"] -= imp_grid_delt
283
283
 
284
284
  if hh_start in scenario_parasitic:
285
285
  exp_gen_delt = scenario_parasitic[hh_start] - hh["export-gen-kwh"]
286
- imp_net_delt = 0
287
- exp_net_delt = 0
286
+ imp_grid_delt = 0
287
+ exp_grid_delt = 0
288
288
 
289
289
  if exp_gen_delt < 0:
290
- diff = hh["import-net-kwh"] + exp_gen_delt
290
+ diff = hh["import-grid-kwh"] + exp_gen_delt
291
291
  if diff < 0:
292
- imp_net_delt -= hh["import-net-kwh"]
293
- exp_net_delt -= diff
292
+ imp_grid_delt -= hh["import-grid-kwh"]
293
+ exp_grid_delt -= diff
294
294
  else:
295
- imp_net_delt += exp_gen_delt
295
+ imp_grid_delt += exp_gen_delt
296
296
  else:
297
- diff = hh["export-net-kwh"] - exp_gen_delt
297
+ diff = hh["export-grid-kwh"] - exp_gen_delt
298
298
  if diff < 0:
299
- exp_net_delt -= hh["export-net-kwh"]
300
- imp_net_delt -= diff
299
+ exp_grid_delt -= hh["export-grid-kwh"]
300
+ imp_grid_delt -= diff
301
301
  else:
302
- exp_net_delt -= exp_gen_delt
302
+ exp_grid_delt -= exp_gen_delt
303
303
 
304
304
  try:
305
305
  delts[False]["gen"]["site"][hh_start] += imp_gen_delt
@@ -307,34 +307,34 @@ def make_site_deltas(
307
307
  delts[False]["gen"]["site"][hh_start] = exp_gen_delt
308
308
 
309
309
  try:
310
- delts[False]["net"]["site"][hh_start] += exp_net_delt
310
+ delts[False]["grid"]["site"][hh_start] += exp_grid_delt
311
311
  except KeyError:
312
- delts[False]["net"]["site"][hh_start] = exp_net_delt
312
+ delts[False]["grid"]["site"][hh_start] = exp_grid_delt
313
313
 
314
314
  try:
315
- delts[True]["net"]["site"][hh_start] += imp_net_delt
315
+ delts[True]["grid"]["site"][hh_start] += imp_grid_delt
316
316
  except KeyError:
317
- delts[True]["net"]["site"][hh_start] = imp_net_delt
317
+ delts[True]["grid"]["site"][hh_start] = imp_grid_delt
318
318
 
319
- hh["import-net-kwh"] += imp_net_delt
320
- hh["export-net-kwh"] += exp_net_delt
319
+ hh["import-grid-kwh"] += imp_grid_delt
320
+ hh["export-grid-kwh"] += exp_grid_delt
321
321
  hh["export-gen-kwh"] += exp_gen_delt
322
- hh["msp-kwh"] -= imp_net_delt
322
+ hh["msp-kwh"] -= imp_grid_delt
323
323
 
324
- if hh_start in scenario_gen_net:
325
- gen_net_delt = scenario_gen_net[hh_start] - hh["gen-net-kwh"]
324
+ if hh_start in scenario_gen_grid:
325
+ gen_grid_delt = scenario_gen_grid[hh_start] - hh["gen-grid-kwh"]
326
326
 
327
327
  try:
328
- delts[False]["gen-net"]["site"][hh_start] += gen_net_delt
328
+ delts[False]["gen-grid"]["site"][hh_start] += gen_grid_delt
329
329
  except KeyError:
330
- delts[False]["gen-net"]["site"][hh_start] = gen_net_delt
330
+ delts[False]["gen-grid"]["site"][hh_start] = gen_grid_delt
331
331
 
332
- hh["import-gen-kwh"] += gen_net_delt
333
- hh["export-net-kwh"] += gen_net_delt
332
+ hh["import-gen-kwh"] += gen_grid_delt
333
+ hh["export-grid-kwh"] += gen_grid_delt
334
334
 
335
335
  site_deltas["hhs"][hh_start] = hh
336
336
 
337
- sup_deltas = site_deltas["supply_deltas"][False]["net"]["site"]
337
+ sup_deltas = site_deltas["supply_deltas"][False]["grid"]["site"]
338
338
  if all(v == 0 for v in sup_deltas.values()):
339
339
  sup_deltas.clear()
340
340
 
@@ -569,10 +569,10 @@ def make_calcs(
569
569
 
570
570
  calcs.append(("0", imp_ss_name, exp_ss_name, imp_ss, exp_ss))
571
571
 
572
- # Check if exp net deltas haven't been consumed
573
- sup_deltas = site_deltas["supply_deltas"][False]["net"]
572
+ # Check if exp grid deltas haven't been consumed
573
+ sup_deltas = site_deltas["supply_deltas"][False]["grid"]
574
574
  if len(list(t for t in sup_deltas["site"] if ss_start <= t <= ss_finish)) > 0:
575
- ss_name = site.code + "_extra_net_export"
575
+ ss_name = site.code + "_extra_grid_export"
576
576
  ss = SupplySource(
577
577
  sess,
578
578
  ss_start,
@@ -4168,16 +4168,16 @@ def em_hh_data_get(site_id):
4168
4168
  sup_hh[prefix + "kwh"] = datum.value
4169
4169
  sup_hh[prefix + "status"] = datum.status
4170
4170
 
4171
- if not imp_related and source_code in ("net", "gen-net"):
4171
+ if not imp_related and source_code in ("grid", "gen-grid"):
4172
4172
  hh_dict["export_kwh"] += hh_float_value
4173
- if imp_related and source_code in ("net", "gen-net"):
4173
+ if imp_related and source_code in ("grid", "gen-grid"):
4174
4174
  hh_dict["import_kwh"] += hh_float_value
4175
4175
  if (imp_related and source_code == "gen") or (
4176
- not imp_related and source_code == "gen-net"
4176
+ not imp_related and source_code == "gen-grid"
4177
4177
  ):
4178
4178
  hh_dict["generated_kwh"] += hh_float_value
4179
4179
  if (not imp_related and source_code == "gen") or (
4180
- imp_related and source_code == "gen-net"
4180
+ imp_related and source_code == "gen-grid"
4181
4181
  ):
4182
4182
  hh_dict["parasitic_kwh"] += hh_float_value
4183
4183
  if (imp_related and source_code == "3rd-party") or (
@@ -4213,9 +4213,9 @@ def site_energy_management_months_get(site_id):
4213
4213
  site = Site.get_by_id(g.sess, site_id)
4214
4214
 
4215
4215
  typs = (
4216
- "imp_net",
4216
+ "imp_grid",
4217
4217
  "imp_3p",
4218
- "exp_net",
4218
+ "exp_grid",
4219
4219
  "exp_3p",
4220
4220
  "used",
4221
4221
  "displaced",
@@ -4332,7 +4332,7 @@ def site_add_e_supply_form_get(site_id):
4332
4332
  sources = g.sess.scalars(select(Source).order_by(Source.code))
4333
4333
  source_id = req_int_none("source_id")
4334
4334
  if source_id is None:
4335
- source = Source.get_by_code(g.sess, "net")
4335
+ source = Source.get_by_code(g.sess, "grid")
4336
4336
  else:
4337
4337
  source = Source.get_by_id(g.sess, source_id)
4338
4338
  generator_types = g.sess.query(GeneratorType).order_by(GeneratorType.code)
@@ -5894,7 +5894,7 @@ def supply_edit_post(supply_id):
5894
5894
  source_id = req_int("source_id")
5895
5895
  gsp_group_id = req_int("gsp_group_id")
5896
5896
  source = Source.get_by_id(g.sess, source_id)
5897
- if source.code in ("gen", "gen-net"):
5897
+ if source.code in ("gen", "gen-grid"):
5898
5898
  generator_type_id = req_int("generator_type_id")
5899
5899
  generator_type = GeneratorType.get_by_id(g.sess, generator_type_id)
5900
5900
  else:
@@ -456,7 +456,7 @@ class Source(Base, PersistentClass):
456
456
  def get_by_code(sess, code):
457
457
  source = sess.query(Source).filter_by(code=code.strip()).first()
458
458
  if source is None:
459
- raise BadRequest("There's no source with the code '" + code + "'")
459
+ raise BadRequest(f"There's no source with the code '{code}'")
460
460
  return source
461
461
 
462
462
  __tablename__ = "source"
@@ -1780,8 +1780,8 @@ class Site(Base, PersistentClass):
1780
1780
  def hh_data(self, sess, start_date, finish_date, exclude_virtual=False):
1781
1781
  cache = {}
1782
1782
  keys = {
1783
- "net": {True: ["imp_net"], False: ["exp_net"]},
1784
- "gen-net": {True: ["imp_net", "exp_gen"], False: ["exp_net", "imp_gen"]},
1783
+ "grid": {True: ["imp_grid"], False: ["exp_grid"]},
1784
+ "gen-grid": {True: ["imp_grid", "exp_gen"], False: ["exp_grid", "imp_gen"]},
1785
1785
  "gen": {True: ["imp_gen"], False: ["exp_gen"]},
1786
1786
  "3rd-party": {True: ["imp_3p"], False: ["exp_3p"]},
1787
1787
  "3rd-party-reverse": {True: ["exp_3p"], False: ["imp_3p"]},
@@ -1829,8 +1829,8 @@ class Site(Base, PersistentClass):
1829
1829
  for hh_start in hh_range(cache, start_date, finish_date):
1830
1830
  dd = {
1831
1831
  "start_date": hh_start,
1832
- "imp_net": 0,
1833
- "exp_net": 0,
1832
+ "imp_grid": 0,
1833
+ "exp_grid": 0,
1834
1834
  "imp_gen": 0,
1835
1835
  "exp_gen": 0,
1836
1836
  "imp_3p": 0,
@@ -1844,8 +1844,8 @@ class Site(Base, PersistentClass):
1844
1844
  db_data, (None, None, None, None)
1845
1845
  )
1846
1846
 
1847
- dd["displaced"] = dd["imp_gen"] - dd["exp_gen"] - dd["exp_net"]
1848
- dd["used"] = dd["displaced"] + dd["imp_net"] + dd["imp_3p"] - dd["exp_3p"]
1847
+ dd["displaced"] = dd["imp_gen"] - dd["exp_gen"] - dd["exp_grid"]
1848
+ dd["used"] = dd["displaced"] + dd["imp_grid"] + dd["imp_3p"] - dd["exp_3p"]
1849
1849
 
1850
1850
  return data
1851
1851
 
@@ -4223,15 +4223,15 @@ class Supply(Base, PersistentClass):
4223
4223
 
4224
4224
  self.name = name
4225
4225
  self.source = source
4226
- if source.code in ("gen", "gen-net") and generator_type is None:
4226
+ if source.code in ("gen", "gen-grid") and generator_type is None:
4227
4227
  raise BadRequest(
4228
- "If the source is 'gen' or 'gen-net', there must be a generator type."
4228
+ "If the source is 'gen' or 'gen-grid', there must be a generator type."
4229
4229
  )
4230
4230
 
4231
- if source.code == "net" and dno.dno_code == "99":
4232
- raise BadRequest("A network supply can't have a DNO code of 99.")
4231
+ if source.code == "grid" and dno.dno_code == "99":
4232
+ raise BadRequest("A grid supply can't have a DNO code of 99.")
4233
4233
 
4234
- if source.code in ("gen", "gen-net"):
4234
+ if source.code in ("gen", "gen-grid"):
4235
4235
  self.generator_type = generator_type
4236
4236
  else:
4237
4237
  self.generator_type = None
@@ -4746,7 +4746,7 @@ class Report(Base, PersistentClass):
4746
4746
 
4747
4747
 
4748
4748
  class SiteGroup:
4749
- EXPORT_NET_GT_IMPORT_GEN = "Export to net > import from generators."
4749
+ EXPORT_GRID_GT_IMPORT_GEN = "Export to grid > import from generators."
4750
4750
  EXPORT_GEN_GT_IMPORT = "Export to generators > import."
4751
4751
  EXPORT_3P_GT_IMPORT = "Export to 3rd party > import."
4752
4752
 
@@ -4759,8 +4759,8 @@ class SiteGroup:
4759
4759
  def hh_data(self, sess):
4760
4760
  caches = {}
4761
4761
  keys = {
4762
- "net": {True: ["imp_net"], False: ["exp_net"]},
4763
- "gen-net": {True: ["imp_net", "exp_gen"], False: ["exp_net", "imp_gen"]},
4762
+ "grid": {True: ["imp_grid"], False: ["exp_grid"]},
4763
+ "gen-grid": {True: ["imp_grid", "exp_gen"], False: ["exp_grid", "imp_gen"]},
4764
4764
  "gen": {True: ["imp_gen"], False: ["exp_gen"]},
4765
4765
  "3rd-party": {True: ["imp_3p"], False: ["exp_3p"]},
4766
4766
  "3rd-party-reverse": {True: ["exp_3p"], False: ["imp_3p"]},
@@ -4770,8 +4770,8 @@ class SiteGroup:
4770
4770
  hh_start: {
4771
4771
  "start_date": hh_start,
4772
4772
  "status": "A",
4773
- "imp_net": 0,
4774
- "exp_net": 0,
4773
+ "imp_grid": 0,
4774
+ "exp_grid": 0,
4775
4775
  "imp_gen": 0,
4776
4776
  "exp_gen": 0,
4777
4777
  "imp_3p": 0,
@@ -4828,9 +4828,9 @@ class SiteGroup:
4828
4828
  if dd["status"] == "A":
4829
4829
  dd["status"] = "E"
4830
4830
 
4831
- dd["displaced"] = dd["imp_gen"] - dd["exp_gen"] - dd["exp_net"]
4831
+ dd["displaced"] = dd["imp_gen"] - dd["exp_gen"] - dd["exp_grid"]
4832
4832
  dd["used"] = (
4833
- dd["displaced"] + dd["imp_net"] + dd["imp_3p"] - dd["exp_3p"]
4833
+ dd["displaced"] + dd["imp_grid"] + dd["imp_3p"] - dd["exp_3p"]
4834
4834
  )
4835
4835
 
4836
4836
  return data.values()
@@ -4856,7 +4856,7 @@ class SiteGroup:
4856
4856
  for hh in self.hh_data(sess):
4857
4857
  hh_start_date = hh["start_date"]
4858
4858
 
4859
- if hh["exp_net"] > hh["imp_gen"] and hh["status"] == "A":
4859
+ if hh["exp_grid"] > hh["imp_gen"] and hh["status"] == "A":
4860
4860
  if snag_1_start is None:
4861
4861
  snag_1_start = hh_start_date
4862
4862
 
@@ -4865,7 +4865,7 @@ class SiteGroup:
4865
4865
  if resolve_1_start is not None:
4866
4866
  self.delete_snag(
4867
4867
  sess,
4868
- SiteGroup.EXPORT_NET_GT_IMPORT_GEN,
4868
+ SiteGroup.EXPORT_GROSS_GT_IMPORT_GEN,
4869
4869
  resolve_1_start,
4870
4870
  resolve_1_finish,
4871
4871
  )
@@ -4879,13 +4879,13 @@ class SiteGroup:
4879
4879
  if snag_1_start is not None:
4880
4880
  self.add_snag(
4881
4881
  sess,
4882
- SiteGroup.EXPORT_NET_GT_IMPORT_GEN,
4882
+ SiteGroup.EXPORT_GRID_GT_IMPORT_GEN,
4883
4883
  snag_1_start,
4884
4884
  snag_1_finish,
4885
4885
  )
4886
4886
  snag_1_start = None
4887
4887
 
4888
- if hh["exp_gen"] > hh["imp_net"] + hh["imp_gen"] and hh["status"] == "A":
4888
+ if hh["exp_gen"] > hh["imp_grid"] + hh["imp_gen"] and hh["status"] == "A":
4889
4889
  if snag_2_start is None:
4890
4890
  snag_2_start = hh_start_date
4891
4891
 
@@ -4915,7 +4915,7 @@ class SiteGroup:
4915
4915
  snag_2_start = None
4916
4916
 
4917
4917
  if (
4918
- hh["exp_3p"] > hh["imp_net"] + hh["imp_gen"] + hh["imp_3p"]
4918
+ hh["exp_3p"] > hh["imp_grid"] + hh["imp_gen"] + hh["imp_3p"]
4919
4919
  and hh["status"] == "A"
4920
4920
  ):
4921
4921
  if snag_3_start is None:
@@ -4948,13 +4948,13 @@ class SiteGroup:
4948
4948
 
4949
4949
  if snag_1_start is not None:
4950
4950
  self.add_snag(
4951
- sess, SiteGroup.EXPORT_NET_GT_IMPORT_GEN, snag_1_start, snag_1_finish
4951
+ sess, SiteGroup.EXPORT_GRID_GT_IMPORT_GEN, snag_1_start, snag_1_finish
4952
4952
  )
4953
4953
 
4954
4954
  if resolve_1_start is not None:
4955
4955
  self.delete_snag(
4956
4956
  sess,
4957
- SiteGroup.EXPORT_NET_GT_IMPORT_GEN,
4957
+ SiteGroup.EXPORT_GRID_GT_IMPORT_GEN,
4958
4958
  resolve_1_start,
4959
4959
  resolve_1_finish,
4960
4960
  )
@@ -6556,9 +6556,9 @@ def insert_comms(sess):
6556
6556
 
6557
6557
  def insert_sources(sess):
6558
6558
  for code, desc in (
6559
- ("net", "Public distribution system."),
6559
+ ("grid", "Public grid."),
6560
6560
  ("sub", "Sub meter"),
6561
- ("gen-net", "Generator connected directly to network."),
6561
+ ("gen-grid", "Generator connected directly to the grid."),
6562
6562
  ("gen", "Generator."),
6563
6563
  ("3rd-party", "Third party supply."),
6564
6564
  ("3rd-party-reverse", "Third party supply with import going out of the site."),
@@ -7502,6 +7502,17 @@ def db_upgrade_48_to_49(sess, root_path):
7502
7502
  sess.flush()
7503
7503
 
7504
7504
 
7505
+ def db_upgrade_49_to_50(sess, root_path):
7506
+ source = Source.get_by_code(sess, "net")
7507
+ source.code = "grid"
7508
+ source.name = "Public grid."
7509
+ sess.flush()
7510
+ source = Source.get_by_code(sess, "gen-net")
7511
+ source.code = "gen-grid"
7512
+ source.name = "Generator connected directly to the grid."
7513
+ sess.flush()
7514
+
7515
+
7505
7516
  upgrade_funcs = [None] * 18
7506
7517
  upgrade_funcs.extend(
7507
7518
  [
@@ -7536,6 +7547,7 @@ upgrade_funcs.extend(
7536
7547
  db_upgrade_46_to_47,
7537
7548
  db_upgrade_47_to_48,
7538
7549
  db_upgrade_48_to_49,
7550
+ db_upgrade_49_to_50,
7539
7551
  ]
7540
7552
  )
7541
7553