0

Error: No plant data at this bus

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 !

rafaels100's avatar
29
rafaels100
asked 2018-11-09 14:08:32 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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])
perolofl's avatar
3.8k
perolofl
answered 2018-11-13 01:25:51 -0500
edit flag offensive 0 remove flag delete link

Comments

That worked, sorry for the stupid question. Thanks !

rafaels100's avatar rafaels100 (2018-11-14 11:02:34 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer