-
Notifications
You must be signed in to change notification settings - Fork 13
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
Incorrect Handling of X and R Values for Transformers During LOPF #743
Comments
I think you are right - we will change that accordingly. It also brings up another potential error concerning the x and r values - as pypsa uses a transformer specific s_nom per unit calculation and we used originally a global base s_nom. Thanks for bringing that up - we will follow up on it. Just as an additional information: We really never stumbled into these problems since we have never done any important and bigger calculation on the original topology (due to computational burden). The transformers and their behavior is completely neglected then once using the spatial clustering approaches. |
I had a look at the pypsa-scripts that set the constraints in the end (pf.py, function calculate_dependent_values). |
Hey :) thank you for the follow up! I'm not sure if I completely understand it. I'll make an example to better do so and let's take this standard transformer from osmTGmod with I don't see why |
Issue Description:
Currently, the handling of X and R values in the network during lopf is incorrect. The values are given in per unit (p.u.) with reference to s_nom for transformers while for lines it's in Ohm. Therefore for transformers it should remain constant even when network expansion and s_nom increases occur. However, these values are currently being adjusted, leading to significantly incorrect values.
See:
eTraGo/etrago/execute/__init__.py
Lines 52 to 108 in 5709025
Expected Behavior:
X and R values should remain constant in per unit (p.u.) with reference to s_nom for transformers, regardless of network expansion and s_nom increases.
The text was updated successfully, but these errors were encountered: