Ask Your Question
0

Error: No plant data at this bus

asked 2018-11-09 14:08:32 -0500

rafaels100 gravatar image

Hello! I am trying to insert machines in a bus and im getting this error. Im using the function machinedata2 with the following arguments: psspy.machinedata2(i=601, id=str(i), intgar=[1, 0, 0, 0, 0, 1], \ realar=[300, 80, 9999, -9999, 9999, -9999, \ 100, 0, 1, 0, 0, 1, 1 , 1, 1, 1, 1]) It works only after I manually insert at least one machine at the specified bus, only then im able to insert all the machines i want using this function. I would like to know how to insert the first bus without getting this error. Thanks !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-11-13 01:25:51 -0500

perolofl gravatar image

You don't understand the basics of PSSE. You can only add a generator at a Plant, not at an ordinary type 1 bus.

First create a plant with:

psspy.plant_data(601,0,[ 1.0, 100.0])
edit flag offensive delete link more

Comments

That worked, sorry for the stupid question. Thanks !

rafaels100 gravatar imagerafaels100 ( 2018-11-14 11:02:34 -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: 2018-11-09 14:08:32 -0500

Seen: 617 times

Last updated: Nov 13 '18