Skip to content
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

Adopt a more flexible case structure #9

Open
rwl opened this issue Jun 27, 2015 · 0 comments
Open

Adopt a more flexible case structure #9

rwl opened this issue Jun 27, 2015 · 0 comments

Comments

@rwl
Copy link
Collaborator

rwl commented Jun 27, 2015

In this branch I have been experimenting with a more flexible structure for case data:

https://github.com/rwl/PYPOWER-Dynamics/tree/pypf

I didn't want to have to update all of the OPF functions in PYPOWER so I moved the necessary PF functions into a new pypf package. There is still a dependency on PYPOWER for the remaining functions.

The new case data classes should make it straightforward to add columns for new attributes. By way of demonstration, I committed the 3 phase fault analysis function by @susantoj and added faultMVA, Rgen and Xdpp attributes.

I took the liberty of doing away with the BUS_I column. The former GEN_BUS, F_BUS and T_BUS columns are now assumed to be the zero-based bus index. This removes the need for ext2int and int2ext conversions, but may have some as yet unforeseen downsides. A convert_ppc function allows PYPOWER case data dicts to be reused and performs the necessary conversions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants