First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Genetic Algorithm - Python

asked Mar 29 '14

anonymous user

Anonymous

Can we do genetic algorithm by python and use it in PSSE?

Comments

If you can dream it, it can be done... Do you have a more specific question?

jsexauer gravatar imagejsexauer (Mar 31 '14)

I try do it in my dream but i failed... Thanks

Towana gravatar imageTowana (Apr 8 '14)

2 answers

Sort by » oldest newest most voted
1

answered Mar 6 '18

jfconroy gravatar image

Of course you can. That's the great strength of Python, it is extendable. There are a number of online examples of genetic algorithms written in Python. All you have to do is figure out how to read and write the required data from/to PSSE during the execution of the algorithm.

link
0

answered Mar 12 '18

wibowo gravatar image

Yes you can. I once coded GA to optimize fault current limiter location and size. There are several GA libraries available out there. My recommendation is pyeasyga (https://pypi.python.org/pypi/pyeasyga). It's easy to use and it has several examples of implementation.

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Mar 29 '14

Seen: 624 times

Last updated: Mar 11 '18