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

Carbon Calculator - implement different carbon values by location #960

Open
BradHN1 opened this issue Apr 19, 2024 · 1 comment · May be fixed by #1009
Open

Carbon Calculator - implement different carbon values by location #960

BradHN1 opened this issue Apr 19, 2024 · 1 comment · May be fixed by #1009
Assignees
Labels
API API carbon calculator Specific to carbon calculator app enhancement New feature or request

Comments

@BradHN1
Copy link
Contributor

BradHN1 commented Apr 19, 2024

User Story.
As a Community Admin or User
I want the carbon savings to reflect where actions are taken (if appropriate)
So that they will be more accurate

Additional details/context
We are now working with a large community in Vermont, but our carbon calculations are all done for Massachusetts. Even within Massachusetts there are communities with MLPs or CCA where the average carbon values can be quite different. The carbon calculator envisioned this by having locality dependent values, but this functionality has not yet been used.

The Carbon Calculator method AverageImpact()) is used to determine carbon values based on date, and has an optional Locality which hasn't been used so gets the value "default". My plan is to pass in the Location json from the real estate unit where an action is taken. AverageImpact will use that to determine whether there is specific value for that community, or for that county, or for that state, in that order. If not the default value will be used.

To be implemented behind a feature flag so only will take effect for certain communities, until ready to be more generally released.

Value added.
What do you think the value of adding this feature is? Help managers and developers know how this should be prioritized.

Acceptance criteria.
The conditions that must be met for this to be done. For example, for a login feature: User is securely and reliably logged in until timeout or manual sign-out.

@BradHN1 BradHN1 added enhancement New feature or request carbon calculator Specific to carbon calculator app API API labels Apr 19, 2024
@BradHN1 BradHN1 self-assigned this Apr 19, 2024
@BradHN1 BradHN1 moved this to Sprint Backlog in MassEnergize Software Apr 19, 2024
@apowelka apowelka moved this from Sprint Backlog to Product Backlog in MassEnergize Software Apr 26, 2024
@BradHN1 BradHN1 moved this from Product Backlog to Local Testing (Verification) in MassEnergize Software May 22, 2024
@BradHN1
Copy link
Contributor Author

BradHN1 commented May 22, 2024

Carbon calculator default values are in general for a "default" location, but can be defined for a city or town (for example "Concord-MA"), or for a county (for example "Addison County-VT") or for a state (for example "VT"). For a community or real estate unit with a location, we search for default values in this order, first for the town, then for the county, then for the state, and finally use the default value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API carbon calculator Specific to carbon calculator app enhancement New feature or request
Projects
Status: Local Testing (Verification)
Development

Successfully merging a pull request may close this issue.

1 participant