Skip to content

How to know which result output corresponds to which bus or line? #1429

Answered by jkisse
amaity asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the net.bus and net.res_bus dataframe have exactly the same indices. So you could to something like pd.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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jkisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants