Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandapipes to Excel (xlsx) #248

Open
jkisse opened this issue Feb 16, 2021 · 0 comments
Open

pandapipes to Excel (xlsx) #248

jkisse opened this issue Feb 16, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jkisse
Copy link
Collaborator

jkisse commented Feb 16, 2021

Sometimes it would be handy to have an export option from pandapipes to Excel.
A brief test showed that pandapower's to_excel works to a large exentend also for pandpipes networks:

import os
from pandapipes import networks as nw
from pandapower.file_io import to_excel

net = nw.schutterwald()
path = os.path.join(os.getcwd(), "Schutterwald.xlsx")
to_excel(net, path)

However, some pandapipes-particularities can not be processed:

hp.pandapower.io_utils - WARNING: Could not serialize net.fluid
hp.pandapower.io_utils - WARNING: Could not serialize net.component_list
hp.pandapower.io_utils - WARNING: Could not serialize net.std_type

This is because they are not pandas dataframes.

@jkisse jkisse added the enhancement New feature or request label Feb 16, 2021
@SimonRubenDrauz SimonRubenDrauz self-assigned this Mar 29, 2021
@kbensafta kbensafta added the good first issue Good for newcomers label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants