power-grid-model-io 1.2.59__tar.gz → 1.2.61__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 power-grid-model-io might be problematic. Click here for more details.

Files changed (137) hide show
  1. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/MANIFEST.in +1 -1
  2. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/PKG-INFO +3 -3
  3. power-grid-model-io-1.2.61/PYPI_VERSION +1 -0
  4. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/README.md +1 -1
  5. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/pyproject.toml +2 -2
  6. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/setup.py +1 -1
  7. power-grid-model-io-1.2.61/src/power_grid_model_io/__init__.py +3 -0
  8. power-grid-model-io-1.2.61/src/power_grid_model_io/config/__init__.py +3 -0
  9. power-grid-model-io-1.2.61/src/power_grid_model_io/config/examples/__init__.py +3 -0
  10. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/config/examples/multipliers.yaml +1 -1
  11. power-grid-model-io-1.2.61/src/power_grid_model_io/config/excel/__init__.py +3 -0
  12. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/config/excel/vision_en.yaml +1 -1
  13. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/config/excel/vision_nl.yaml +1 -1
  14. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/converters/__init__.py +1 -1
  15. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/converters/base_converter.py +30 -3
  16. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/converters/pandapower_converter.py +1 -1
  17. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/converters/pgm_json_converter.py +1 -1
  18. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/converters/tabular_converter.py +1 -1
  19. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/converters/vision_excel_converter.py +1 -1
  20. power-grid-model-io-1.2.61/src/power_grid_model_io/data_stores/__init__.py +3 -0
  21. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_stores/base_data_store.py +1 -1
  22. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_stores/csv_dir_store.py +1 -1
  23. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_stores/excel_file_store.py +1 -1
  24. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_stores/json_file_store.py +1 -1
  25. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_stores/vision_excel_file_store.py +1 -1
  26. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_types/__init__.py +1 -1
  27. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_types/_data_types.py +1 -1
  28. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/data_types/tabular_data.py +1 -1
  29. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/functions/__init__.py +1 -1
  30. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/functions/_functions.py +1 -1
  31. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/functions/phase_to_phase.py +1 -1
  32. power-grid-model-io-1.2.61/src/power_grid_model_io/mappings/__init__.py +3 -0
  33. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/mappings/field_mapping.py +1 -1
  34. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/mappings/multiplier_mapping.py +1 -1
  35. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/mappings/tabular_mapping.py +1 -1
  36. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/mappings/unit_mapping.py +1 -1
  37. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/mappings/value_mapping.py +1 -1
  38. power-grid-model-io-1.2.61/src/power_grid_model_io/utils/__init__.py +3 -0
  39. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/auto_id.py +1 -1
  40. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/dict.py +1 -1
  41. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/download.py +1 -1
  42. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/json.py +1 -1
  43. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/modules.py +1 -1
  44. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/parsing.py +1 -1
  45. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io/utils/zip.py +1 -1
  46. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io.egg-info/PKG-INFO +3 -3
  47. power-grid-model-io-1.2.61/tests/__init__.py +3 -0
  48. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pgm_asym_output_data.json +1 -1
  49. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pgm_output_data.json +1 -1
  50. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/test_utils.py +1 -1
  51. power-grid-model-io-1.2.61/tests/unit/__init__.py +3 -0
  52. power-grid-model-io-1.2.61/tests/unit/converters/__init__.py +3 -0
  53. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/converters/test_base_converter.py +16 -1
  54. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/converters/test_pandapower_converter_input.py +1 -1
  55. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/converters/test_pandapower_converter_output.py +1 -1
  56. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/converters/test_pgm_json_converter.py +1 -1
  57. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/converters/test_tabular_converter.py +1 -1
  58. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/converters/test_vision_excel_converter.py +1 -1
  59. power-grid-model-io-1.2.61/tests/unit/data_stores/__init__.py +3 -0
  60. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_stores/test_base_data_store.py +1 -1
  61. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_stores/test_csv_dir_store.py +1 -1
  62. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_stores/test_excel_file_store.py +1 -1
  63. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_stores/test_json_file_store.py +1 -1
  64. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_stores/test_vision_excel_file_store.py +1 -1
  65. power-grid-model-io-1.2.61/tests/unit/data_types/__init__.py +3 -0
  66. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_types/test_data_types.py +1 -1
  67. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/data_types/test_tabular_data.py +1 -1
  68. power-grid-model-io-1.2.61/tests/unit/functions/__init__.py +3 -0
  69. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/functions/test_functions.py +1 -1
  70. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/functions/test_phase_to_phase.py +1 -1
  71. power-grid-model-io-1.2.61/tests/unit/mappings/__init__.py +3 -0
  72. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/mappings/test_multiplier_mapping.py +1 -1
  73. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/mappings/test_tabular_mapping.py +1 -1
  74. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/mappings/test_unit_mapping.py +1 -1
  75. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/mappings/test_value_mapping.py +1 -1
  76. power-grid-model-io-1.2.61/tests/unit/utils/__init__.py +3 -0
  77. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_auto_id.py +1 -1
  78. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_dict.py +1 -1
  79. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_download.py +1 -1
  80. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_json.py +1 -1
  81. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_modules.py +1 -1
  82. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_parsing.py +1 -1
  83. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/unit/utils/test_zip.py +1 -1
  84. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/utils.py +1 -1
  85. power-grid-model-io-1.2.61/tests/validation/__init__.py +3 -0
  86. power-grid-model-io-1.2.61/tests/validation/converters/__init__.py +3 -0
  87. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/validation/converters/test_pandapower_converter_input.py +1 -1
  88. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/validation/converters/test_pandapower_converter_output.py +1 -1
  89. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/validation/converters/test_vision_excel_converter.py +1 -1
  90. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/validation/test_test_utils.py +1 -1
  91. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/validation/utils.py +1 -1
  92. power-grid-model-io-1.2.59/PYPI_VERSION +0 -1
  93. power-grid-model-io-1.2.59/src/power_grid_model_io/__init__.py +0 -3
  94. power-grid-model-io-1.2.59/src/power_grid_model_io/config/__init__.py +0 -3
  95. power-grid-model-io-1.2.59/src/power_grid_model_io/config/examples/__init__.py +0 -3
  96. power-grid-model-io-1.2.59/src/power_grid_model_io/config/excel/__init__.py +0 -3
  97. power-grid-model-io-1.2.59/src/power_grid_model_io/data_stores/__init__.py +0 -3
  98. power-grid-model-io-1.2.59/src/power_grid_model_io/mappings/__init__.py +0 -3
  99. power-grid-model-io-1.2.59/src/power_grid_model_io/utils/__init__.py +0 -3
  100. power-grid-model-io-1.2.59/tests/__init__.py +0 -3
  101. power-grid-model-io-1.2.59/tests/unit/__init__.py +0 -3
  102. power-grid-model-io-1.2.59/tests/unit/converters/__init__.py +0 -3
  103. power-grid-model-io-1.2.59/tests/unit/data_stores/__init__.py +0 -3
  104. power-grid-model-io-1.2.59/tests/unit/data_types/__init__.py +0 -3
  105. power-grid-model-io-1.2.59/tests/unit/functions/__init__.py +0 -3
  106. power-grid-model-io-1.2.59/tests/unit/mappings/__init__.py +0 -3
  107. power-grid-model-io-1.2.59/tests/unit/utils/__init__.py +0 -3
  108. power-grid-model-io-1.2.59/tests/validation/__init__.py +0 -3
  109. power-grid-model-io-1.2.59/tests/validation/converters/__init__.py +0 -3
  110. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/LICENSE +0 -0
  111. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/VERSION +0 -0
  112. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/setup.cfg +0 -0
  113. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io.egg-info/SOURCES.txt +0 -0
  114. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io.egg-info/dependency_links.txt +0 -0
  115. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io.egg-info/requires.txt +0 -0
  116. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/src/power_grid_model_io.egg-info/top_level.txt +0 -0
  117. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/config/dummy_mapping.yaml +0 -0
  118. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/config/mapping.yaml +0 -0
  119. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pgm_asym_output_data.json.license +0 -0
  120. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pgm_input_data.json +0 -0
  121. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pgm_input_data.json.license +0 -0
  122. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pgm_output_data.json.license +0 -0
  123. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/pandapower/pp_validation.py +0 -0
  124. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/pgm_input_data_en.json +0 -0
  125. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/pgm_input_data_en.json.license +0 -0
  126. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/pgm_input_data_nl.json +0 -0
  127. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/pgm_input_data_nl.json.license +0 -0
  128. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/vision_en.xlsx +0 -0
  129. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/vision_en.xlsx.license +0 -0
  130. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/vision_nl.xlsx +0 -0
  131. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/vision_nl.xlsx.license +0 -0
  132. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/vision_validation.vnf +0 -0
  133. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/vision/vision_validation.vnf.license +0 -0
  134. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/zip/foo-bar.zip +0 -0
  135. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/zip/foo-bar.zip.license +0 -0
  136. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/zip/foo.zip +0 -0
  137. {power-grid-model-io-1.2.59 → power-grid-model-io-1.2.61}/tests/data/zip/foo.zip.license +0 -0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: power-grid-model-io
3
- Version: 1.2.59
3
+ Version: 1.2.61
4
4
  Summary: Power Grid Model Input/Output
5
- Author-email: Alliander Dynamic Grid Calculation <dynamic.grid.calculation@alliander.com>
5
+ Author-email: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
6
6
  License: MPL-2.0
7
7
  Project-URL: Home-page, https://lfenergy.org/projects/power-grid-model/
8
8
  Project-URL: GitHub, https://github.com/PowerGridModel/power-grid-model-io
@@ -47,7 +47,7 @@ Requires-Dist: sphinx-hoverxref; extra == "doc"
47
47
  Requires-Dist: numpydoc; extra == "doc"
48
48
 
49
49
  <!--
50
- SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
50
+ SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
51
51
 
52
52
  SPDX-License-Identifier: MPL-2.0
53
53
  -->
@@ -0,0 +1 @@
1
+ 1.2.61
@@ -1,5 +1,5 @@
1
1
  <!--
2
- SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
+ SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
3
3
 
4
4
  SPDX-License-Identifier: MPL-2.0
5
5
  -->
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
11
11
 
12
12
  [project]
13
13
  name = "power-grid-model-io"
14
- authors = [{name = "Alliander Dynamic Grid Calculation", email = "dynamic.grid.calculation@alliander.com"}]
14
+ authors = [{name = "Contributors to the Power Grid Model project", email = "powergridmodel@lfenergy.org"}]
15
15
  description = "Power Grid Model Input/Output"
16
16
  readme = "README.md"
17
17
  keywords = ["power grid model", "input/output", "conversions"]
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  ---
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  ---
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  ---
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,9 +1,10 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
5
5
  Abstract converter class
6
6
  """
7
+ import logging
7
8
  from abc import ABC, abstractmethod
8
9
  from typing import Generic, Optional, Tuple, TypeVar
9
10
 
@@ -20,11 +21,18 @@ T = TypeVar("T")
20
21
  class BaseConverter(Generic[T], ABC):
21
22
  """Abstract converter class"""
22
23
 
23
- def __init__(self, source: Optional[BaseDataStore[T]] = None, destination: Optional[BaseDataStore[T]] = None):
24
+ def __init__(
25
+ self,
26
+ source: Optional[BaseDataStore[T]] = None,
27
+ destination: Optional[BaseDataStore[T]] = None,
28
+ log_level: int = logging.DEBUG,
29
+ ):
24
30
  """
25
31
  Initialize a logger
26
32
  """
27
- self._log = structlog.get_logger(type(self).__name__)
33
+ self._logger = logging.getLogger(type(self).__name__)
34
+ self._logger.setLevel(log_level)
35
+ self._log = structlog.wrap_logger(self._logger, wrapper_class=structlog.make_filtering_bound_logger(log_level))
28
36
  self._source = source
29
37
  self._destination = destination
30
38
  self._auto_id = AutoID()
@@ -146,6 +154,25 @@ class BaseConverter(Generic[T], ABC):
146
154
  else:
147
155
  raise ValueError("No destination supplied!")
148
156
 
157
+ def set_log_level(self, log_level: int) -> None:
158
+ """
159
+ Set the log level
160
+
161
+ Args:
162
+ log_level: int:
163
+ """
164
+ self._logger.setLevel(log_level)
165
+ self._log = structlog.wrap_logger(self._logger, wrapper_class=structlog.make_filtering_bound_logger(log_level))
166
+
167
+ def get_log_level(self) -> int:
168
+ """
169
+ Get the log level
170
+
171
+ Returns:
172
+ int:
173
+ """
174
+ return self._logger.getEffectiveLevel()
175
+
149
176
  def _load_data(self, data: Optional[T]) -> T:
150
177
  if data is not None:
151
178
  return data
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  # pylint: disable = too-many-lines
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model IO project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  """
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: power-grid-model-io
3
- Version: 1.2.59
3
+ Version: 1.2.61
4
4
  Summary: Power Grid Model Input/Output
5
- Author-email: Alliander Dynamic Grid Calculation <dynamic.grid.calculation@alliander.com>
5
+ Author-email: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
6
6
  License: MPL-2.0
7
7
  Project-URL: Home-page, https://lfenergy.org/projects/power-grid-model/
8
8
  Project-URL: GitHub, https://github.com/PowerGridModel/power-grid-model-io
@@ -47,7 +47,7 @@ Requires-Dist: sphinx-hoverxref; extra == "doc"
47
47
  Requires-Dist: numpydoc; extra == "doc"
48
48
 
49
49
  <!--
50
- SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
50
+ SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
51
51
 
52
52
  SPDX-License-Identifier: MPL-2.0
53
53
  -->
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -40,4 +40,4 @@
40
40
  [
41
41
  {"energized": 1, "i_from": [12.266058718690484, 12.266058718690402, 24.17889769909201], "i_to": [66.02947091322386, 66.02947091322693, 136.6556434817352], "id": 9, "loading": 0.03883052565830863, "p_from": [765820.724989093, 765820.7249890427, -1529485.491438911], "p_to": [-730552.3008242727, -730552.300824217, 1567616.5274441042], "q_from": [-142683.60010968833, -142683.60010993064, -136520.3668874493], "q_to": [216633.7469512629, 216633.74695157827, 216173.52394822074], "s_from": [778999.3533778327, 778999.3533778277, 1535566.2405436018], "s_to": [761995.3048134763, 761995.3048135125, 1582451.4430377013], "id_reference": {"table": "trafo", "index": 0}, "pgm_input": {"from_node": 0, "to_node": 1}, "pp_input": {"df": 1.0}}
42
42
  ]
43
- }
43
+ }
@@ -53,4 +53,4 @@
53
53
  [
54
54
  {"energized": 1, "i_from": 20.545016973103277, "i_to": 62.76706374195551, "id": 12, "loading": 0.04892939318768632, "p_from": 1798665.9834270997, "p_to": -1765096.6771171836, "q_from": 3476628.8259518775, "q_to": -1169229.7700735242, "s_from": 3914351.4550149054, "s_to": 2117230.3924694424, "id_reference": {"table": "trafo", "index": 101}, "pgm_input": {"from_node": 0, "to_node": 1}, "pp_input": {"df": 1.0}}
55
55
  ]
56
- }
56
+ }
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,7 +1,8 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
5
+ import logging
5
6
  from typing import Dict, List
6
7
  from unittest.mock import ANY, MagicMock
7
8
 
@@ -12,6 +13,9 @@ from power_grid_model_io.converters.base_converter import BaseConverter
12
13
 
13
14
 
14
15
  class DummyConverter(BaseConverter[Dict[str, List[Dict[str, int]]]]):
16
+ def __init__(self, source=None, destination=None, log_level=logging.ERROR):
17
+ super().__init__(source, destination, log_level)
18
+
15
19
  def _parse_data(self, data, data_type, extra_info=None):
16
20
  # No need to implement _parse_data() for testing purposes
17
21
  pass
@@ -168,3 +172,14 @@ def test_load_data(converter: DummyConverter):
168
172
  converter_2 = DummyConverter(source=source)
169
173
  converter_2._load_data(data=None)
170
174
  source.load.assert_called_once()
175
+
176
+
177
+ def test_base_converter_log_level():
178
+ converter = DummyConverter(log_level=logging.DEBUG)
179
+ assert converter.get_log_level() == logging.DEBUG
180
+
181
+ converter = DummyConverter()
182
+ assert converter.get_log_level() == logging.ERROR
183
+
184
+ converter.set_log_level(logging.DEBUG)
185
+ assert converter.get_log_level() == logging.DEBUG
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  import re
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  from pathlib import Path
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  from pathlib import Path
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  from pathlib import Path
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  from typing import List
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  import numpy as np
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  import pytest
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  from pytest import raises
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  import pytest
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  import tempfile
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
  import shutil
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -0,0 +1,3 @@
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
+ #
3
+ # SPDX-License-Identifier: MPL-2.0
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1,4 +1,4 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
1
+ # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
2
2
  #
3
3
  # SPDX-License-Identifier: MPL-2.0
4
4
 
@@ -1 +0,0 @@
1
- 1.2.59
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0
@@ -1,3 +0,0 @@
1
- # SPDX-FileCopyrightText: 2022 Contributors to the Power Grid Model project <dynamic.grid.calculation@alliander.com>
2
- #
3
- # SPDX-License-Identifier: MPL-2.0