# Help needed: Pre‑processing & Post‑processing for Kenya OSeMOSYS PSM model (GLPK format)

**URL:** <https://forum.u4ria.org/t/help-needed-pre-processing-post-processing-for-kenya-osemosys-psm-model-glpk-format/591>\
**Category:** OSeMOSYS\
**Created:** [March 10, 2026, 9:09am UTC](https://forum.u4ria.org/t/help-needed-pre-processing-post-processing-for-kenya-osemosys-psm-model-glpk-format/591 "2026-03-10T09:09:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andywang65384](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@andywang65384](https://forum.u4ria.org/u/andywang65384)\
**Post date:** [March 10, 2026, 9:09am UTC](https://forum.u4ria.org/t/help-needed-pre-processing-post-processing-for-kenya-osemosys-psm-model-glpk-format/591/1 "2026-03-10T09:09:14Z")

</div>

Hi everyone,

I am trying to replicate the OSeMOSYS Kenya PSM model shared here:

> **[GitHub - ClimateCompatibleGrowth/osemosys\_kenya\_psm: Repository to host the OSeMOSYS Kenya Power System...](https://github.com/ClimateCompatibleGrowth/osemosys_kenya_psm)**
>
> Repository to host the OSeMOSYS Kenya Power System Model (PSM)

I followed the instructions and solved the model using **glpsol** , which produced a **results.txt** file.

I have two questions:

### **1. Pre‑processing question**

The shared model uses **.txt data files** (MathProg data format).  
Is it possible to use **clicSAND** or **MUIO** as a pre‑processing interface for these `.txt` data files?

### **2. Post‑processing question**

What is the recommended way to post‑process the **GLPK results**?

- Is there a way to convert the GLPK `results.txt` into **CSV files**?

- Can I use **MUIO** or **SAND Excel Interface** to read and visualise the results?

Any guidance or examples would be greatly appreciated.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Fernando\_Plazas](https://avatars.discourse-cdn.com/v4/letter/f/8e7dd6/32.png) [@Fernando\_Plazas](https://forum.u4ria.org/u/Fernando_Plazas)\
**Post date:** [March 10, 2026, 12:30pm UTC](https://forum.u4ria.org/t/help-needed-pre-processing-post-processing-for-kenya-osemosys-psm-model-glpk-format/591/2 "2026-03-10T12:30:13Z")

</div>

Hi @andywang65384,

For all your questions, the answer is **otoole**. Otoole allows you to preprocess and post-process different data formats for OSeMOSYS models. You can explore the tool here: [Welcome to the documentation of otoole!](https://otoole.readthedocs.io/en/latest/)
