ClimateEconomics

A Python package to evaluate the effect of energy way of production on climate change and macro-economy.
https://github.com/os-climate/witness-core

Category: Sustainable Development
Sub Category: Sustainable Investment

Last synced: about 5 hours ago
JSON representation

Repository metadata

Evaluate climate change impact

README.md

[!IMPORTANT]
On June 26 2024, Linux Foundation announced the merger of its financial services umbrella, the Fintech Open Source Foundation (FINOS), with OS-Climate, an open source community dedicated to building data technologies, modeling, and analytic tools that will drive global capital flows into climate change mitigation and resilience; OS-Climate projects are in the process of transitioning to the FINOS governance framework; read more on finos.org/press/finos-join-forces-os-open-source-climate-sustainability-esg

ClimateEconomics - witness-core

Description

ClimateEconomics is the Python package to evaluate the effect of energy way of production on climate change and macro-economy.

Prerequisite

In order to satisfy dependencies, following prerequisites need to be satisfied:

  • deployment of gems package and its requirements (see requirements.txt of gems package)
  • deployment of energy_models package and its requirements (see requirements.txt of energy_models package)
  • deployment of sostrades_core_package and its requirements (see requirements.txt of sostrades_core_package package)
  • libraries in requirements.txt

The following command can be used to install the package listed in requirements.txt
$$pip install -r requirements.txt --trusted-host pypi.org --trusted-host files.pythonhosted.org$$

Overview

This package contains the following disciplines:

  • agiculture, to determine the area taken by food to feed humanity
  • resources (coal, gas, oil, uranium), to evaluate to quantity left and the extraction price of resources.
  • carboncycle, to take into account the natural cycle of carbon
  • carbonemissions, to evaluate the quantity of CO2 emitted
  • damagemodel, to evaluate the impact of environmental damage on the economy
  • macroeconomics, the evaluate different indicator of the global economy
  • policymodel, to evaluate the price of the CO2 taxes
  • population, to evaluate the global population
  • tempchange, to evaluate the change of temperature
  • utility, to evaluate the utility

For more information, please look at the documentation associated.

Models are in core folder. Disciplines and associated documentations are in sos_wrapping folder.
To create a documentation associated to a discipline, create a documentation folder in sos_wrapping/discipline_folder and name the documentation file as the discipline file, disc_file_name.markdown.
Processes(couple several disciplines) and usecases(process with specific inputs) are in sos_processes folder.
To run a usecase, run usecase.py file as Python run.

Associated tests are in tests folder.
l0 tests are unitary tests. They are used for stand alone disciplines and models.
l1 tests are used to test gradient computation of disciplines and usecases.
l2 tests are used to test gradient computation of process.
To run a test, run test.py file as Python unit-test.
To run all test, use the command nose2 .

documentation folder gives details about the optimisation problem formulation.

Contributing

Communicating with the SoSTrades team

Looking at the future

Regionalisation

At the moment, results given by Witness process and the different models are global results which are an average over the world.
In order to have more accuracy, we want to add regionalisation aspect. The first step is to propose a regionalisation continent by continent.

License

The witness-core source code is distributed under the Apache License Version 2.0.
A copy of it can be found in the LICENSE file.

The witness-core product depends on other software which have various licenses.
The list of dependencies with their licenses is given in the CREDITS.rst file.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 4,462
Total Committers: 59
Avg Commits per committer: 75.627
Development Distribution Score (DDS): 0.841

Commits in past year: 72
Committers in past year: 6
Avg Commits per committer in past year: 12.0
Development Distribution Score (DDS) in past year: 0.458

Name Email Commits
perrotcap a****t@c****m 711
benherry b****y@c****m 287
BEKKALI Yasser N****3@e****p 271
Yasser BEKKALI y****i@c****m 256
Marie MORERE m****e@a****m 234
Valentin JONCQUIERES v****l@a****m 229
Julien Souchard N****2@T****p 226
Marie-Audrey Gueylard m****l@a****m 197
b4pm-devops b****s@c****m 197
FLORIO Thomas N****C@e****p 180
Colin MIETKA c****l@a****m 166
Nicolas Peuzin n****l@a****m 159
BEKKALI y****l@a****m 134
PEUZIN Nicolas N****E@e****p 122
Anahid Ghazanfarpour a****y@c****m 114
Simão Rodrigues s****s@c****m 109
Carlos Ortega c****l@c****m 98
Administrator Jenkins j****s@a****m 96
GOYON Guillaume g****n@c****m 72
SOUCHARD Julien N****2@e****p 71
Magali Parrino m****o@a****m 59
Valentin Joncquieres v****s@c****m 44
Marie Morere 9****e 37
carlin c****l@a****m 33
fadwaouniss f****s@c****m 31
Pierre-Jean Barjhoux p****x@a****m 30
NG87A63 N****3@T****p 29
FELLOUSSI m****i@c****m 23
TCHUISSEU FONGANG Carlin S****8@e****p 21
MORERE Marie M****M@e****p 18
and 29 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 2 months ago

Total issues: 3
Total pull requests: 20
Average time to close issues: N/A
Average time to close pull requests: 12 days
Total issue authors: 1
Total pull request authors: 9
Average comments per issue: 0.67
Average comments per pull request: 0.7
Merged pull request: 13
Bot issues: 0
Bot pull requests: 2

Past year issues: 0
Past year pull requests: 5
Past year average time to close issues: N/A
Past year average time to close pull requests: 3 days
Past year issue authors: 0
Past year pull request authors: 4
Past year average comments per issue: 0
Past year average comments per pull request: 0.2
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 1

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/os-climate/witness-core

Top Issue Authors

  • MichaelTiemannOSC (2)

Top Pull Request Authors

  • MichaelTiemannOSC (8)
  • eloquet (4)
  • simaosr (4)
  • ModeSevenIndustrialSolutions (4)
  • pre-commit-ci[bot] (3)
  • perrotcap (2)
  • cap-dpeltre (2)
  • kmarinushkin (1)
  • b4pm-devops (1)

Top Issue Labels

Top Pull Request Labels

  • documentation (1)

Dependencies

requirements.txt pypi
  • matplotlib ==3.4.3
  • nose2 ==0.9.1
  • numpy ==1.20.3
  • pandas ==1.3.0
  • plotly ==5.3.0
  • scikit-learn >=0.24.2
  • scipy ==1.7.1
  • seaborn ==0.9.0
setup.py pypi
  • matplotlib ==3.4.3
  • nose2 ==0.9.1
  • nose2 >=0.9.1
  • numpy ==1.20.3
  • pandas ==1.3.0
  • plotly ==5.3.0
  • scikit-learn >=0.24.2
  • scipy ==1.7.1
  • seaborn ==0.9.0
  • sos-trades-core *

Score: 7.073269717459711