Skip to content

Commit

Permalink
Merge pull request #2510 from mrifraunhofer/develop
Browse files Browse the repository at this point in the history
cim2pp: fixed missing nominal voltages at SeriesCompensator
  • Loading branch information
vogt31337 authored Jan 15, 2025
2 parents 43afaa5 + 591e016 commit 8009cb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Change Log
- [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"
- [ADDED] cim2pp converter: Using lxml to parse XML files (better performance)
- [FIXED] OC relay name attribute error
- [FIXED] cim2pp: fixed missing nominal voltages at SeriesCompensator

[2.14.11] - 2024-07-08
-------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def _prepare_series_compensators_cim16(self) -> pd.DataFrame:
ser_comp = self.cimConverter.cim['eq']['SeriesCompensator']

ser_comp = pd.merge(ser_comp,
self.cimConverter.cim['eq']['BaseVoltage'][['rdfId','nominalVoltage']].rename(
pd.concat([self.cimConverter.cim['eq']['BaseVoltage'],
self.cimConverter.cim['eq_bd']['BaseVoltage']],
ignore_index=True)[['rdfId','nominalVoltage']].rename(
columns={'rdfId': 'BaseVoltage'}),
how='left', on='BaseVoltage')
# fill the r21 and x21 values for impedance creation
Expand Down

0 comments on commit 8009cb5

Please sign in to comment.