Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new rule to generate heatmap time series plots for various network metrics such as marginal prices, utilisation rates, and state-of-charge profiles.
- Introduces a new plotting script (plot_heatmap_timeseries.py) for generating heatmap time series from network data.
- Updates the default configuration file to include settings for marginal prices, utilisation rates, and SOC heatmaps.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scripts/plot_heatmap_timeseries.py | Adds functions for unstacking time series data and plotting heatmaps, including handling of utilisation rates, marginal prices, and SOC metrics. |
| config/config.default.yaml | Extends configuration settings to support the new heatmap timeseries plots. |
Comments suppressed due to low confidence (1)
scripts/plot_heatmap_timeseries.py:20
- [nitpick] The parameter name 'sns' conflicts with the imported seaborn module alias. Consider renaming it to avoid confusion, for example to 'time_index' or 'date_range_cfg'.
def unstack_day_hour(s: pd.Series, sns: pd.DatetimeIndex) -> pd.DataFrame:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes proposed in this Pull Request
Examples:
Checklist
envs/environment.yaml.config/config.default.yaml.doc/configtables/*.csv.doc/data_sources.rst.doc/release_notes.rstis added.