power-grid-model-io 1.2.121__py3-none-any.whl → 1.2.127__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of power-grid-model-io might be problematic. Click here for more details.
- power_grid_model_io/converters/pandapower_converter.py +3 -3
- {power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/METADATA +11 -12
- {power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/RECORD +6 -6
- {power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/WHEEL +1 -1
- {power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/licenses/LICENSE +0 -0
- {power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/top_level.txt +0 -0
|
@@ -35,7 +35,7 @@ logger = structlog.get_logger(__file__)
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
# pylint: disable=too-many-instance-attributes
|
|
38
|
-
class PandaPowerConverter(BaseConverter[PandaPowerData]):
|
|
38
|
+
class PandaPowerConverter(BaseConverter[PandaPowerData]): # pragma: no cover
|
|
39
39
|
"""
|
|
40
40
|
Panda Power Converter
|
|
41
41
|
"""
|
|
@@ -598,7 +598,7 @@ class PandaPowerConverter(BaseConverter[PandaPowerData]):
|
|
|
598
598
|
if pp_loads.empty:
|
|
599
599
|
return
|
|
600
600
|
|
|
601
|
-
if self._get_pp_attr("load", "type", expected_type="O", default=None)
|
|
601
|
+
if np.any(self._get_pp_attr("load", "type", expected_type="O", default=None) == "delta"):
|
|
602
602
|
raise NotImplementedError("Delta loads are not implemented, only wye loads are supported in PGM.")
|
|
603
603
|
|
|
604
604
|
scaling = self._get_pp_attr("load", "scaling", expected_type="f8", default=1.0)
|
|
@@ -656,7 +656,7 @@ class PandaPowerConverter(BaseConverter[PandaPowerData]):
|
|
|
656
656
|
if pp_asym_loads.empty:
|
|
657
657
|
return
|
|
658
658
|
|
|
659
|
-
if self._get_pp_attr("asymmetric_load", "type", expected_type="O", default=None)
|
|
659
|
+
if np.any(self._get_pp_attr("asymmetric_load", "type", expected_type="O", default=None) == "delta"):
|
|
660
660
|
raise NotImplementedError("Delta loads are not implemented, only wye loads are supported in PGM.")
|
|
661
661
|
|
|
662
662
|
scaling = self._get_pp_attr("asymmetric_load", "scaling", expected_type="f8")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: power-grid-model-io
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.127
|
|
4
4
|
Summary: Power Grid Model Input/Output
|
|
5
5
|
Author-email: Contributors to the Power Grid Model project <powergridmodel@lfenergy.org>
|
|
6
6
|
License: MPL-2.0
|
|
@@ -28,14 +28,15 @@ Requires-Dist: power_grid_model>=1.8
|
|
|
28
28
|
Requires-Dist: pyyaml
|
|
29
29
|
Requires-Dist: structlog
|
|
30
30
|
Requires-Dist: tqdm
|
|
31
|
+
Provides-Extra: dev-bare
|
|
32
|
+
Requires-Dist: pre-commit; extra == "dev-bare"
|
|
33
|
+
Requires-Dist: pylint; extra == "dev-bare"
|
|
34
|
+
Requires-Dist: pytest; extra == "dev-bare"
|
|
35
|
+
Requires-Dist: pytest-cov; extra == "dev-bare"
|
|
36
|
+
Requires-Dist: pydantic>2; extra == "dev-bare"
|
|
31
37
|
Provides-Extra: dev
|
|
32
|
-
Requires-Dist:
|
|
33
|
-
Requires-Dist:
|
|
34
|
-
Requires-Dist: pylint; extra == "dev"
|
|
35
|
-
Requires-Dist: pytest; extra == "dev"
|
|
36
|
-
Requires-Dist: pytest-cov; extra == "dev"
|
|
37
|
-
Requires-Dist: pydantic>2; extra == "dev"
|
|
38
|
-
Requires-Dist: numba; extra == "dev"
|
|
38
|
+
Requires-Dist: power-grid-model-io[dev-bare]; extra == "dev"
|
|
39
|
+
Requires-Dist: pandapower<3.1,>2.11.1; extra == "dev"
|
|
39
40
|
Provides-Extra: examples
|
|
40
41
|
Requires-Dist: power-grid-model>1.9.80; extra == "examples"
|
|
41
42
|
Requires-Dist: pandapower<3.0,>2.11.1; extra == "examples"
|
|
@@ -61,9 +62,7 @@ SPDX-License-Identifier: MPL-2.0
|
|
|
61
62
|
[](https://pepy.tech/project/power-grid-model-io)
|
|
62
63
|
[](https://pepy.tech/project/power-grid-model-io)
|
|
63
64
|
|
|
64
|
-
[](https://github.com/PowerGridModel/power-grid-model-io/actions/workflows/check-code-quality.yml)
|
|
66
|
-
[](https://github.com/PowerGridModel/power-grid-model-io/actions/workflows/reuse-compliance.yml)
|
|
65
|
+
[](https://github.com/PowerGridModel/power-grid-model-io/actions/workflows/ci.yml)
|
|
67
66
|
[](https://power-grid-model-io.readthedocs.io/en/stable/)
|
|
68
67
|
|
|
69
68
|
[](https://sonarcloud.io/summary/new_code?id=PowerGridModel_power-grid-model-io)
|
|
@@ -77,7 +76,7 @@ SPDX-License-Identifier: MPL-2.0
|
|
|
77
76
|
|
|
78
77
|
[](https://zenodo.org/record/8059257)
|
|
79
78
|
|
|
80
|
-
[](#)
|
|
79
|
+
[](#)
|
|
81
80
|
|
|
82
81
|
# Power Grid Model Input/Output
|
|
83
82
|
|
|
@@ -10,7 +10,7 @@ power_grid_model_io/config/excel/vision_en_9_8.yaml,sha256=yCa4v5VUK1xCZ0PrHG2Zf
|
|
|
10
10
|
power_grid_model_io/config/excel/vision_nl.yaml,sha256=0IOh5Ug9QwP2dgNMsl90RARV_v-xxcA6rv8Ya0WCPuI,21426
|
|
11
11
|
power_grid_model_io/converters/__init__.py,sha256=kmbjFW6kVr30fmHb6mAoD7DQAqmbrsOuF1ewd8b0Q3M,408
|
|
12
12
|
power_grid_model_io/converters/base_converter.py,sha256=TICEXyG7PtimAUvhAmpSoZUqwa0shiDdwbWpiM2Ur7o,6048
|
|
13
|
-
power_grid_model_io/converters/pandapower_converter.py,sha256=
|
|
13
|
+
power_grid_model_io/converters/pandapower_converter.py,sha256=PCeYCn4KJ1E5a9nv4aI8GxAFHmCrhXsCKIxQWxiRDHk,115821
|
|
14
14
|
power_grid_model_io/converters/pgm_json_converter.py,sha256=agIJnPXJIQA2Ua25-UKRLxAEOonirBdBIwZi4Pqxz9o,13856
|
|
15
15
|
power_grid_model_io/converters/tabular_converter.py,sha256=KUk2ogzSQMapiNmHvqxAh8E_7bSPQq-FZxUIm1tF9-g,35136
|
|
16
16
|
power_grid_model_io/converters/vision_excel_converter.py,sha256=ahAhynkHp_rchDIS0xEYRj4MmcJtc5YPcQTItNXa7tI,4185
|
|
@@ -43,8 +43,8 @@ power_grid_model_io/utils/modules.py,sha256=a4IdozSL-sOZcmIQON_aQS7-cpnCyt-3p7zs
|
|
|
43
43
|
power_grid_model_io/utils/parsing.py,sha256=cw6d3S89BvB8dncN0SeFHDhFG7ZlDNx9iGYWjZk5fVU,4684
|
|
44
44
|
power_grid_model_io/utils/uuid_excel_cvtr.py,sha256=xYAYevGDuBd-TcgqcEMJJsISg3yv3uO_9mcUd7oj1qQ,7600
|
|
45
45
|
power_grid_model_io/utils/zip.py,sha256=VXHX4xWPPZbhOlZUAbMDy3MgQFzK6_l7sRvGXihNUY4,3875
|
|
46
|
-
power_grid_model_io-1.2.
|
|
47
|
-
power_grid_model_io-1.2.
|
|
48
|
-
power_grid_model_io-1.2.
|
|
49
|
-
power_grid_model_io-1.2.
|
|
50
|
-
power_grid_model_io-1.2.
|
|
46
|
+
power_grid_model_io-1.2.127.dist-info/licenses/LICENSE,sha256=7Pm2fWFFHHUG5lDHed1vl5CjzxObIXQglnYsEdtjo_k,14907
|
|
47
|
+
power_grid_model_io-1.2.127.dist-info/METADATA,sha256=WxeR4gPaPtryhrjRQ63F3Bq3QanEXw2nZpk2gaEjvDA,8282
|
|
48
|
+
power_grid_model_io-1.2.127.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
49
|
+
power_grid_model_io-1.2.127.dist-info/top_level.txt,sha256=7sq9VveemMm2R0RgTBa4tH8y_xF4_1hxbufmX9OjCTo,20
|
|
50
|
+
power_grid_model_io-1.2.127.dist-info/RECORD,,
|
{power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{power_grid_model_io-1.2.121.dist-info → power_grid_model_io-1.2.127.dist-info}/top_level.txt
RENAMED
|
File without changes
|