pypsa-eur/doc/costs.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1.8 KiB
ReStructuredText
Raw Permalink Normal View History

..
2024-02-19 15:21:48 +00:00
SPDX-FileCopyrightText: 2019-2024 The PyPSA-Eur Authors
SPDX-License-Identifier: CC-BY-4.0
############################
Techno-Economic Assumptions
############################
2019-10-02 12:56:04 +00:00
2022-07-26 13:01:21 +00:00
The database of cost assumptions is retrieved from the repository
`PyPSA/technology-data <https://github.com/pypsa/technology-data>`__ and then
saved to a file ``resources/costs_{year}.csv``. The ``config/config.yaml`` provides options
to choose a reference year and use a specific version of the repository.
2023-06-15 23:31:59 +00:00
.. literalinclude:: ../config/config.default.yaml
:language: yaml
:start-at: costs:
:end-at: version:
2019-10-02 12:56:04 +00:00
The file includes cost assumptions for all included technologies for specific
years compiled from various sources, namely for
2019-10-02 12:56:04 +00:00
- discount rate,
- lifetime,
- investment (CAPEX),
- fixed operation and maintenance (FOM),
- variable operation and maintenance (VOM),
- fuel costs,
- efficiency, and
- carbon-dioxide intensity.
Many values are taken from a database published by the Danish Energy Agency (`DEA
<https://ens.dk/en/our-services/projections-and-models/technology-data>`__).
2019-10-02 12:56:04 +00:00
The given overnight capital costs are annualised to net present costs
with a discount rate of :math:`r` over the economic lifetime :math:`n` using the annuity factor
.. math::
a = \frac{1-(1+r)^{-n}}{r}.
Based on the parameters above the ``marginal_cost`` and ``capital_cost`` of the
system components are automatically calculated.
2019-10-02 12:56:04 +00:00
Modifying Assumptions
=====================
2019-10-02 12:56:04 +00:00
Some cost assumptions (e.g. marginal cost and capital cost) can be directly
set in the ``config/config.yaml`` (cf. Section :ref:`costs_cf` in
:ref:`config`). To change cost assumptions in more detail, make a copy of
``resources/costs_{year}.csv`` and reference the new cost file in the ``Snakefile``:
2019-10-02 12:56:04 +00:00
.. literalinclude:: ../Snakefile
:start-at: COSTS
:end-at: COSTS