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

flows() doesn't work if a scenario is loaded from a .dflx file #32

Open
jschmidl opened this issue Aug 17, 2021 · 0 comments
Open

flows() doesn't work if a scenario is loaded from a .dflx file #32

jschmidl opened this issue Aug 17, 2021 · 0 comments

Comments

@jschmidl
Copy link

found this issue when trying to create a graph from a scenario:

When running sc.plot_nodes(filename=graph_path) that i created and computed from a xlsx file it works fine. But when i dump the scenario and then load it again, the same function does not work anymore:

sc.dump(dump_path) sc1 = tools.files.restore_scenario(dump_path) sc1.plot_nodes(filename=graphPath)

will yield an error in the flows() function of oemof/networks/energy_systems.py.

It looks like somehow the scenario gets corrupted during the dump/load process... Maybe it's a pickle issue?

System: Windows 10
python-version: 3.8
deflex-version: "0.3.1dev0"
oemof-version: '0.3.2'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant