Open dfurquim opened 3 years ago
Dear @dfurquim ,
sounds good! Maybe it would also be a good idea to have an option to specify the type of generators, gen or sgen. Please feel free to open a pull request!
Best regards, Roman
Dear @rbolgaryn ,
Thanks for your reply. I'll try to contribute with a pull request when I have time. I just need to get more familiar with the code. If anyone is already on it, I'll be happy to give any support you may need.
Kind regards, Derick
I'm attempting to run a short-circuit calculation in a network containing a dc line. However, when running
pandapower.shortcircuit.calc_sc
there is an error where anan
value is detected in theYbus
matrix.I suppose the problem is that pandapower models the dc line as two decoupled generators but there aren't any inputs regarding the short-circuit calculation (
vn_kv
,xdss_pu
,rdss_ohm
,cos_phi
). This two generators are created within the functionpandapower.auxiliary._add_dcline_gens
without assigning any values to the short-circuit parameters. Thus, they are created withnan
as the default value.Although these generators may be sufficient to model the behavior of the dc line in a power flow study, perhaps they are not well suited to model the behavior of the dc line converters in a short-circuit study.
I would like to propose the following fixes:
1) To use the static generator element instead of the voltage controlled generator element for modeling the two decoupled generators 2) The
pandapower.create_dcline
should have an input argument for the ratio of nominal current to short circuit current (inverters typically have control system that limits the injection of ac current during a fault).PS: I'm using pandapower 2.7.0.