Archived Kenya fork of OSeMOSYS-RDM with bugfixes
# OSeMOSYS-RDM (osemosys-rdm)
A reproducible workflow tool for **preprocessing, solving, and postprocessing** models built with the **OSeMOSYS** (Open Source Energy Modelling System) architecture, with built-in support for **Robust Decision Making (RDM)** style exploratory ensembles and **scenario discovery** (PRIM).
**Developed by:** **Luis Victor Gallardo** and **Andrey Salazar Vargas**.
---
## What this is (and is not)
This repository provides an **OSeMOSYS-specific workflow** for running:
- a **single baseline** model run (“Future 0”), and/or
- a **large ensemble of futures** (e.g., Latin Hypercube Sampling) for RDM-type uncertainty analysis,
…then producing standardized outputs suitable for downstream analysis and **PRIM** scenario discovery.
**Not affiliated:** This is an independent tool and is **not affiliated with or endorsed by** the upstream OSeMOSYS project.
- Upstream OSeMOSYS:
github.com
---
## Scope: energy and beyond
OSeMOSYS is often used for energy-system planning, but the workflow here is **not limited to “energy-only” models**.
It can also support OSeMOSYS-based models that represent additional domains (e.g., land-use, industrial processes, waste, CLEWs-style integrated systems), **as long as the model is expressed using the OSeMOSYS set/parameter/variable architecture** (and the formulation used is compatible — see below).
---
## Key features
- **Two operation modes**
- **Base Future mode:** execute a single baseline scenario ("Future 0")
- **RDM Experiment mode:** generate and evaluate multiple futures using uncertainty ranges (Latin Hypercube Sampling)
- **Multi-solver support**
- **GLPK** is required (used for preprocessing). Additionally supports **CBC**, **CPLEX**, and **Gurobi** for solving.
- **End-to-end automation**
- preprocessing → solve → postprocessing → consolidated datasets in `src/Results/`
- **Automatic data preprocessing**
- pre-processes MUIO/OSeMOSYS data files to add commodity-tec …