Closed redekok closed 4 months ago
I'm having a hard time following the new structure for CCUS costs queries:
What I'm struggling with:
Most importantly, based on the query titles I have no idea what's what. When is something "CO2", when is something "CCUS". It feels like it's different in the data-export and different in the queries and then again different in the frontend, where it is "CCUS costs" and "CO2 emissions costs".
I noticed that the insulation costs do not have a capital costs component. @KoenvanB noted this as well and added that the source data may already have applied some kind of annualisation. This is something to note for further investigation.
Another point to note is that our gas infrastructure costs 'calculation' is extremely limited. It does not even change based on changes in demand or supply of gas. Also something to note for further investigation.
The queries for heat infrastructure are rather numerous, making it hard to review (and maintain) them. This is something to note for further improvements.
This PR renames and restructures costs queries to match the new structure of the costs export functionality. It also fixes minor bugs.
Background The new costs export serializer finds queries with the following suffixes:
_annualised_costs
_capex
_opex
_capital_costs
_depreciation_costs
_fixed_operation_and_maintenance_costs
_variable_operation_and_maintenance_costs
_investment_costs
_wacc
_technical_lifetime
Queries within all infrastructure components (heat, electricity, gas, hydrogen) have been changed to match these suffixes.
Changes Heat infrastructure costs
_capex
&_opex
queries for all heat infrastructure components;_wacc
and_technical_lifetime
queries;_wacc
and_technical_lifetime
queries when calculating_capital_costs
and_depreciation_costs
;_yearly_maintenance_costs
queries to_fixed_operation_and_maintenance_costs
;distribution_pipelines
queries to distinguish between main distribution pipelines and the overall distribution pipeline system (=main distribution pipelines + connection pipelines). See documentation_indoor_costs
queries to main_queries folder (for consistency with other infrastructure components);Electricity infrastructure costs Existing query names were inconsistent with other costs queries. For example,
lv_net_additional_capital_costs
actually referred to additional CAPEX = capital costs + depreciation costs.These and other inconsistencies have been addressed:
_costs
and_present
/_future
/_delta_present_future
name system;_capital_costs
and_depreciation_costs
queries;_wacc
and_technical_lifetime
queriestotal_costs
queries toannualised_costs
;total_investment_costs
toinvestment_costs
;additional_operation_and_maintenance_costs
tofixed_operation_and_maintenance_costs
;_capex
&_opex
queries;Gas infrastructure costs Add layer of
_annualised_costs
queryHeat delivery system costs
_annualised_costs
query_wacc
and_technical_lifetime
queries for all heat delivery systems;Carrier costs Add layer of
_annualised_costs
queryHydrogen storage and insulation costs Add layer of
_annualised_costs
and_capex
queriesInsulation costs buildings & households
_annualised_costs
query_capex
by dividing insulation costs by technical lifetimeCO2 emissions costs Add separate
ccus
andco2_emissions_costs
queries.Bug fixing
cost_co2
group tocosts_co2_ccus
costs_building_and_installations_transport
group from relevant nodes and costs figures;costs_building_and_installations
group;