3 phase transformer losses division by 3 #1201
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As based on #1073, the overall trafo losses have to be divided by 3 phases for 3 phase calculations.
This request does that only for 3 phase calculations (using runpp_3ph) and shows more consistent results for the bus P_mw values for a variety of tested grids. The comparison is made to the results of the same (but balanced) grid, calculated using runpp.
I.e. for a unbalanced version of the SimBench LV-rural2 grid, it shows the following results on buses:
Before change - Max. Difference of p_mw between 1 and 3 phase:
0.0019667287444448955
In percent, this means:
3.3230423588091575
After change - Max. Difference of p_mw between 1 and 3 phase:
0.00015141917685417006
In percent, this means:
0.2558422660184597