First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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,])