You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem when I try to plot my energy system consisting of oemof solph components (I use only newer components like Converter instead of Transformer to get rid of DeprecationWarnings.
After manually "fixing" some minor issue with labels (please also see issue #9),the problem is that the connections between Buses and Components are not drawn, moreover it seems not to correctly get the types of some components (like Sources, Sinks, ..). See the attached photo (excerpt):
The text was updated successfully, but these errors were encountered:
my suggested fix would involve changing the imports from
from oemof.network.network import Bus, Sink, Source, Transformer
to
from oemof.solph.buses import Bus
from oemof.solph.components import Sink, Source, Converter, GenericStorage
(as well as also changing Transformer in the then following code to Converter as well)
However, I am not completely sure if this then would also still work if oemof.network components are used, so there should be some checks; also the Error Handling should be adjusted accordingly.
Would be happy to see some update / fixes of the package addressing these issues
I also did some fork and did some updates so that it is working for me (https://github.com/joe29k/oemof-visio) but use it only at your own risk and be aware of the mentioned limitations (I might delete it sometime)
There is a problem when I try to plot my energy system consisting of oemof solph components (I use only newer components like Converter instead of Transformer to get rid of DeprecationWarnings.
After manually "fixing" some minor issue with labels (please also see issue #9),the problem is that the connections between Buses and Components are not drawn, moreover it seems not to correctly get the types of some components (like Sources, Sinks, ..). See the attached photo (excerpt):
The text was updated successfully, but these errors were encountered: