How sector costs are decomposed into technology-level components: energy, non-energy, capital, carbon, and residual.
sector/cost is a single number per sector per year per region. But it aggregates contributions from multiple technologies with different cost structures. Component decomposition breaks the sector cost into:
globaltech_cost.csv)Technology costs are weighted by physical output to match the sector level:
weighted_tech_cost = sum(tech_cost_i * output_proxy_i) / sum(output_proxy_i)
weighted_sector_cost = sector_cost * sum(output_proxy_i) / sum(all_output_i)
Where output_proxy_i is the physical output of technology i (from output-primary/physical-output).
For each technology/input node with demand-physical:
component_cost = io_coefficient * component_unit_price * tech_output
io_coefficient: input-output coefficient (e.g., GJ coal per ton cement)component_unit_price: price of the input good (from marketplace or upstream sector cost)tech_output: physical output of this technologyFrom technology/StubTechCost or equivalent:
non_energy_cost: fixed + variable non-energy costscapital_om_cost: capital and O&M (where separated)carbon_cost = co2_price * co2_emissions
Where:
co2_price comes from Marketplace/market[@name="ChinaCO2"]/priceco2_emissions comes from technology/CO2-emissions or calculated from input carbon contentFrom technology/output-secondary/physical-output:
secondary_credit = secondary_output * secondary_price
This offsets sector cost (negative value).
residual = weighted_tech_cost - sum(all_tracked_components)
A large residual indicates untracked cost elements or weighting mismatch.
Used for most industrial sectors (cement, iron and steel, ammonia, etc.):
technology/input nodesTransport sectors use TranTechnology nodes with different structure:
# Transport uses load-factor and direct price paid
component_cost = load_factor * direct_price_paid * tech_output
Key differences:
carbon_content fieldload_factor and direct_price_paid instead of io_coefficient and component_priceFor energy input prices, the decomposition looks up:
Marketplace/market/price for the input fuel/goodsector/costnot_foundThe lookup is recursive: if sector A uses input from sector B, and sector B’s price comes from marketplace, the decomposition traces this chain.
After decomposition, assess quality:
| Quality | Condition |
|---|---|
good |
Residual < 10% of weighted_tech_cost |
acceptable |
Residual < 25% |
poor |
Residual >= 25% or missing major components |
Large residuals suggest:
weighted_tech_cost ≈ energy_material + non_energy + capital_om + co2_cost + secondary_credit + residual
weighted_sector_cost ≈ sum of all technology contributions reweighted to sector level
weighted_sector_cost may differ from selected_unit_price because: