-
Can anybody help out with a few basic things like - the results do not indicate either the names or the bus numbers given in the inputs. How do I know which output result corresponds to which input bus or line?? For example, can I simply take the name-column of the net.bus dataframe and assign it to net.res_bus dataframe? Can I do the same with the net.res_line df?? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, the |
Beta Was this translation helpful? Give feedback.
Yes, the
net.bus
andnet.res_bus
dataframe have exactly the same indices. So you could to something likepd.concat([net.res_bus, net.bus.name], axis=1)
to have results and names in the same dataframe. Similar with all other result tables and their corresponding element tables.