EnergySystemsModellingLab / MUSE_OS

Welcome to the MUSE-OS repository
https://muse-os.readthedocs.io/en/latest/
GNU General Public License v3.0
22 stars 9 forks source link

Modify plots in documentation notebooks #290

Closed tsmbland closed 4 months ago

tsmbland commented 4 months ago

Description

This PR makes a number of changes to improve the plots in the documentation. The main issue was that plots weren't properly displaying total capacity for each technology. As some of the results files contain multiple capacity values for a given technology in a given year (i.e. multiple assets), and these weren't being summed before plotting, the plots were showing a shaded region to represent the variability across assets, rather than the total (summed) capacity. Main changes:

Modify plots for the default run (Fixes #190):

Modify plots in the tutorial notebooks (Fixes #282):

Notes:

Key checklist

Further checks

tsmbland commented 4 months ago

@ahawkes I've been working through the notebooks to improve the figures. I'm currently using a mix of stacked bar charts and line graphs for the capacity figures (e.g. this vs this). Should we be more consistent with the type of plot we use, and do you have a preference between bar charts and line graphs (or something else)?

ahawkes commented 4 months ago

Thanks Tom - the stacked bar charts are way better for capacity - thanks for dealing with that.


From: Tom Bland @.> Sent: 07 May 2024 12:22 To: EnergySystemsModellingLab/MUSE_OS @.> Cc: Hawkes, Adam D @.>; Mention @.> Subject: Re: [EnergySystemsModellingLab/MUSE_OS] Modify plots in documentation notebooks (PR #290)

This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.

@ahawkeshttps://github.com/ahawkes I've been working through the notebooks to improve the figures. I'm currently using a mix of stacked bar charts and line graphs for the capacity figures (e.g. thishttps://muse-os.readthedocs.io/en/documentation/running-muse-example.html#Visualisation vs thishttps://muse-os.readthedocs.io/en/documentation/user-guide/add-solar.html#Running-our-customised-simulation). Should we be more consistent with the type of plot we use, and do you have a preference between bar charts and line graphs (or something else)?

— Reply to this email directly, view it on GitHubhttps://github.com/EnergySystemsModellingLab/MUSE_OS/pull/290#issuecomment-2098174008, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC37JLMVJ55OUJEYNB2PXW3ZBC2PPAVCNFSM6AAAAABHFHHZUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJYGE3TIMBQHA. You are receiving this because you were mentioned.Message ID: @.***>

alexdewar commented 4 months ago

This is much clearer. Good work!