The carbon tax calculation only considers the fuel type, not the emission category. Not all emission categories are subject to carbon tax. Only General Stationary Combustion, Venting, Flaring and On-Site Transportation fuels should be carbon-taxed.
If CAS could point us to the legislation/policy related to this, it should be added to the table metadata, to ensure that anyone looking at it can understand where this comes from
Probability (1-5): 3
Effect (1-5): 3
Steps to reproduce the behaviour:
Create (or look at) an application when a fuel is reported with another category (e.g. Fugitive). When comparing with CAS's internal tool, we should see discrepancies
Additional information:
To fix this, I would add a carbon-taxed column to the ggircs_portal.emission_category table, and use it in the ggircs_portal.application_revision_carbon_tax function.
Describe the Bug:
The carbon tax calculation only considers the fuel type, not the emission category. Not all emission categories are subject to carbon tax. Only
General Stationary Combustion
,Venting
,Flaring
andOn-Site Transportation
fuels should be carbon-taxed.If CAS could point us to the legislation/policy related to this, it should be added to the table metadata, to ensure that anyone looking at it can understand where this comes from
Probability (1-5): 3
Effect (1-5): 3
Steps to reproduce the behaviour:
Create (or look at) an application when a fuel is reported with another category (e.g. Fugitive). When comparing with CAS's internal tool, we should see discrepancies
Additional information: To fix this, I would add a
carbon-taxed
column to theggircs_portal.emission_category
table, and use it in theggircs_portal.application_revision_carbon_tax
function.