-
Notifications
You must be signed in to change notification settings - Fork 502
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
pandapower data structure - which columns to add by default and which on the fly? #526
Comments
I'd prefer the second option, since I just stumbled upon the following case:
The bus DataFrame has now one entry with Therefore, it would be great to have something like:
which adds all columns necessary for the OPF and then sets the specified default values for each element if no value is defined. (Or it overwrites the set values when |
Maybe also a toolbox function which drops the non-default values / calculation specific values would be great. So one can reduce the size of the grid. |
Dear Pandapower Users, |
Hi @omar49san , The transformer modeling is done using a T model transformer in pandapower unbalanced load flow and single-phase short circuit for accuracy, I would suggest As for the additional parameters vk0 & vkr0 are generally the same as vk and vkr si0_partial_hv is the distribution of SC impedance towards hv side. So, 0.9 value means most of the impedance is towards the HV side. We took the sample values from a commercial software standard type, but if you can find something with zero sequence parameters of distribution transformers, you are welcome to share the source. vk0 and vkr0 are basically for leakage impedance (copper losses) and mag0_percent is a ratio between Iron and copper losses and iron losses for zero-sequence (Zmag0 / Zsc0 ). |
Hi @shankhoghosh |
Conclusion so far:
|
With growing analysis capabilities of pandapower, we have added many additional parameters for the different elements. Some of them are added when creating an empty network, others are not considered as part of the core data structure, and we add them on the fly.
All power flow parameters are mandatory and added by default. For other analysis, certain columns have to be added:
Until now our philosphy has been that these columns do not exist in the data frames, but are created if they are specified in the element creation. So creating a gen with minimum active power for OPF:
pp.create_gen(net, min_p_mw=10)
adds the column is added to the data frame. The downside of that is that the user does not see which columns need to be specified, because they are not in the data frame until they are actually specified. My suggestion would be to switch to a system where the columns that should be added are specified at empty_network_creation:
or
The text was updated successfully, but these errors were encountered: