Bus vectors PSSE/E + Python
Hello,
I'm running a Python code in which I call PSSE/E to solve a power flow. I would like to obtain all the bus variables of the grid: Voltages, angles, active power and reactive power. One way is using a "for" loop and extract each variable of each bus one-by-one (example, with psspy.busdat(i ,'PU') ). Please, does anyone know if there is another method to obtain the variables of all the buses in a vector form? i.e, I would like to obtain the whole vector at once and do not use loops.
Thank you Javier
Thank you very much. The funciton psspy.abusreal() worked fine!