Ask Your Question
0

Define new area

asked 2024-12-03 14:22:23 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2024-12-04 10:44:02 -0500

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.

edit flag offensive delete link more

Comments

Thanks for the answer

FM gravatar imageFM ( 2024-12-04 12:32:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2024-12-03 14:22:23 -0500

Seen: 28 times

Last updated: 2 hours ago