Hello Johnny,
On Sep 3, 6:16 pm, Johnny <
yggdra...@gmx.co.uk> wrote:
> I just found PyPower and was really glad to see some power systems code
> already available for working with in Python, as I've been scouting for
> some power systems tools in Python for a while. Being reasonably new to
> Python as well, it would be interesing to hear:
>
> 1) Are there any other promising power system tools for Python out there?
Dome by Federico Milano is very promising.
http://www.uclm.es/area/gsee/web/Federico/dome.htm
I'd highly recommend the accompanying book too. OpenDSS can be
accessed from Python via the COM interface.
http://sourceforge.net/projects/electricdss/
I am working on a Python translation of OpenDSS, but it is far from
completion.
http://pypi.python.org/pypi/pydss
>
> 2) Is there any source of simple tutorials available to run from Python,
> or is the Matpower site the best source?
PyPower has much the same API as Matpower. The Matpower manual and
mailing list should help you to get started.
>
> 3) The first thing I did after I got the modules imported in Python was
> to suppress the default printing to stdout (i.e. commenting out line 291
> in runpf.py; "printpf(results, stdout, ppopt)"). At least it would be
> reasonable to get no output if a file is given, but even so the screen
> gets cluttered. Or am I missing some obvious option?
The OUT_ALL option will allow you to suppress the output. Try:
ppopt = ppoption(OUT_ALL=0, VERBOSE=0)
runpf(ppc, ppopt)
>
> 4) What are the plans for PyPower and how active is development?
I will try to keep up with future versions of Matpower. The branch
based on v3.2 is not fully working yet. I'm working on a non-linear
solver in Python to include as it currently relies on PyIPOPT.
>
> 5) How does the google groups mailing list work? Can I just be added to
> the subscription as for a normal mailing list, a.k.a. 'join'?
I think if you join the group new posts will be emailed to you.
>
> Thanks for a great package so far!
I'm glad you appreciate it. I am working on a Java translation too if
you are interested:
http://github.com/rwl/JPOWER
>
> --
> Johnny