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

LCFS - BUG Notional amount transferred away resulting in a penalty #1463

Open
Grulin opened this issue Dec 16, 2024 · 1 comment
Open

LCFS - BUG Notional amount transferred away resulting in a penalty #1463

Grulin opened this issue Dec 16, 2024 · 1 comment
Labels
bug Something isn't working Compliance Reporting Medium Medium priority

Comments

@Grulin
Copy link
Collaborator

Grulin commented Dec 16, 2024

Describe the Bug
The penalty formula on line 10 incorrectly includes notional transfers of fuel away from the organization in calculating the renewable requirement penalty. As a result, organizations are erroneously penalized for notional transfers of fuel that are reported on another organization's compliance report. For instance, in the example provided, a gasoline category notional transfer away is incorrectly resulting in a renewable requirement penalty.

Expected Behaviour
Only received notional transfers of fuel should contribute to the renewable requirement penalty calculation on line 10. Notional transfers away from the organization should be subtracted from the total on line 10.

Actual Behaviour
Notional transfers of fuel away from the organization are erroneously feeding into the penalty formula as a positive value, resulting in an incorrect renewable requirement penalty. This is likely due to the formula treating the received and transferred values as the same when adding line 5 in to the line 10 formula. If the value is transferred, it should be negative in the formula and if it is received, it should be positive in the formula.

Image

Implications
Organizations may be penalized incorrectly, leading to inaccurate compliance reports and potential financial impacts.

Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: BCeID

  1. Submit a compliance report with a gasoline category notional transfer away from the organization and no other fuel reported.
  2. Review the penalty calculation on line 10.
  3. Observe that the penalty incorrectly includes the notional transfer away in the renewable requirement penalty.
@Grulin Grulin added bug Something isn't working Compliance Reporting Medium Medium priority labels Dec 16, 2024
@Grulin
Copy link
Collaborator Author

Grulin commented Dec 16, 2024

Also found this error in TFRS test environment:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Compliance Reporting Medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant