Skip to content

Costs and Prices

The rules on this page prepare the techno-economic assumptions and the fuel and emission price time series that enter the optimisation. Where the cost data comes from is described under Techno-economic assumptions.

process_cost_data

Prepares technology cost data with unit alignment, annualised costs and custom modifications.

Script, inputs, outputs and settings

Prepares the technology cost table of one planning horizon for the model.

Units are aligned to MW and MWh, missing values are filled with defaults, the annualised capital_cost (investment annuity plus fixed operation and maintenance) and the marginal_cost (fuel plus variable operation and maintenance) are computed, and combined storage costs for batteries and hydrogen are derived. Custom cost modifications from the configuration can target single technologies and horizons or all of them with the all identifier.

build_co2_prices

Builds a smoothed CO2 price time series from historical daily emission allowance prices.

Script, inputs, outputs and settings

Build an hourly time series of EU ETS carbon allowance prices.

Historical EU ETS prices are smoothed with a centred rolling mean over the configured window, resampled to hourly resolution and forward-filled. The series provides a time-varying CO2 price for emitting generators when dynamic emission prices are enabled.

build_fossil_fuel_prices

Builds monthly oil, gas and coal price time series from World Bank commodity price data.

Script, inputs, outputs and settings

This script extracts monthly fuel prices of oil, gas and coal. It collects them from different input sources and translates them to pypsa syntax.