Skip to content

Commit

Permalink
Merge pull request #257 from openego/fix/x-values-of-transformers
Browse files Browse the repository at this point in the history
change x of transformer since in pypsa the base power is the individu…
  • Loading branch information
ClaraBuettner authored Nov 20, 2024
2 parents b4c5131 + 3b13322 commit bb84edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/egon/data/datasets/osmtgmod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def to_pypsa():
branch_id AS trafo_id,
f_bus AS bus0,
t_bus AS bus1,
br_x/100 AS x, --- change base from 100MVA (osmtgmod) to 1 MVA (pypsa)
br_x/(100 * rate_a) AS x, --- change base from 100MVA (osmtgmod) to the its individual s_nom (pypsa)
rate_a as s_nom,
rate_a as s_nom_min,
TRUE,
Expand Down

0 comments on commit bb84edc

Please sign in to comment.