Skip to content

Commit

Permalink
Merge branch 'e2nIEE:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopau authored Dec 18, 2024
2 parents 87d02af + af65ef7 commit 71b7e3a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Change Log

[upcoming release] - 2024-..-..
-------------------------------
- [FIXED] cim2pp add missing description to dcline
- [ADDED] pandas series accessor for geo column
- [FIXED] Increasing geojson precision as the default precision might cause problems with pandahub
- [ADDED] converter for European EHV grid data from JAO, the "Single Allocation Platform (SAP) for all European Transmission System Operators (TSOs) that operate in accordance to EU legislation"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _prepare_dc_line_segments_cim16(self) -> pd.DataFrame:
# now join with the terminals
dc_line_segments = pd.merge(self.cimConverter.cim['eq']['DCLineSegment'], self.cimConverter.bus_merge,
how='left', on='rdfId')
dc_line_segments = dc_line_segments[['rdfId', 'name', 'ConnectivityNode', 'sequenceNumber']]
dc_line_segments = dc_line_segments[['rdfId', 'name', 'description', 'ConnectivityNode', 'sequenceNumber']]
dc_line_segments[sc['o_cl']] = 'DCLineSegment'
# now dc_line_segments looks like:
# rdfId name rdfId_Terminal connected ...
Expand Down
1 change: 1 addition & 0 deletions pandapower/test/converter/test_from_cim.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,7 @@ def test_fullgrid_dcline(fullgrid_v2):
assert 2 == len(fullgrid_v2.dcline.index)
element_0 = fullgrid_v2.dcline[fullgrid_v2.dcline['origin_id'] == '_70a3750c-6e8e-47bc-b1bf-5a568d9733f7']
assert 'LDC-1230816355' == element_0['name'].item()
assert 'LDC-1230816355' == element_0['description'].item()
assert '_27d57afa-6c9d-4b06-93ea-8c88d14af8b1' == fullgrid_v2.bus.iloc[element_0['from_bus'].item()]['origin_id']
assert '_d3d9c515-2ddb-436a-bf17-2f8be2394de3' == fullgrid_v2.bus.iloc[int(element_0['to_bus'].item())]['origin_id']
assert 0.0 == element_0['p_mw'].item()
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Changelog = "https://github.com/e2nIEE/pandapower/blob/develop/CHANGELOG.rst"
docs = ["numpydoc>=1.5.0", "matplotlib", "sphinx>=5.3.0", "sphinx_rtd_theme>=1.1.1", "sphinx-pyproject"]
plotting = ["plotly>=3.1.1", "matplotlib", "igraph", "geopandas>=1.0"]
test = ["pytest~=8.1", "pytest-xdist", "nbmake"]
performance = ["ortools", "numba>=0.25", "lightsim2grid==0.9.0"]
performance = ["ortools", "numba==0.60.0", "lightsim2grid==0.9.0"]
fileio = ["xlsxwriter", "openpyxl", "cryptography", "geopandas>=1.0", "psycopg2"]
converter = ["matpowercaseframes"]
pgm = ["power-grid-model-io"]
Expand All @@ -71,7 +71,7 @@ all = [
"numpydoc>=1.5.0", "sphinx>=5.3.0", "sphinx_rtd_theme>=1.1.1", "sphinx-pyproject",
"plotly>=3.1.1", "matplotlib", "igraph", "geopandas>=1.0",
"pytest~=8.1", "pytest-xdist", "nbmake",
"ortools", "numba>=0.25", "lightsim2grid==0.9.0",
"ortools", "numba==0.60.0", "lightsim2grid==0.9.0",
"xlsxwriter", "openpyxl", "cryptography", "psycopg2",
"matpowercaseframes",
"power-grid-model-io"
Expand Down

0 comments on commit 71b7e3a

Please sign in to comment.