Giter Site home page Giter Site logo

floriankrach / carboncostliabilitiespowerutilities Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 83 KB

Official Implementation of the paper "The Financial Impact of Carbon Emissions on Power Utilities Under Climate Scenarios"

Home Page: https://www.worldscientific.com/doi/10.1142/S0219024924500134

License: Other

Python 100.00%

carboncostliabilitiespowerutilities's Introduction

Modelling of a Power Utility Firm

DOI

This is the official implementation of the paper The Financial Impact of Carbon Emissions on Power Utilities Under Climate Scenarios.

Installation & Requirements

This code was executed using Python 3.7.

To install requirements, download this Repo and cd into it.

Then create a new environment and install all dependencies and this repo. With conda:

conda create --name CarbonCost python=3.7
conda activate CarbonCost
pip install -r requirements.txt

Usage

  • print values from paper:

    python run.py --function=print_values_from_paper
  • power plant cost comparison:

    python run.py --function=plot_power_plant_cost_comparison --config=current_sold_capacity_config_1
  • NGFS scenarios:

    python run.py --function=plot_running_default_prob_and_scenarios --config=ngfs_plot_config
  • plot capacities and energy mix in the 3 energy mix scenarios:

    python run.py --function=plot_capacities_and_energy_mix --config=IRP2030_config_market_cal
    python run.py --function=plot_capacities_and_energy_mix --config=IRP2030_green_continue_config
    python run.py --function=plot_capacities_and_energy_mix --config=IRP2030_aggr_green_continue_config

    joint plot of the 3 energy mix scenarios:

    python run.py --function=multiplot --config=joint_rlz_cap_plot_config
  • plot minimal electricity prices in the 3 energy mix scenarios:

    python run.py --function=plot_min_electricity_prices --config=IRP2030_config_market_cal_nolevy
    python run.py --function=plot_min_electricity_prices --config=IRP2030_green_continue_config_nolevy
    python run.py --function=plot_min_electricity_prices --config=IRP2030_aggr_green_continue_config_nolevy

    joint plot of the 3 energy mix scenarios:

    python run.py --function=multiplot --config=joint_min_elect_price_plot_config
  • Base case:

    • calibrate the electricity model scaling factors to the market probabilities of default, with init_assets fixed to market value:

      python run.py --function=fit_electricity_price_scaling_factors --config=IRP2030_config_2
    • calibrate the electricity model scaling factors to the market probabilities of default, with smaller init_assets:

      python run.py --function=fit_electricity_price_scaling_factors --config=IRP2030_config_3
    • default probabilities and bond prices and with electricity model calibrated to the market probability of default

      python run.py --function=plot_mean_electricity_prices_for_MPPJ --config=IRP2030_config_market_cal
      python run.py --function=multiplot --config=joint_fitdefaultprobs_meanelecprice_plot_config
      python run.py --function=plot_running_default_prob_and_scenarios --config=IRP2030_config_market_cal
      python run.py --function=plot_bond_price_term_structure --config=IRP2030_config_market_cal
      python run.py --function=plot_running_default_prob_and_scenarios --config=IRP2030_config_market_cal1
      python run.py --function=multiplot --config=joint_defprob_bondprice_plot_config
  • Green continuation: to decrease coal and increase renewables

    python run.py --function=plot_running_default_prob_and_scenarios --config=IRP2030_green_continue_config
    python run.py --function=plot_bond_price_term_structure --config=IRP2030_green_continue_config
    python run.py --function=plot_running_default_prob_and_scenarios --config=IRP2030_green_continue_config1
  • Aggressive green continuation: with const coal and increase renewables & gas

    python run.py --function=plot_running_default_prob_and_scenarios --config=IRP2030_aggr_green_continue_config
    python run.py --function=plot_bond_price_term_structure --config=IRP2030_aggr_green_continue_config
    python run.py --function=plot_running_default_prob_and_scenarios --config=IRP2030_aggr_green_continue_config1

    joint plot:

    python run.py --function=multiplot --config=joint_defprob_instdefprob_bondprice_plot_config

License

This code can be used in accordance with the LICENSE.


Citation

If you use this code for your publications, please cite our paper: [The Financial Impact of Carbon Emissions on Power Utilities Under Climate Scenarios](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4571086.

@article{doi:10.1142/S0219024924500134,
author = {KRACH, FLORIAN and MACRINA, ANDREA and KANTER, ASHLEY and HAMPWAYE, EBA and HLALUKANA, SIPHOKAZI and RATEELE, NCHAKHA THATO},
title = {THE FINANCIAL IMPACT OF CARBON EMISSIONS ON POWER UTILITIES UNDER CLIMATE SCENARIOS},
journal = {International Journal of Theoretical and Applied Finance},
volume = {0},
number = {0},
pages = {2450013},
year = {0},
doi = {10.1142/S0219024924500134},
URL = {https://doi.org/10.1142/S0219024924500134}
}

carboncostliabilitiespowerutilities's People

Contributors

floriankrach avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.