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

GSYE-775: Use price settings of loads and pvs for the FIT and MMR in … #1840

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

Conversation

hannesdiedrich
Copy link
Member

…the homes when running in non-P2P mode

Reason for the proposed changes

Please describe what we want to achieve and why.

Proposed changes

INTEGRATION_TESTS_BRANCH=master
GSY_FRAMEWORK_BRANCH=master

Comment on lines +59 to +60
energy_sell_rate = self._energy_sell_rate if mmr is None else mmr
energy_buy_rate = self._energy_buy_rate if fit is None else fit
Copy link
Member Author

Choose a reason for hiding this comment

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

The mmr and fit will never be None, because of the default values of the strategies.
So, this if statement does not have an effect and the user can not globally change the MMR and FIT via the one market maker. They have to individually change the rates in the strategies.
I wonder if this is a good approach or wether we should add some setting/flag that toggles using the global market maker or not.
What do you think @spyrostz ?

Copy link
Member

Choose a reason for hiding this comment

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

Hmm , this I need to check, because if I recall correctly these strategy parameters are overridden if a global market maker rate is set. Editing the comment in a bit

Copy link

codecov bot commented Feb 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.70%. Comparing base (d9c43fc) to head (b42146b).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1840      +/-   ##
==========================================
+ Coverage   69.55%   69.70%   +0.14%     
==========================================
  Files         150      150              
  Lines       14283    14298      +15     
  Branches     2678     2680       +2     
==========================================
+ Hits         9935     9966      +31     
+ Misses       3822     3808      -14     
+ Partials      526      524       -2     
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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