First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hello,
Going through the API, I have noticed that there are a bunch of functions which return a value. An example of this would be the function 'abusint', where in the script, you can store something as 'bus = abusint(...)'.
My question is if there is a way to do this for the functions that don't specify that they return a value.
My specific case includes the fnsl function. From my understanding, calling this function executes the newton load flow study and outputs the results in the python terminal. Is there a way to store these results in my own variable so that I can reference them and store them into excel?
There is a case where executing a fault study analysis and exporting the results to excel was done using the pssarrays class, (object = pssarrays.iecs_currents) and this would return an object which you could access in python and grab its results for different cases (3phase, line to line etc...)
How can you do this using the API functions such as fnsl and others?
Thanks a tonne in advance!