Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Replace variabel s with the generator id, e.g. '1'. You have also written i instead of _i for the first integer. The correct line is shown below:

ierr = psspy.machine_chng_2(81000, '1', [_i, _i, _i, _i, _i, 1], [P,])