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

Ask Your Question
0

Define new area

asked Dec 3 '4

FM gravatar image

I am using sample.raw file, wants to define/add area using python command line. I have added code defining parameters. It does not show any error in the output bar but does not update/add parameters in network data. Kindly guide.

1 answer

Sort by » oldest newest most voted
0

answered Dec 4 '4

perolofl gravatar image

To add area 7 with name "NEW AREA" use:

ierr = psspy.area_data(7,_i,[_f,_f],r"""NEW AREA""")

For explanation of ierr see the API manual.

link

Comments

Thanks for the answer

FM gravatar imageFM (Dec 4 '4)

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

1 follower

Stats

Asked: Dec 3 '4

Seen: 354 times

Last updated: Dec 04 '24