15-04-2026, 11:28 AM
(This post was last modified: 15-04-2026, 11:28 AM by mahmoudmobir.)
Dear TIMES community,
I’d like to share an early open-source project I built: times-data https://github.com/MMobir/times-data
The main motivation is simple: I enjoy Python-first workflows and wanted a scriptable, transparent, version-control-friendly data layer for TIMES modeling.
A few points to be fully clear:
* This is complementary to established TIMES workflows and tools.
* This is not a UI product (yet) — it is currently Python + CLI.
* It is open source (MIT) and intended to stay open source.
times-data currently supports two entry paths:
1. Build from scratch in Python, or
2. Import existing DD files and edit/validate/re-export.
Current capabilities include:
* typed model graph (commodities/processes/parameters)
* schema + structural validation
* DD export/compile for standard TIMES/GAMS runs
Verification so far:
* tested on all 12 official DemoS models
* on models within my active GAMS community license limits, round-trip tests gave exact objective value matches
* larger demos compile successfully but exceed solve-size limits in my current license environment
I’m using this experimentally in my own global model workflow at Rhodium Group, and I’d really value community testing and feedback.
If there is interest, I’m happy to record a short walkthrough video showing:
* build-from-scratch path
* DD import/edit/re-export path
* validation and solve flow
Issues, criticism, and contributions are all welcome: https://github.com/MMobir/times-data
Best, Mahmoud Mobir
I’d like to share an early open-source project I built: times-data https://github.com/MMobir/times-data
The main motivation is simple: I enjoy Python-first workflows and wanted a scriptable, transparent, version-control-friendly data layer for TIMES modeling.
A few points to be fully clear:
* This is complementary to established TIMES workflows and tools.
* This is not a UI product (yet) — it is currently Python + CLI.
* It is open source (MIT) and intended to stay open source.
times-data currently supports two entry paths:
1. Build from scratch in Python, or
2. Import existing DD files and edit/validate/re-export.
Current capabilities include:
* typed model graph (commodities/processes/parameters)
* schema + structural validation
* DD export/compile for standard TIMES/GAMS runs
Verification so far:
* tested on all 12 official DemoS models
* on models within my active GAMS community license limits, round-trip tests gave exact objective value matches
* larger demos compile successfully but exceed solve-size limits in my current license environment
I’m using this experimentally in my own global model workflow at Rhodium Group, and I’d really value community testing and feedback.
If there is interest, I’m happy to record a short walkthrough video showing:
* build-from-scratch path
* DD import/edit/re-export path
* validation and solve flow
Issues, criticism, and contributions are all welcome: https://github.com/MMobir/times-data
Best, Mahmoud Mobir
