Skip to content

Comments

334 change minimum service factor for default timeslices model#403

Merged
HarmonicReflux merged 2 commits intodevelopfrom
334_change_MinimumServiceFactor_for_default_timeslices_model
Jul 9, 2024
Merged

334 change minimum service factor for default timeslices model#403
HarmonicReflux merged 2 commits intodevelopfrom
334_change_MinimumServiceFactor_for_default_timeslices_model

Conversation

@HarmonicReflux
Copy link
Collaborator

Description

I set the MinimumServiceFactor for the power sector in TechnodataTimeslices.csv to zero and deleted the corresponding unused file in the residential sector. Moreover, I reworked the documentation in the explanatory tutorial notebook and re-run the models using generate_models.py and run_models.py such that the changes are picked up by the results files.

Fixes #334

Type of change

Please add a line in the relevant section of
CHANGELOG.md to
document the change (include PR #) - note reverse order of PR #s.

  • New feature (non-breaking change which adds functionality)
  • Optimization (non-breaking, back-end change that speeds up the code)
  • [x ] Bug fix (non-breaking change which fixes an issue)
  • Breaking change (whatever its nature)

Key checklist

  • [ x] All tests pass: $ python -m pytest
  • The documentation builds and looks OK: $ python -m sphinx -b html docs docs/build

Further checks

  • Code is commented, particularly in hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

…aTimeslices.csv for residential sector. Also, reworked relevant part of the notebook documentation.
@codecov
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.36%. Comparing base (d91476d) to head (ec75afb).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #403      +/-   ##
===========================================
- Coverage    71.39%   71.36%   -0.04%     
===========================================
  Files           44       44              
  Lines         5915     5915              
  Branches      1162     1162              
===========================================
- Hits          4223     4221       -2     
- Misses        1370     1371       +1     
- Partials       322      323       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@tsmbland tsmbland left a comment

Choose a reason for hiding this comment

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

Looks good to me!

"| windturbine | R1 | 2020 | all-year | all-week | afternoon | 1 | 0 |\n",
"| windturbine | R1 | 2020 | all-year | all-week | early-peak | 1 | 0 |\n",
"| windturbine | R1 | 2020 | all-year | all-week | late-peak | 1 | 0 |\n",
"| windturbine | R1 | 2020 | all-year | all-week | evening | 1 | 0 |\n"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks a lot uglier on github than it did in pycharm, but it's probably still fine

Copy link
Collaborator

Choose a reason for hiding this comment

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

Actually it depends on the screen width

@HarmonicReflux HarmonicReflux merged commit 2e8e1b5 into develop Jul 9, 2024
@HarmonicReflux HarmonicReflux deleted the 334_change_MinimumServiceFactor_for_default_timeslices_model branch July 9, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Change MinimumServiceFactor for default_timeslices model

2 participants