Open chefPony opened 4 years ago
My first question is how should I model this situation in pandapower?
As you know, the standard has correction factors that are specific to transformer, generators etc. which are applied internally. So I would always use the transformer model to model transformers and the generator model to model a generator, instead of combining multiple elements into one.
My second question is: shouldn't the two approach above be equivalent ?
If you account for all the correction factors, and the fact that the voltage level that the elements are connected to (15/0.4) have an impact on the impedances if they are given in per unit, both approaches should in fact be the same.
I made a simple test to illustrate this situation and it appears they are not.
On the surface your approach looks valid, but there are a lot of factors to take into account, and the calculation of the correction factors is not trivial, especially because of the different voltage levels. However, I don't have the time right now to go through your calculations in detail... I would focus on how to model the elements seperately correctly, not on combining them into one.
On the surface your approach looks valid, but there are a lot of factors to take into account, and the calculation of the correction factors is not trivial, especially because of the different voltage levels. However, I don't have the time right now to go through your calculations in detail... I would focus on how to model the elements seperately correctly, not on combining them into one.
In the simple example above the correction factor for transformers was explicitly neglected, which other correction factors are you referring to? My understanding is that all impedances are given, or converted internally, in per unit so different voltage levels should not be of concern. I'll follow your advice and model the elements separately since this should be the correct approach. However, my suggestion is to investigate this further since "on paper" the two calculation should give identical results; the fact it seems they are not, in pandapower, could be a bug.
While posting my own issue I have found this example, it seemed intriguing enough, so I recopied the code and tried to get the same bus1 ikss values for both models. In process I did some little changes to the model and found one unclear place in Pandapower, description follows. 1) In the first model the 0.4 kV generator is connected to 15 kV bus, I have changed generator vn_kv to 15 kV, i. e. the vn_kv spec has been changed to 'vn_kv': 15.0 For the second model the generator is connected to 0.4 kV bus, so under the lines gen_2 = gen gen_2['bus'] = 2 was added this line gen_2['vn_kv'] = 0.4. During the short circuit calculation the value xdss_pu=3 is changed to 6 ( multiplication by "kg / sn_gen" in routine "_add_gen_sc_impedance" in build_bus.py ) and the value xdss_pu=2 is changed in similar way to 4. So the difference that must be "covered" by trafo is 6-4=2, i.e. : trf_vk_perc / 100.0 / trf_sn net_sn = 2.0 because net_sn=1.0 trf_vk_perc = 2.0 trf_sn 100.0 = 2.0 0.63 100.0 = 126.0 % With this value for vk_percent in trafo definition and with the gen voltage level adjusted to the connection bus, the resulting ikss in bus1 were the same for both models. 2) While stepping through Pandapower code I have found one place that is unclear to me : module "build_bus.py", routine "_add_gen_sc_impedance", calculation of kg kg = vn_gen / vn_net cmax / (1 + xdss_pu np.sin(phi_gen)) In my edition of IEC 60909-0, 6.6.1, (18) KG = Un / UrG cmax ... i.e. the order of Un and UrG is reversed.
@chefPony is this still open? Are you still working on this project? Or can it be closed?
Hello, I would like to run a 3ph short circuit calculation of a MV net (
15 kv
) with some LV generators (0.4 kv
). My generators are characterized by a subtransient reactance (xdss_pu_gen
) + short circuit reactance of the transformer (xcc_pu_trafo
) on the network side. My first question is how should I model this situation in pandapower? The first 2 alternatives that come to mind are:put
xdss_pu = xcc_pu_trafo+ xdss_pu_gen
in the generator element and connect it directly to 15 kv busput
xdss_pu = xdss_pu_gen
in the generator element and connect it to a 0.4 kv bus, then connect this bus to a 15 kv bus with a trafo element withvk_percent
set accordinglyMy second question is: shouldn't the two approach above be equivalent ? I made a simple test to illustrate this situation and it appears they are not.
Import
First approach: simple net 1
Second approach:
First I have to get rid of the transformer correction factor so to have the same equivalent impedance in the two circuits:
If I solve the shortcircuit for the two circuits:
I would have expected ikss_ka at bus 1 to be identical in the two cases but it's not, is this expected?