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

Dropping factor where CO2 > 100 for entire country/commodity? #24

Closed
WesIngwersen opened this issue Jan 17, 2024 · 10 comments
Closed

Dropping factor where CO2 > 100 for entire country/commodity? #24

WesIngwersen opened this issue Jan 17, 2024 · 10 comments
Assignees
Labels
help wanted Extra attention is needed import_factors

Comments

@WesIngwersen
Copy link
Collaborator

WesIngwersen commented Jan 17, 2024

https://github.com/USEPA/USEEIO/blob/c4eb1700cdaf1345a584a81dbf94e74f2e3f8681/import_factors_exio/useeio_imports_script.py#L88C64-L89C52

for 2012 it appears 83 of 9800 rows which are by EXIO commodity and EXIO sector get dropped, which is not a high percentage, but still I I don't think this is justifiable.

@bl-young
Copy link
Collaborator

I've compared the aggregate national factors when outliers are not excluded to the original approach. Where there is a difference greater than 5% only occurs in 4 sectors: 22, 212, 213, 562. The majority are in 22 where EFs can be several times greater 3-7x.

@bl-young
Copy link
Collaborator

For 22, it is mostly due to changes in APAC and MX. I"m trying to track down why there are imports from APAC for utilities.

"Technical, trade-related, and other business services",TechTradeRelatedOth,221100

^^ @Jnamovich can you confirm where this BEA service mappings comes from

@WesIngwersen
Copy link
Collaborator Author

For 22, it is mostly due to changes in APAC and MX. I"m trying to track down why there are imports from APAC for utilities.

"Technical, trade-related, and other business services",TechTradeRelatedOth,221100

^^ @Jnamovich can you confirm where this BEA service mappings comes from

I could potentially see this being used by U.S. military bases in the Indo-Pacific. https://crsreports.congress.gov/product/pdf/R/R47589

@Jnamovich
Copy link
Collaborator

For 22, it is mostly due to changes in APAC and MX. I"m trying to track down why there are imports from APAC for utilities.

"Technical, trade-related, and other business services",TechTradeRelatedOth,221100

^^ @Jnamovich can you confirm where this BEA service mappings comes from

Those were manually developed mappings in the absence of a robust concordance between BEA services and detail codes. Since the 22 detail sectors didn't map to any Census imports categories, I felt that I needed to map it to one of the service categories and this seemed to be the most appropriate of our options. That said, there is no reason to believe that this sector maps to 'Technical, trade-related, and other business services'. I had a look into the more detailed levels of the service codes and there is no indication that utilities is captured by that service category. Perhaps we should take this lack of explicit representation in the service or goods categories as an indicator that no imports occur in 22?

@WesIngwersen
Copy link
Collaborator Author

For 22, it is mostly due to changes in APAC and MX. I"m trying to track down why there are imports from APAC for utilities.

"Technical, trade-related, and other business services",TechTradeRelatedOth,221100

^^ @Jnamovich can you confirm where this BEA service mappings comes from

Those were manually developed mappings in the absence of a robust concordance between BEA services and detail codes. Since the 22 detail sectors didn't map to any Census imports categories, I felt that I needed to map it to one of the service categories and this seemed to be the most appropriate of our options. That said, there is no reason to believe that this sector maps to 'Technical, trade-related, and other business services'. I had a look into the more detailed levels of the service codes and there is no indication that utilities is captured by that service category. Perhaps we should take this lack of explicit representation in the service or goods categories as an indicator that no imports occur in 22?

I agree this is not a good mapping. Please remove it.

@WesIngwersen
Copy link
Collaborator Author

WesIngwersen commented Feb 8, 2024

Yes we import electricity from CA and MX and this is reflected in TIVA import matrices

  TIVA import matrixes million USD 2211 imported, 2021 TIVA % EIA Annual 2021, MWh electricity imported EIA %
CA 1875 97% 48,140,438 91%
MX 12 1% 5,026,570 9%
JP 12 1% 0 0%
EU 12 1% 0 0%
RoW 12 1% 0 0%
APAC 12 1% 0 0%

Data don't quite match up here, but TIVA import being greatest from CA is accurate.
Its appears the TIVA folks just spread a residual equally across all other non-CA TiVA regions.

At this point i don't suggest overwriting the import matrices to reflect the EIA data, although it could be considered later.

For now, the only thing significant in our calculations here would be the CA emission factor.

So i do recommend that we make sure that we're getting a CA electricity factor from EXIOBASE.

@bl-young
Copy link
Collaborator

bl-young commented Feb 8, 2024

Yes @Jnamovich were wondering about this today - neither the census nor BEA data should really capture electricity so not sure where TiVA got their data from. Ultimately the mapping above should only impact the splits within regions (APAC, EU, etc.). We just need to confirm that when we drop that mapping it doesn't zero out this share above of < 3%

@bl-young
Copy link
Collaborator

Because TiVA is only used in cases where we don't have imports data from BEA/census, this is now resolved. We use tiva for electricity which means the factor is >97% canada

bl-young added a commit that referenced this issue Feb 23, 2024
@bl-young
Copy link
Collaborator

@WesIngwersen @Jnamovich, we discussed pulling in the EIA data for electricity as noted in #24 (comment). However after I made the swap for electricity to aggregate sectors (in this case, fuel type) using industry output from exiobase instead of exports (non-existent) (in e800431) the factors look much better. So while using the EIA data might change things slightly, I think its less urgent now.

@bl-young
Copy link
Collaborator

noting that @Jnamovich updated to use the EIA electricity data in fbd26dd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed import_factors
Projects
None yet
Development

No branches or pull requests

3 participants