You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In developing a solution for renewable upstream construction (#150), I'm tracking down where the flow amount is set for construction processes.
It all seems to come down to add_fuel_inputs in combinator.py.
But first! A bit on the mysterious 'quantity' field.
Upstream processes consist of several different types (power plant construction, natural gas/petroleum extraction & processing, coal mining & transportation, and nuclear fuel extraction & processing), but each data frame (as read in get_upstream_process_df) has a column labeled 'quantity'.
For coal mining, quantity is tons of coal.
For petroleum extraction, quantity is heat input (MJ).
For nuclear, quantity is net generation (MWh).
For natural gas, quantity is total fuel consumption (MJ).
For coal/ngcc power plant construction, quantity is nameplate capacity (MW).
For the new renewable plant construction, quantity is net electricity generation (MWh).
In olcaschema_genupstream_processes (upstream_dict.py), the 'quantity' field is used to generate each flow's emission factor.
Best that I can understand is the upstream process emission factors are the total flow amounts (across all facilities) normalized by the total quantity (in this case, the total electricity generation from all contributing facilities) resulting in amounts in units of emission per MWh.
The flow amount used in the downstream process is the quantity, which here would be the total net electricity generation (MWh). During flow aggregation (generation.py), a new emission factor is calculated based on the summed flow amounts divided by the total electricity generation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In developing a solution for renewable upstream construction (#150), I'm tracking down where the flow amount is set for construction processes.
It all seems to come down to
add_fuel_inputs
in combinator.py.But first! A bit on the mysterious 'quantity' field.
Upstream processes consist of several different types (power plant construction, natural gas/petroleum extraction & processing, coal mining & transportation, and nuclear fuel extraction & processing), but each data frame (as read in
get_upstream_process_df
) has a column labeled 'quantity'.For coal mining, quantity is tons of coal.
For petroleum extraction, quantity is heat input (MJ).
For nuclear, quantity is net generation (MWh).
For natural gas, quantity is total fuel consumption (MJ).
For coal/ngcc power plant construction, quantity is nameplate capacity (MW).
For the new renewable plant construction, quantity is net electricity generation (MWh).
In
olcaschema_genupstream_processes
(upstream_dict.py), the 'quantity' field is used to generate each flow's emission factor.ElectricityLCI/electricitylci/upstream_dict.py
Line 347 in ab4e98d
The emission factor is supposed to be the process's functional unit because it's used as the reference flow amount.
ElectricityLCI/electricitylci/upstream_dict.py
Line 288 in ab4e98d
The only mis-match I see is the quantity and reference flow for power plant construction, which is nameplate capacity (MWh) and Item(s).
ElectricityLCI/electricitylci/upstream_dict.py
Line 233 in ab4e98d
Best that I can understand is the upstream process emission factors are the total flow amounts (across all facilities) normalized by the total quantity (in this case, the total electricity generation from all contributing facilities) resulting in amounts in units of emission per MWh.
The flow amount used in the downstream process is the quantity, which here would be the total net electricity generation (MWh). During flow aggregation (generation.py), a new emission factor is calculated based on the summed flow amounts divided by the total electricity generation.
ElectricityLCI/electricitylci/generation.py
Line 1428 in ab4e98d
This should result in emission factors of 1.0.
And it does!
Note that some emission factors are zero.
These emissions factors should be the values used in the input exchange table.
ElectricityLCI/electricitylci/generation.py
Line 1596 in ab4e98d
Beta Was this translation helpful? Give feedback.
All reactions