OSeMBE_ECEMF
Contains the energy future scenarios modelled in OSeMBE as part of the ECEMF project, which brings together energy and climate researchers and policy makers to address the central challenge of our time - how to achieve climate neutrality.
https://github.com/kth-desa/osembe_ecemf
Category: Energy Systems
Sub Category: Global and Regional Energy System Models
Last synced: about 18 hours ago
JSON representation
Repository metadata
This repository contains the scenarios modelled in OSeMBE throughout the H2020 project ECEMF -European Climate and Energy Modelling Forum.
- Host: GitHub
- URL: https://github.com/kth-desa/osembe_ecemf
- Owner: KTH-dESA
- License: apache-2.0
- Created: 2021-10-01T08:59:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T07:42:58.000Z (5 days ago)
- Last Synced: 2025-04-25T14:43:37.874Z (3 days ago)
- Language: Jupyter Notebook
- Size: 12.8 MB
- Stars: 8
- Watchers: 5
- Forks: 4
- Open Issues: 21
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_CODE
README.md
OSeMBE_ECEMF
This repository contains the scenarios modelled in OSeMBE throughout the H2020 project ECEMF -
European Climate and Energy Modelling Forum.
The repo contains a workflow to run OSeMOSYS models from datapackage to results file in IAMC format.
OSeMOSYS workflow
This workflow allows to run one or multiple scenarios.
Starting from an OSeMOSYS datapackage going through all steps,
running the model with the Gurobi solver and producing the results in IAMC format.
In addition to the standard OSeMOSYS outputs, the workflow can produce CSV files containing the dual values for all constraints in the model.
Installation
Install snakemake using conda into a new environment called snakemake
:
conda install -c conda-forge mamba
mamba create -c bioconda -c conda-forge -n snakemake snakemake-minimal
The workflow manages dependencies through conda environments.
Dependencies are defined per rule and are installed upon first running the workflow.
Configuring the workflow
- Place the script
resultify.py
from the repo osemosys2iamc in the root folder of the project. - For the
resultify.py
script to run using the.append
method it is required to use Pandas <2, since the.append
is no longer supported by Pandas version 2 or newer. By using pandas less than 2 (such as 1.5) one must use a Python < 3.11. After running the snakemake workflow and specifying--use-conda
in the shell command, theopenentrance-env
will install all dependencies. When this is completed, run: pip install -e git+https://github.com/openENTRANCE/openentrance.git@main#egg=openentrance in the terminal while in theopenentrance-env
environment.
Adding new scenarios
- Place datapackage(s) in the folder
input_data
. Each datapackage should be placed in a folder
that is named after the scenario, e.g.baseline
. - Check that the file
config.yaml
, which defines the conversion of OSeMOSYS results to IAMC format
is suitable for the model.
Running the workflow
- Optional: To retrieve dual values from your model you need to edit the list of
constraints
in the filerun.py
. - Open terminal or command prompt and change to the directory of the snakefile.
- Optional: Perform a dry run to test snakemake with the command:
snakemake -n
- Start the scenario runs with the command
snakemake --cores <number of cores to be used> --use-conda
Owner metadata
- Name: KTH division of Energy Systems
- Login: KTH-dESA
- Email:
- Kind: organization
- Description:
- Website: https://www.energy.kth.se/research/energy-systems
- Location: Sweden
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/21357208?v=4
- Repositories: 59
- Last ynced at: 2024-04-16T02:51:47.933Z
- Profile URL: https://github.com/KTH-dESA
GitHub Events
Total
- Watch event: 1
- Push event: 13
- Commit comment event: 4
Last Year
- Watch event: 1
- Push event: 13
- Commit comment event: 4
Committers metadata
Last synced: 7 days ago
Total Commits: 199
Total Committers: 3
Avg Commits per committer: 66.333
Development Distribution Score (DDS): 0.583
Commits in past year: 29
Committers in past year: 2
Avg Commits per committer in past year: 14.5
Development Distribution Score (DDS) in past year: 0.034
Name | Commits | |
---|---|---|
Emir Fejzic | f****c@k****e | 83 |
HauHe | h****h@k****e | 82 |
Will Usher | w****r@k****e | 34 |
Committer domains:
- kth.se: 3
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 57
Total pull requests: 78
Average time to close issues: 2 months
Average time to close pull requests: about 1 month
Total issue authors: 4
Total pull request authors: 3
Average comments per issue: 1.02
Average comments per pull request: 0.53
Merged pull request: 72
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: 1 day
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 0.0
Past year average comments per pull request: 2.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- HauHe (35)
- willu47 (16)
- Timon-R (3)
- EmiFej (3)
Top Pull Request Authors
- HauHe (44)
- EmiFej (28)
- willu47 (6)
Top Issue Labels
- enhancement (13)
- bug (7)
- question (1)
Top Pull Request Labels
- New scenario (4)
- enhancement (3)
- bug (2)
Score: 4.465908118654584