First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
"Type Error: must be a real number, not a str" The array of reals is:
[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]
So make sure all variables are of type float, like FDNSaccn = float(FDNSaccn)
Just to clarify, are you working on the default environment or in jupyter, spyder, conda, etc.?