XDC Model
Enable users, or any intereted subject, to understand and familiarize with the basic concepts of the X-Degree Compatibility methodology.
https://gitlab.com/xdc-model/xdc
Category: Sustainable Development
Sub Category: Sustainable Investment
Last synced: about 7 hours ago
JSON representation
Repository metadata
XDC Model implementation
- Host: gitlab.com
- URL: https://gitlab.com/xdc-model/xdc
- Owner: xdc-model
- License: agpl-3.0
- Created: 2021-11-24T16:04:34.512Z (over 3 years ago)
- Default Branch: main
- Last Synced: 2025-01-10T09:00:32.756Z (4 months ago)
- Stars: 1
- Forks: 0
- Open Issues:
- Releases: 0
https://gitlab.com/xdc-model/xdc/blob/main/
## XDC Model This is the python implementation of the XDC Model created by right. based on science GmbH. ## Repository Status The code in this repository represents and old version of the XDC Model compared to the one, which is currently used in production. The aim of this repository is to enable users, or any interested party, to understand and familiarize with the basic concepts of the XDC methodology. For now, the goal is not to provide a runnable version of the model and this repository should be considered for learning purposes only. In the future, the repository will be updated with a more current version of the XDC Model in a way that it will be possible to check it out and run it on local machines. ## Visuals The key idea behind the XDC Model calculation can be summarized by the following slide.  ## Usage In order to support the understanding of the XDC Model logic and how it is used in the products, the `XDCCalcTool` module has been provided as an example. A `XDCCalcTool` object can be created passing as arguments information such as the base and target year or the target scenarios. The `XDCCalcTool` object has then dedicated functions to trigger the calculation process such as `run_calculation()` and `run_calculation_wrapped()` thanks to which it's possible to iterate through a dataframe of companies. Withing those function, the baseline XDC is calculated through the following steps: - `calc_baseline_emissions()` - `add_to_xdc_df()` that allows to calculate a portfolio XDC - the world growth curve is computed with the `get_world_growth_curve()` frunction from the `Growth` class - emissions are upscaled to the global level through the `get_scaled_emission` from the `Emission` class - at this point the array of yearly global emissions from base year to target year can be passed as input to the FaIR Model via the `emissions_to_fair_xdc()` and `_run_fair()` functions from the `XDC` class ## Support In case of questions, please contact the [XDC Model Team]([email protected]) ## Roadmap Coming soon ## Contributing As stated above, at the moment the content of this repository should be intended for learning purposes only. Therefore, no contributions are expected at the moment. When the current production version of the XDC Model will be made available, a set of guidelines for contributions as well as the relevant documentation will be provided. ## License The [GNU Affero General Public License](/LICENSE) (GNU AGPLv3) applies.
Committers metadata
Last synced: 4 months ago
Total Commits: 2
Total Committers: 2
Avg Commits per committer: 1.0
Development Distribution Score (DDS): 0.5
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Jacopo Pellegrino | j****o@r****e | 1 |
XDC Model Team | m****m@r****e | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 4 months ago
Score: 0.6931471805599453