Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add trafo/shunt characteristics and phase shifter logics #2490

Open
wants to merge 186 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
d67515a
create shunt_characteristic_temp & trafo/trafo3w characteristic objec…
panos-xenos Oct 9, 2024
de0b2b3
create shunt spline characteristics
panos-xenos Oct 30, 2024
8e780cc
parameter re-naming
panos-xenos Nov 14, 2024
ada4320
move 'tap_characteristic_table' and 'shunt_characteristic_table' flag…
panos-xenos Nov 15, 2024
824f13d
Changes in pst logic
hilbrich Nov 18, 2024
af2bcc5
introduce id_characteristic_spline flag for trafos & shunts; align in…
panos-xenos Nov 20, 2024
b30a972
rename tap_characteristic_table to tap_dependency_table & step_charac…
panos-xenos Nov 21, 2024
c069bfa
introduce tap_phase_shifter_type flag; populate tap_step_percent & ta…
panos-xenos Nov 21, 2024
fbbdec1
Renamed tap_dependency_table and tap_phase_shifter_type
hilbrich Nov 22, 2024
8dc4ae7
Changes in Controller documentation
hilbrich Nov 22, 2024
ddc8b6e
Merge branch 'feature/shunt-characteristics' into feature/pst_logic
hilbrich Nov 22, 2024
ad1c6a0
fix shift_degree for trafo/3w
panos-xenos Nov 22, 2024
7cade72
address Mario's comments; update create.py lib for trafo/trafo3w para…
panos-xenos Nov 22, 2024
ecda52c
Merge branch 'feature/shunt-characteristics' into feature/pst_logic
hilbrich Nov 28, 2024
5660285
update pp_tools.py; update create.py lib for trafo/trafo3w & shunt pa…
panos-xenos Nov 28, 2024
7372a5a
Merge branch 'feature/shunt-characteristics' into feature/pst_logic
hilbrich Nov 28, 2024
3bf4b52
update diagnostic.py lib
panos-xenos Nov 28, 2024
9b4286e
update __init__.py lib (rename import)
panos-xenos Nov 28, 2024
82ca8fc
WIP trafo
hilbrich Nov 28, 2024
3d6d9d3
WIP trafo phase shifter reworking
hilbrich Nov 29, 2024
b90ac2b
update auxiliary.py function (fix bug); update testing libraries
panos-xenos Nov 29, 2024
56a5731
update create.py, diagnostic.py & test_tap_dependent_impedance.py lib…
panos-xenos Nov 30, 2024
0b6459b
rename tap related parameters; update/replace related tests
panos-xenos Dec 2, 2024
aa0dd4b
Merge branch 'feature/shunt-characteristics' into feature/pst_logic
hilbrich Dec 3, 2024
0d7b6ec
change data type from 'i4' to 'u4'
panos-xenos Dec 3, 2024
2b95817
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Dec 3, 2024
999e1ea
WIP trafo phase shifter reworking
hilbrich Dec 4, 2024
64437e3
Merge branch 'feature/shunt-characteristics' into feature/pst_logic
hilbrich Dec 4, 2024
39cbc67
WIP trafo phase shifter reworking
hilbrich Dec 4, 2024
da21da8
Final Implementation
hilbrich Dec 4, 2024
ee9d456
Trafo adaption bugfix and adjusted some tests
hilbrich Dec 5, 2024
a3a45a6
WIP Station Controllers Options
hilbrich Dec 5, 2024
9c9c8ab
remove commented code
panos-xenos Dec 5, 2024
f34b40e
Merge branch 'feature/pst_logic' into feature/shunt-characteristics
hilbrich Dec 5, 2024
ea61e91
get p and q values for shunts from characteristics
JakobKirschner Dec 4, 2024
697dfb9
add tap_phase_shifter_type parameter for trafo3w in create.py lib
panos-xenos Dec 5, 2024
a6bd8db
make build bus backward compatible for shunts
JakobKirschner Dec 5, 2024
5c95d3e
update std_types.py for trafo3w
panos-xenos Dec 5, 2024
73f555b
Update on shunts
hilbrich Dec 5, 2024
35611fa
Update on shunts
hilbrich Dec 5, 2024
924208b
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Dec 5, 2024
1b540e6
fix loadflow tests
panos-xenos Dec 6, 2024
d016080
minor PEP8 fix
panos-xenos Dec 6, 2024
9348373
revert changes in old_versions json files
panos-xenos Dec 9, 2024
6fdd6b2
add tests and warnings for shunt characteristics
JakobKirschner Dec 9, 2024
fb185d1
fix bug in create.py
JakobKirschner Dec 10, 2024
80c0e9c
update for pytests
panos-xenos Dec 10, 2024
9b3e405
remove required columns in trafo, trafo3w std types
JakobKirschner Dec 10, 2024
da909dd
merge develop into feature/shunt-characteristics
JakobKirschner Dec 10, 2024
785fa95
fix create trafos and std types
JakobKirschner Dec 10, 2024
242e768
fix tap dependency in build branch
JakobKirschner Dec 10, 2024
01ef52a
Revert "fix tap dependency in build branch"
JakobKirschner Dec 11, 2024
69e7dc3
fix get equivalent tests
JakobKirschner Dec 11, 2024
df354e0
remove todo from test_tap_dependent_impedance.py lib
panos-xenos Dec 11, 2024
6abdada
amend pytests / fix bugs to remove pytest fails
panos-xenos Dec 12, 2024
9e1bda2
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Dec 12, 2024
08f4a19
fix bug in _convert_trafo_pst_logic function
panos-xenos Dec 13, 2024
f5ab980
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Dec 13, 2024
bbbb184
fix pandapower PR issues; fix bug in build_branch.py; updates to pass…
panos-xenos Dec 13, 2024
9c6ea93
fix pandapower PR issue - remove unused import
panos-xenos Dec 13, 2024
3319170
address Thomas comments
panos-xenos Dec 16, 2024
05fc525
resolve codacy issue - move import to test lib
panos-xenos Dec 16, 2024
eb3e62d
removed creation of empty characteristic table in json files
panos-xenos Dec 16, 2024
4eae525
amend test_create_trafo_characteristics test to also include a non li…
panos-xenos Dec 16, 2024
a2a538a
re-introduce test_tap_phase_shifter_type_default function but re-purp…
panos-xenos Dec 16, 2024
8867abd
renaming: phase_shifter_type to tap_changer_type and 0,1,2 to "Ratio"…
Dec 16, 2024
62512c4
documentation typos
panos-xenos Dec 16, 2024
9611a14
Merge branch 'fork/JakobKirschner/feature/shunt-characteristics' into…
Dec 16, 2024
a0dea88
all but 10 tests are running after renaming. Missing is matpower and …
Dec 16, 2024
afdb27a
debugging updates
panos-xenos Dec 17, 2024
0c41923
Merge branch 'develop' into feature/shunt-characteristics
vogt31337 Dec 17, 2024
42c05db
fix bug in test_shunt_step_dependency_warning() function
panos-xenos Dec 17, 2024
462e871
fix deprecation warnings
panos-xenos Dec 17, 2024
906b121
add shunt_characteristic_table_diagnostic function
panos-xenos Dec 18, 2024
6cfd2a7
fix bug in build_bus.py
panos-xenos Dec 18, 2024
cb45c18
fix bug in cgmes converter
panos-xenos Dec 18, 2024
86f66f1
WIP pf_converter
hilbrich Dec 18, 2024
ca4a0eb
improve control/util/diagnostic.py lib
panos-xenos Dec 18, 2024
a8a3b63
update documentation for trafo characteristics
panos-xenos Dec 18, 2024
147d41f
update docstrings in create.py
panos-xenos Dec 18, 2024
377d409
all test running locally
Dec 18, 2024
668f03c
Merge branch 'fork/JakobKirschner/feature/shunt-characteristics' into…
Dec 18, 2024
ecc8578
merge to latest and again fixing tests
Dec 18, 2024
e8a03aa
add documentation for shunt_characteristic_table
panos-xenos Dec 18, 2024
3cc601b
fix codacy minor issue
panos-xenos Dec 18, 2024
28715ed
Merge branch 'fork/JakobKirschner/feature/shunt-characteristics' into…
Dec 19, 2024
905c9f0
Merge pull request #3 from JakobKirschner/fork/JakobKirschner/feature…
JakobKirschner Dec 19, 2024
485bbea
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Dec 19, 2024
e8a6239
fix contingency and tap_dependent_impedance tests
panos-xenos Dec 19, 2024
2318af3
Merge branch 'develop' into feature/shunt-characteristics
JakobKirschner Dec 19, 2024
151c973
fix run_contingency_ls2g, _convert_trafo_phase_shifter & test_lightsi…
panos-xenos Dec 19, 2024
91fa21d
minor fixes
panos-xenos Dec 19, 2024
c1a1666
add Int64 to sql bigint dtypes and convert pd.NA to None for postgres…
JakobKirschner Dec 19, 2024
4f44236
add temporary tap_phase_shifter column to trafo df for lightsim2grid …
JakobKirschner Dec 19, 2024
2d50f10
Merge branch 'develop' into feature/shunt-characteristics
JakobKirschner Dec 19, 2024
8ca7fdc
fix lightsim2grid dependency; fix codacy issues
panos-xenos Dec 19, 2024
95412fc
attempt to fix codacy issues
panos-xenos Dec 19, 2024
abd849d
update documentation to reflect tap_changer_type name change
panos-xenos Dec 19, 2024
762158a
2nd attempt to resolve codacy issue
panos-xenos Dec 19, 2024
3b622f4
3rd attempt to resolve codacy issue
panos-xenos Dec 19, 2024
bf57ba2
add test_shunt_characteristic_table_diagnostic test function
panos-xenos Dec 20, 2024
435a728
revert json files back (because current status was only half-updated …
Dec 20, 2024
fc62209
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Dec 20, 2024
97d1836
updated docu for phase shifter
Dec 20, 2024
6f97e61
Completed pf_converter for adjusted trafo tap changer working
hilbrich Dec 20, 2024
a247d4f
Merge branch 'feature/shunt-characteristics' into feature/shunt-chara…
Dec 20, 2024
85bf778
revert json in converter
Dec 20, 2024
92e78c0
panos comment, change not necessary
Dec 20, 2024
08c4ac7
panos comment, change not necessary
Dec 20, 2024
a410405
update std_types documentation
panos-xenos Dec 20, 2024
9d06d5e
Merge pull request #4 from JakobKirschner/feature/shunt-characteristi…
panos-xenos Dec 20, 2024
21fc04d
docu for tap_changer_type
Dec 20, 2024
4ac812a
update std_types documentation v2
panos-xenos Dec 20, 2024
97b539b
Merge pull request #5 from JakobKirschner/feature/shunt-characteristi…
panos-xenos Dec 20, 2024
a1fb810
update update30.rst
panos-xenos Dec 20, 2024
246efc2
delete "characteristic" from json file
Dec 20, 2024
9279b7b
Merge branch 'feature/shunt-characteristics' into feature/shunt-chara…
Dec 20, 2024
996a7f2
Merge pull request #6 from JakobKirschner/feature/shunt-characteristi…
panos-xenos Dec 20, 2024
c1a0aaf
test pf_converter for adjusted trafo tap changer working and small bu…
hilbrich Dec 20, 2024
e9911ed
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Dec 20, 2024
99373b2
if ("tap_changer_type" in net.trafo3w.columns)
Dec 20, 2024
18ba569
fix bug in contingency.py
panos-xenos Dec 20, 2024
aada180
updated CHANGELOG.rst
panos-xenos Dec 20, 2024
d02ee5b
Bugfix in pf import and pf import test for tap changer finalisation
hilbrich Dec 20, 2024
80499f2
test merge charactersitc
Dec 20, 2024
bb013bb
Merge branch 'feature/shunt-characteristics' into feature/shunt-chara…
Dec 20, 2024
c123fad
Merge pull request #8 from JakobKirschner/feature/shunt-characteristi…
panos-xenos Dec 20, 2024
77a775c
Added some warnings and improvements in build branch
hilbrich Dec 20, 2024
d8f1f98
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Dec 20, 2024
4b01bf6
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Dec 20, 2024
f572297
remove n/a tests
panos-xenos Dec 20, 2024
4d07b7c
FIX: Tap dependent impedance of transformers tutorial test
Ghanshyam-grid Dec 20, 2024
b3864df
FIX: Tap dependent impedance of transformers tutorial test
Ghanshyam-grid Dec 20, 2024
d882ebf
CHG: Description of tap dependent impedance of transformers tutorial …
Ghanshyam-grid Jan 2, 2025
ba0efeb
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Jan 8, 2025
6f6e667
extract measurements from more elements from CGMES
panos-xenos Jan 9, 2025
acc8b7c
fix in pandapower converter to understand tap changer side from table…
Jan 9, 2025
4d7fcd8
Merge remote-tracking branch 'JakobKirschner/feature/shunt-characteri…
Jan 9, 2025
ce083f3
revert changes for old_versions json files
panos-xenos Jan 9, 2025
280aaf5
add bus key in sc dict for extracting measurements of additional elem…
panos-xenos Jan 9, 2025
d183810
drop measurements of elements connected to buses
panos-xenos Jan 9, 2025
3770d88
update create.py lib to make it backward compatible for older logic o…
panos-xenos Jan 9, 2025
c632939
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Jan 9, 2025
0e65371
improve deprecation warning messages in create.py
panos-xenos Jan 10, 2025
b4f023d
Added depreciated warnings in build_bus.py and build_branch.py, remov…
hilbrich Jan 10, 2025
a90cff0
Removed a bug in build branch.
hilbrich Jan 13, 2025
bc15e9e
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Jan 13, 2025
49e6acd
typo in comment in build_branch.py
panos-xenos Jan 13, 2025
0b08364
Added test for validating tap table order for transformers
hilbrich Jan 14, 2025
4696efe
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Jan 14, 2025
6148814
Removed variable direction from build_branch as it is not used for tr…
hilbrich Jan 14, 2025
f32f8a4
Merge branch 'refs/heads/develop' into feature/shunt-characteristics
panos-xenos Jan 15, 2025
157291d
typo in build_branch.py
panos-xenos Jan 16, 2025
213524c
typos in build_branch.py
panos-xenos Jan 16, 2025
7123f71
BugFix in pf and cgmes converter
hilbrich Jan 17, 2025
3d7a3ac
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Jan 17, 2025
7928003
BugFix in cgmes converter
hilbrich Jan 17, 2025
19ebbda
Small Refactoring of build branch
hilbrich Jan 17, 2025
0572ae5
Small Refactoring of pf import
hilbrich Jan 17, 2025
9f8ab09
Refactoring of build branch
hilbrich Jan 17, 2025
57b8841
typos in trafo.rst
panos-xenos Jan 21, 2025
6011e22
redundant line of code
panos-xenos Jan 21, 2025
5587cc8
extract 'description' field from CGMES into net.measurement table
panos-xenos Jan 22, 2025
02b9ac8
refactor powerTransformersCim16.py
panos-xenos Jan 23, 2025
d542e04
introduce "Tabular" tap_changer_type in CGMES converter
panos-xenos Jan 27, 2025
53fd1af
PEP8 improvements in build_branch.py
panos-xenos Jan 27, 2025
1eb050e
CHG: small improvement
Ghanshyam-grid Jan 28, 2025
0a83bc4
Update nonLinearShuntCompensatorCim16.py
mrifraunhofer Jan 28, 2025
9662e20
Update powerTransformersCim16.py
mrifraunhofer Jan 28, 2025
7e30de0
update tutorials with right tap_changer_type data type input
panos-xenos Jan 29, 2025
584ac08
update CHANGELOG.rst
panos-xenos Jan 29, 2025
31bc94c
expanded diagnostic.py to include check for 'Tabular' tap_changer_type
panos-xenos Jan 29, 2025
00196f0
update documentation/docstrings to include 'Tabular' tap_changer_type
panos-xenos Jan 29, 2025
166fc38
update documentation in trafo.rst
panos-xenos Jan 29, 2025
63e45b2
remove unused imports in convert_format.py
panos-xenos Jan 29, 2025
560ab81
expand trafo_characteristic_table_diagnostic function with additional…
panos-xenos Jan 29, 2025
afeb02b
typos and PEP8 improvements in build_branch.py
panos-xenos Jan 30, 2025
0a9fd30
change titlefont to title_font because of plotly 3.0: https://github.…
Jan 30, 2025
abce0d3
Merge remote-tracking branch 'origin/feature/shunt-characteristics' i…
Jan 30, 2025
13c69cb
BugFix in build branch and pf_converter
hilbrich Jan 30, 2025
baac352
BugFix in build branch and pf_converter
hilbrich Jan 30, 2025
b60f020
Merge remote-tracking branch 'jakob/feature/shunt-characteristics' in…
hilbrich Jan 30, 2025
9ccc948
ToDo in pp_import_function
hilbrich Jan 30, 2025
db4d0d0
Merge branch 'develop' into feature/shunt-characteristics
panos-xenos Jan 31, 2025
a3016b9
rename to tap_changer_type (old name came in from other pull request)
Jan 31, 2025
9eb7ceb
trying to fix sphinx pipeline: /github/workspace/doc/converter/ucte.r…
Jan 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ Change Log
- [FIXED] Allow to consider all oos components in nx graph creation
- [REMOVED] Excluding tests and test_files from built packages
- [ADDED] Static Var Compensator with Voltage Control
- [CHANGED] updated PowerFactory to pandapower converter to export measurement reports and reflect changes in trafo/trafo3w tap changer logic
- [ADDED] shunt_characteristic_spline table
- [CHANGED] renamed characteristic table to trafo_characteristic_spline table and changed its structure so that there is one row with all spline characteristic objects per trafo/trafo3w
- [ADDED] step_dependency_table flag for shunt elements
- [CHANGED] renamed tap_dependent_impedance flag to tap_dependency_table for trafo and trafo3w elements
- [ADDED] id_characteristic_spline optional variable for shunt elements
- [REMOVED] vk_hv_percent_characteristic, vk_mv_percent_characteristic, vk_lv_percent_characteristic, vkr_hv_percent_characteristic, vkr_mv_percent_characteristic and vkr_lv_percent_characteristic variables from trafo3w table
- [REMOVED] vk_percent_characteristic and vkr_percent_characteristic variables from trafo table
- [ADDED] id_characteristic_spline optional variable for trafo and trafo3w elements
- [ADDED] id_characteristic_table variable for shunt elements
- [CHANGED] renamed id_characteristic variable to id_characteristic_table for trafo and trafo3w elements
- [ADDED] shunt_characteristic_table lookup table for step dependent values for shunt elements
- [CHANGED] renamed characteristic_temp lookup table to trafo_characteristic_table for trafo and trafo3w elements
- [CHANGED] cim2pp converter - removed default creation of trafo spline characteristics
- [ADDED] cim2pp converter - export NonlinearShuntCompensatorPoint values for shunt elements
- [FIXED] cim2pp converter - correctly populate step, max_step and q_mvar / p_mw values per step for shunt elements
- [ADDED] cim2pp converter - added tap changer type classification for trafo and trafo3w elements
- [FIXED] cim2pp converter - correctly populate tap_step_degree and shift_degree variables for trafo and trafo3w elements
- [ADDED] tap_changer_type variable for net.trafo and net.trafo3w tables (supporting "Ratio", "Symmetrical", "Ideal" and "Tabular" tap changer types)
- [REMOVED] tap_phase_shifter bool variable from net.trafo table
- [ADDED] Implementation of Allocation Factor WLS (AF-WLS) for non observable distribution grids
- [FIXED] Deletion of multiple measurements at the same bus or branch
- [FIXED] Creation of zero injection measurements in WLS estimator
Expand All @@ -33,6 +53,7 @@ Change Log
- [FIXED] default elements in toolbox function add_zones_to_elements()
- [ADDED] improved lightsim2grid documentation including compatibitliy issues
- [FIXED] avoid duplicated keys in kwargs and pf_options in run_contingency()
- [ADDED] improved lightsim2grid documentation including compatibility issues
- [FIXED] cim2pp: set default xml encoding to None to avoid error after changing to lxml
- [FIXED] PandaModels OPF with 'bus_dc' key errors
- [FIXED] julia tests
Expand Down Expand Up @@ -65,7 +86,7 @@ Change Log
- [CHANGED] plotting for voltage profile considers also gens that are slacks and only ext_grids and slack gens that are in service
- [CHANGED] switched from setup.py to pyproject.toml
- [CHANGED] updated upload_release.py to not call setup.py anymore (see https://packaging.python.org/en/latest/discussions/setup-py-deprecated/)
- [CHANGED] updated upload_release.py to install the uploadad package and print the version
- [CHANGED] updated upload_release.py to install the uploaded package and print the version
- [CHANGED] updated MANIFEST.in to exclude the ci files from the wheel distribution
- [CHANGED] cim data structure method in cim converter changed to blueprint approach
- [CHANGED] cim converter: Avoid huge logging output when ignore_errors = True
Expand Down
8 changes: 4 additions & 4 deletions doc/about/deprecating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ This figure illustrates a time sequence of a process with deprecation warnings,
:width: 500em
:align: center

Proposed steps for contributers and reviewers:
Proposed steps for contributors and reviewers:

#. Provide two pull requests (PR1 and PR2) including
#. final code that should remain in the long-term
* if input parameter names have been changed, these can be catched and notified using :code:`raise DeprecationWarning("Notification message")`
* if input parameter names have been changed, this can be handled and a notification issued using :code:`raise DeprecationWarning("Notification message")`
#. interim code to be contained in the master branch from the next to the next but one release version
* to implement deprecation warnings type :code:`warnings.warn("Notification message", category=DeprecationWarning)` (:code:`category=FutureWarning` is also possible; don't forget :code:`import warnings`)
* the new functionality should be available but if the user does not pass arguments that explicitely call the new functionality, the old functionality should be evaluated plus sending DeprecationWarnings
* the new functionality should be available but if the user does not pass arguments that explicitly call the new functionality, the old functionality should be evaluated plus sending DeprecationWarnings
* make sure to add new tests for the new functionality
* please add :code:`assert Version(pp.__version__) < Version('2.12')` with :code:`from packaging.version import Version` to the tests of the deprecated functionality (assuming that the latest pandapower version is `v2.10.x` ; tests of the deprecated code should be removed with PR1)
#. Reviewer: don't approve the PRs as long as both PRs are correct and complete
#. The person merging PR2 is responsible to merge PR1 after the next release

As an example, please have a look at the revision of the function `pandapower.toolbox.merge_nets()`.
It has been revised by `PR2 <https://github.com/e2nIEE/pandapower/pull/1764>`_ temporarly. This state is available from pandapower version `v2.10.0` to `v2.11.1`.
It has been revised by `PR2 <https://github.com/e2nIEE/pandapower/pull/1764>`_ temporarily. This state is available from pandapower version `v2.10.0` to `v2.11.1`.
With `v2.12.0` the final code, merged via `PR1 <https://github.com/e2nIEE/pandapower/pull/1765>`_, is available.

For suggestions on revising this process, `Issue 1760 <https://github.com/e2nIEE/pandapower/issues/1760>`_ can be reopened.
2 changes: 1 addition & 1 deletion doc/about/units.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The power equation in the balanced three phase system is therefore given as :mat
For unbalanced three phase systems, the following conventions apply:
- voltage values are entered as phase-to-phase voltages
- current values are entered as phase currents
- But, Phase power values can be entered seperately in the new element **asymmetric_load**
- But, Phase power values can be entered separately in the new element **asymmetric_load**

The power equation in each phase is therefore given as :math:`S_{ph-e} = \frac{V_{ph-ph} \cdot I_{ph-ph}}{\sqrt3 }`.

Expand Down
2 changes: 1 addition & 1 deletion doc/about/update20.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ the cost parameters can be directly specified as parameters instead of passing a
| **pandapower 2.x** | :code:`pp.create_poly_cost(net, 3, "gen", c_per_mw=0.1, c2_per_mw2=0.01)` |
+--------------------+--------------------------------------------------------------------------------------------------------------+

The definition of piecewise linear costs has also changed. In pandapower 1.x, the cost polyonmial is given as list of cost points: ::
The definition of piecewise linear costs has also changed. In pandapower 1.x, the cost polynomial is given as list of cost points: ::

[(p1, c1), (p2, c2), (p3, c3)]

Expand Down
6 changes: 6 additions & 0 deletions doc/about/update30.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ This is established by multiple functions/codings in the pandapower package.
The columns in :code:`net.group` are also changed: To :code:`element_type` and :code:`element_index` to avoid misunderstandings.
A major rework could include the names :code:`element_type` and :code:`element_index` at any place in the package but has not been implemented (yet?) since it would break large parts of package usage.

Transformers
=============
Different types of tap changers for 2-winding and 3-winding transformers are now explicitly accessible via :code:`tap_changer_type` (string) "Ratio", "Symmetrical" or "Ideal".


To sum up, the following changes were made:

- TrafoController parameters: :code:`trafotable, trafotype` ➔ :code:`element_type`; :code:`tid` ➔ :code:`element_index`
- Group column: :code:`net.groups.element` ➔ :code:`net.groups.element_index`
- the tap changer variables :code:`tap_phase_shifter` ➔ :code:`tap_changer_type` bool True/False to string "Ratio","Symmetrical","Ideal".
3 changes: 1 addition & 2 deletions doc/control/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,10 @@ SplineCharacteristic
.. autoclass:: pandapower.control.util.characteristic.SplineCharacteristic
:members:

The following controllers are used for the representation of station controllers as used in PowerFactory


Station Controller
==================
The following controllers are used for the representation of station controllers as used in PowerFactory

**********************
Binary Search Control
Expand Down
2 changes: 1 addition & 1 deletion doc/converter/ucte.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
UCTE-DEF to pandapower
===================================================

panpapower functionality allows to convert grid data from **UCTE** **d**ata **e**xchange **f**ormat for load flow and three phase short circuit studies (UCTE-DEF) to pandapower.
panpapower functionality allows to convert grid data from **UCTE** data exchange format for load flow and three phase short circuit studies (UCTE-DEF) to pandapower.
The UCTE-DEF is a simple data format for electric transmission systems for the exchange of grid data introduced by the *Union for the Co-ordination of Transmission of Electricity (UCTE)*, the predecessor of the ENTSO-E.

Using the Converter
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/asymmetric_load.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Input Parameters

.. note::

- The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!
- The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow!

- 'wye' is the same as PH-E loads

Expand Down
2 changes: 1 addition & 1 deletion doc/elements/asymmetric_sgen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The PQ-Values are calculated from the parameter table values as:

.. note::

The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!
The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow!

Result Parameters
==========================
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/ext_grid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ with:
\end{align*}


** Unbalanced Load Flow / Single phase short ciruit **
** Unbalanced Load Flow / Single phase short circuit **

The external grid is modelled as a voltage source for positive sequence model, which means the node the grid is connected to is treated as a slack node.
For zero sequence and negative sequence external grid impedance is calculated:
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/impedance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The per unit values are therefore transformed into the network per unit system:

where :math:`S_{N}` is the reference power of the per unit system (see :ref:`Unit Systems and Conventions<conventions>`).

The asymetric impedance results in an asymetric nodal point admittance matrix:
The asymmetric impedance results in an asymmetric nodal point admittance matrix:

.. math::
:nowrap:
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ The power system frequency :math:`f` is defined when creating an empty network,

.. note::

For three phase load flow, three decoupled sequence networks ( zero , positive and negtive) are considered.
For three phase load flow, three decoupled sequence networks ( zero , positive and negative) are considered.

**Positive and Negative sequence impedances** are given by r_ohm_per_km, x_ohm_per_km, and c_nf_per_km

Expand Down
2 changes: 1 addition & 1 deletion doc/elements/load.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Input Parameters

.. note::

The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!
The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow!


Electric Model
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/sgen.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The PQ-Values are calculated from the parameter table values as:

.. note::

The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!
The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow!

Result Parameters
==========================
Expand Down
40 changes: 39 additions & 1 deletion doc/elements/shunt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,45 @@ Converting to the per unit system results in:
\end{align*}

with the reference values for the per unit system as defined in :ref:`Unit Systems and Conventions<conventions>`.


Shunt characteristic table
============================

A shunt characteristic table (shunt_characteristic_table) can be used to adjust the shunt parameters
(q_mvar, p_mw) according to the selected step position. This lookup table is created automatically
from version 3.0 onwards through the CIM CGMES to pandapower converter (if this information is available in the EQ
profile), or the user may define this table manually. The id_characteristic_table variable in net.shunt references
the id_characteristic column in net.shunt_characteristic_table per shunt.

If the shunt_dependency_table variable in net.shunt is set to True, this indicates that there is a corresponding
characteristic available in net.shunt_characteristic_table, which overwrites the default shunt parameters
q_mvar and p_mw.

The below table provides an example shunt_characteristic_table, populated for two shunt elements.

.. tabularcolumns:: |p{0.10\linewidth}|p{0.55\linewidth}|p{0.15\linewidth}|p{0.20\linewidth}|p{0.20\linewidth}
.. csv-table::
:file: shunt_char_table.csv
:delim: ,
:widths: 10, 55, 15, 20, 20

.. note::
shunt_dependency_table has to be set to True and the id_characteristic_table variable needs to be populated in order to consider the corresponding shunt_characteristic_table values.

The function pandapower.control.shunt_characteristic_table_diagnostic can be used for sanity checks.
The function pandapower.control.create_shunt_characteristic_object can be used to automatically create
SplineCharacteristic objects and populate the net.shunt_characteristic_spline table according to the
net.shunt_characteristic_table table. An additional column id_characteristic_spline is also created in net.shunt
to set up the reference to the spline characteristics.

The below table provides an example shunt_characteristic_spline table, populated for two shunt elements.

.. tabularcolumns:: |p{0.10\linewidth}|p{0.55\linewidth}|p{0.55\linewidth}|p{0.55\linewidth}
.. csv-table::
:file: shunt_char_spline.csv
:delim: ,
:widths: 10, 55, 55, 55

Result Parameters
==========================
*net.res_shunt*
Expand Down
3 changes: 3 additions & 0 deletions doc/elements/shunt_char_spline.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
,id_characteristic,q_mvar_characteristic,p_mw_characteristic
0,0,SplineCharacteristic,SplineCharacteristic
1,1,SplineCharacteristic,SplineCharacteristic
11 changes: 11 additions & 0 deletions doc/elements/shunt_char_table.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
,id_characteristic,step,q_mvar,p_mw
0,0,1,176.3999987,0.223000955
1,0,2,171.0046573,0.223000955
2,0,3,165.6093266,0.223000955
3,0,4,160.2139746,0.223000955
4,0,5,155.4759927,0.223000955
5,1,1,179.999968,0.034992
6,1,2,174.083296,0.034992
7,1,3,168.166624,0.034992
8,1,4,162.249952,0.034992
9,1,5,156.333296,0.034992
11 changes: 7 additions & 4 deletions doc/elements/shunt_par.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
**Parameter**;**Datatype**;**Value Range**;**Explanation**
name;string;;name of the shunt
bus*;integer;;index of bus where the impedance starts
p_mw*;float;:math:`\geq` 0;shunt active power in MW at v= 1.0 p.u.
q_mvar*;float;;shunt reactive power in kvar at v= 1.0 p.u.
p_mw*;float;:math:`\geq` 0;shunt active power in MW at v= 1.0 p.u. per step
q_mvar*;float;;shunt reactive power in MVAr at v= 1.0 p.u. per step
vn_kv*;float;:math:`>` 0;rated voltage of the shunt element
step*;integer;:math:`\geq` 1;step position of the shunt
in_service*;boolean;True / False;specifies if the shunt is in service.
step*;integer;:math:`\geq` 1;step position of the shunt with which power values are multiplied
max_step*;integer;:math:`\geq` 1;maximum allowed step of shunt
in_service*;boolean;True / False;specifies if the shunt is in service
step_dependency_table;boolean;True / False;whether the shunt parameters (q_mvar, p_mw) are adjusted dependent on the step of the shunt
id_characteristic_table;integer;:math:`\geq` 0;references the id_characteristic index from the shunt_characteristic_table
2 changes: 1 addition & 1 deletion doc/elements/storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The PQ-Values are calculated from the parameter table values as:

.. note::

The apparent power value sn_mva, state of charge soc and storage capacity max_e_mwh are provided as additional information for usage in controller or other applications based on panadapower. It is not considered in the power flow!
The apparent power value sn_mva, state of charge soc and storage capacity max_e_mwh are provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow!

Result Parameters
==========================
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/switch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This has the following advantages compared to modelling the switch as a small im

*Bus-Element-Switches:*

When the power flow is calculated internally for every open bus-element switch an auxilary bus is created in the pypower case file. The pypower branch that corresponds to the element is then connected to this bus. This has the following advantages compared to modelling the switch by setting the element out of service:
When the power flow is calculated internally for every open bus-element switch an auxiliary bus is created in the pypower case file. The pypower branch that corresponds to the element is then connected to this bus. This has the following advantages compared to modelling the switch by setting the element out of service:

- loading current is considered
- information about switch position is preserved
Expand Down
2 changes: 1 addition & 1 deletion doc/elements/tcsc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ We implement the FACTS devices based on the following source:
A. Panosyan, "Modeling of advanced power transmission system controllers",
Ph.D. dissertation, Gottfried Wilhelm Leibniz Universität Hannover, 2010.

Thyristor-Controlled Series Capacitor (TCSC) device is a series element that controles the power flowing through its
Thyristor-Controlled Series Capacitor (TCSC) device is a series element that controls the power flowing through its
path by regulating its impedance.
The TCSC device is very similar to the Static Var Compensator (SVC) - in fact, it is its series counterpart.
Indeed, a TCSC device consists of a parallel circuit of a fixed capacitor and a reactor controlled by a pair of
Expand Down
Loading
Loading