-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Feature Request]: Missing option to select WattTime model version (Auditability) #260
Comments
Took some time to look into this and just wanted to add notes here: Note 1: Classification of this as a bug: Note 2: Supporting a Non-Public version of WattTime API: Note 3: Proposed Solution: |
from #384: post v1.1 release, this issue is relevant again to rediscuss and rethink the approach to it |
This issue has not had any activity in 120 days. Please review this issue and ensure it is still relevant. If no more activity is detected on this issue for the next 20 days, it will be closed automatically. |
This issue has not had any activity for too long. If you believe this issue has been closed in error, please contact an administrator to re-open, or if absolutly relevant and necessary, create a new issue referencing this one. |
FYI @Willmish - please reopen and remove stale tag accordingly |
Contact Details
GitHub/Slack: Willmish
What happened?
Currently, the CA SDK and API are both missing a Configuration option or alternatively an Endpoint parameter/CLI command parameter to select the version of the configured Data Sources (specifically - WattTime). This affects the auditability capability of the Carbon Aware SDK, as the users of it might not be able to reflect on decisions made using the SDK in the past, as new models might provide different data then returned by the Data Source previously.
FOR GSF members, see this thread for a further explanation: https://greensoftwarefdn.slack.com/archives/C023G5KJ6P5/p1674062862984559
As an example of how this might affect a real-world scenario, I ran this Python demo: https://github.com/Willmish/carbon-aware-sdk/tree/demo_sdk_notebook/samples/python-jupyter-notebook-webapi , back in October 2022 last year, and a few days ago. Here is a comparison of the Carbon intensity values for 2 different times of day, for the same Azure Region (
westcentralus
) and WattTime location (PACE
), for the same time period (June 2022 - August 2022).Run from October 2022:
Run from January 2023:
Clearly the resulting carbon intensity values differ significantly between those two runs.
As confirmed by @Henry-WattTime from WattTime, WattTIme updated their model for data prediction in November 2022, since the SDK is always using the most recent version of the model, it cannot access the older data.
Suggested solution
In my opinion, the second suggested option, although requires more code refactoring, is probably the one we would expect the SDK to have. Happy to hear out any alternatives.
client
WebAPI (Default)
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: