Open ulfmueller opened 5 months ago
Sure, I can do that. The plot I used the most is plot_grid. This function can visualize many different results. I would start with these settings:
your_etrago_object.plot_grid(
line_colors='expansion_abs',
bus_colors='storage_expansion',
bus_sizes=0.0000001,
scaling_store_expansion={
"H2": 50,
"heat": 200,
"battery": 10},
)
In the docstring of that function, you find the other options for line_colors
and bus_colors
that you should try out. I tested all combinations before the latest release, so they all should work well.
Afterwards, I would test flexibility_usage. You can find the available flexibility options that can be plotted in the if
-statements.
The plot plot_carrier is also quite new and should work well.
I can extend this list later on, but I guess this is already enough as a starting point.
Thanks @ClaraBuettner, I will update you on the coming Monday.
@ulfmueller , @ClaraBuettner, I created two clear separate environments for eTraGo 0.90 and the current dev branch. The same period of time (72h, 300h, 1000h) was used for running each version of eTraGo. Using the dev branch environment, the results of plotting for both eTraGo versions were compared to each other. The plotting was examined for the "plot_grid" function, focusing on two options: 1. line_color, 2. bus_color. Generally, the results of plotting were similar, and some issues were identified during the examination of the plots, as provided below:
B. For the "h2_battery_storage_expansion" option: The color of overground and underground is similar. H2_underground and overground buses appear without any grid connection, unlike the battery. *No legends are available.
C. For the 'gen_dist' option: *No legends are available.
D. For 'ramp_up & ramp_up' options: *The plot isn’t able to generate the graph, indicating that the bus is not recognized in the DataFrame.
I will continue checking the plotting results, including "flexibility_usage," and welcome any feedback on my progress.
In our latest release the plotting functions were tested and should work as desired. Please create a clean environment with that release and test the plotting functions and compare the results with the corresponding plotting function and setting but taking the current dev branch. If you find out issues/bugs, please create an issue and/or try to fix them in a features Branch (please create one, being named s.th. like 'features/#numberofthereferringissue-e.g-this-one
@ClaraBuettner can you provide a list of the rather standard and well working plotting functions? - so @smhsadat can start with them.