Pass variables through python API functions?
I'm trying to do something like: ierr = psspy.solutionparameters4([100, FDNSiter, 40, 100, 10],[1.6, 1.6, 1.0, 0.0001, FDNSaccn, FDNStoln, 1.0, 0.00001, FDNSbln, 0.7, 0.0001, 0.005, 1.0, 0.05, 0.99, 0.99, 0.1, 0.00001, 100.0])
It seems to be rejecting the variables I pass through like "FDNS_iter" even though I force the variable to be an integer type. It consistently throw an error of "Type Error: must be a real number, not a str" so somehow defining the variable as an integer isn't be recognized so I'm wondering if the PSSE API isn't able to pass variables through functions period.