With the new regionalized upstream renewable construction processes (and further regionalization anticipated), it is worthwhile revisiting locations associated with these processes. Currently, the process dictionary skips location in upstream_dict.py (snippet below)
|
def _process_table_creation_gen(process_name, exchanges_list, fuel_type): |
However, there is a placeholder for adding location (see commented out code).
|
ar["location"] = "" # location(region) |
At the plant stage, locations are listed in a CSV file in the repository's data folder and comprises of a surprisingly short list of location codes. It's notable that none of the UUIDs in this CSV file are found in the JSON-LD.
https://github.com/NETL-RIC/ElectricityLCI/blob/development/electricitylci/data/location_UUIDs.csv
Any location that shows up without its own UUID gets one created in the _location method found in olca_jsonld_writer.py, which expects ISO two-letter country codes. The reality is that locations are created using balancing authority names, FERC codes, and 'US'.
Since eLCI v2, all generation upstream processes have their locations associated with their region (e.g., 'Electricity - BIOMASS - Bonneville Power Administration' is associate with its BA location).
Upstream processes missing location include
- coal extraction and processing (e.g., 'coal extraction and processing - Northern Appalachia, BIT, Underground')
- coal transport (e.g., 'coal transport - Barge')
- natural gas extraction and processing (e.g., 'natural gas extraction and processing - Midwest')
- power plant construction (e.g. 'power plant construction - coal_const - Duke Energy Carolinas')
- petroleum extraction and processing (e.g., 'petroleum extraction and processing - DFO PADD 1')
- nuclear fuel extraction, processing, and transport
The immediate quick solution would be to associate all processes without a location to 'United States'. Additional regionalization is possible given the naming of certain processes.
With the new regionalized upstream renewable construction processes (and further regionalization anticipated), it is worthwhile revisiting locations associated with these processes. Currently, the process dictionary skips location in upstream_dict.py (snippet below)
ElectricityLCI/electricitylci/upstream_dict.py
Line 277 in 60399f7
However, there is a placeholder for adding location (see commented out code).
ElectricityLCI/electricitylci/upstream_dict.py
Line 331 in 60399f7
At the plant stage, locations are listed in a CSV file in the repository's data folder and comprises of a surprisingly short list of location codes. It's notable that none of the UUIDs in this CSV file are found in the JSON-LD.
https://github.com/NETL-RIC/ElectricityLCI/blob/development/electricitylci/data/location_UUIDs.csv
Any location that shows up without its own UUID gets one created in the
_locationmethod found in olca_jsonld_writer.py, which expects ISO two-letter country codes. The reality is that locations are created using balancing authority names, FERC codes, and 'US'.Since eLCI v2, all generation upstream processes have their locations associated with their region (e.g., 'Electricity - BIOMASS - Bonneville Power Administration' is associate with its BA location).
Upstream processes missing location include
The immediate quick solution would be to associate all processes without a location to 'United States'. Additional regionalization is possible given the naming of certain processes.