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

Roundtable scenarios summary notebook and results #24

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

eglucas
Copy link
Contributor

@eglucas eglucas commented Jan 16, 2025

Please could you review the new notebook roundtable_scenarios.py - it follows the same structure as report_scenarios_summary_v2.py with some streamlining improvements, as well as another results dataframe that is written in the Excel output with levy rates for each levy and scenario.

The requested scenarios were:

  1. Rebalance RO+FiT from Electricity to Gas, increase WHD by a factor of 3.0
  2. Rebalance RO+FiT from Electricity to Gas, increase WHD by a factor of 3.0, shift WHD from standing charge to variable (on both electricity and gas)
  3. Rebalance RO+FiT from Electricity to Gas, Remove ECO from gas to taxation, increase WHD by a factor of 3.0
  4. Rebalance RO+FiT from Electricity to Gas, Remove ECO from gas and electricity to taxation, increase WHD by a factor of 3.0

Please pay special attention to:

  • The definition of weights for each scenario
  • The creation of a new set of Levies with an uplifted WHD
  • The implementation of .apply_social_support_adjustment() to WHD eligible consumers
  • The output Excel workbook and that results are as expected

columns="Attribute",
values="Value",
aggfunc="first",
).reset_index()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add .rename_axis(None, axis=1) to scenarios_summary chain if you want to drop the index column header.

Copy link
Contributor

@danlewis85 danlewis85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked all aspects of the code and it produces the expected results.

Really nice work.

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

Successfully merging this pull request may close these issues.

2 participants