-
Notifications
You must be signed in to change notification settings - Fork 6
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
Write results to cope with PyPsa #18
Comments
This will be done by ZNES, too. Let's create synergy here! |
Good point. Let us just make the output choosable. :) |
Yes, this will happen. The idea is to simply add another "export_csv" function, that automatically calculates the values and exports the corresponding tables. |
We decided to create an independent tool that reads the osmTGmod result data, processes it in Python and writes PyPSA tables into another database (which in ZNES's case is the project database, but this can be easily adapted). This tool will be available soon. |
Is this tool already available? I am about to write something to convert osmtgmod csv output data to pypsa csv input data - but would of course prefer to use something existing rather than to code on my own. |
Hi MatthiasKI, |
Thank you for the advice. I did it like this, only started on the csv output instead of the PostgresDB. It tunred out to be only few lines of coding, the main "challenge" was transformation of coordinate notation from wkb to normal numbers. Furtunately, shapely does this. So after all, indeed no need for whatever tool to get the network to pypsa. |
Results shall optionally (and maybe also by default) be formated in a way, that PyPsa can red them.
The text was updated successfully, but these errors were encountered: