Dear all,
A useful piece of open-modelling news to those into 'sub global' integrated assessment nexus modelling ... The OSeMOSYS-CLEWs family is now part of Türkiye’s in-house climate-policy modelling infrastructure as the country prepares to host COP31 [1] but more on that later ... In the meantime, the same modelling family now has a substantial European implementation which I wanted to draw attention to.
The DIAMOND project is holding a webinar on Tuesday 22 September, 13:00–14:00 CEST to introduce the model. It is expressly aimed at people who might apply or extend it, and will cover the methodology, structure, documentation, code and data. If this is anywhere near your work, I would come. [2]
There is another reason to have a look. The OSeMOSYS/CLEWs world has become a rather pleasant place to pick up open-source integrated assessment modelling. There are free OpenLearn Create courses, dedicated OSeMOSYS and CLEWs channels on the Energy Modelling Community Discourse forum, public troubleshooting and live events. A newcomer can ask a basic question in the same space in which experienced modellers discuss changes to the formulation. There is less of an invisible threshold to cross before one is permitted to participate. [4]
And the mathematics can remain mathematics.
MOSOX (which we are adopting from the MOSAIC ecosystem) is not another modelling language: it is a Rust-based compiler for GMPL/MathProg, the algebraic language used by OSeMOSYS. GMPL lets equations stay close to their mathematical form, where they can be read, argued over and changed by people who are not software engineers - or AI agents. MOSOX keeps that property while making the machinery underneath considerably faster. In published OSeMOSYS benchmarks, it generated solver matrices up to 6.5 times faster than glpsol. The human-readable formulation remains in the loop; the tedious part gets quicker. [5]
There is also a useful development in the OSeMOSYS formulation for genuinely multi-resource systems. The current code can associate new or installed capacity directly with other commodities: steel embodied in new infrastructure, for example, or land occupied by existing capacity. The recent MUIO work also preprocesses these relationships so that irrelevant combinations do not inflate the problem. I will write separately about that, and about the Türkiye work. [6]
For now if you are in this space: please consider joining the CLEWs-EU webinar on 22 September. Download it. Run it. Question the assumptions. Break something useful. Put the result back into the commons. You know the gig ... 🙂
Türkiye climate-policy use of OSeMOSYS: CCG interview with Melih Fırat Ayaz, Türkiye Ministry of Environment, Urbanization and Climate Change; COP31-facing OSeMOSYS/CLEWs work: CCG COP31 support programme
CLEWs-EU webinar, 22 September 2026, and description of the EU27 and national-detail models: DIAMOND — Introducing CLEWs-EU: A Nexus Model for Europe’s Energy, Land, and Water Futures
Reproducible model materials and calibration/data sources: CLEWs-EU GitHub repository; CLEWs-EU user manual and model files; CLEWs-EU energy-module data and calibration documentation
Learning and community support: Open University/OpenLearn Create Climate Compatible Growth courses; Energy Modelling Community forum and support channels
MOSOX architecture and benchmarks: MOSOX preprint — fast model-to-matrix compiler for linear and mixed-integer optimisation; MOSOX source, benchmark scripts and documentation
Multi-resource-capable OSeMOSYS relationships: MUIO documentation for InputToNewCapacityRatio and InputToTotalCapacityRatio; performance changes and preprocessing in MUIO v5.4 release notes
Mark Howells (Prof)
Director ClimateCompatibleGrowth.com see a quick video intro here
Joint Director STEER Centre, Loughborough University
Principal Research Fellow, Centre for Environmental Policy, Imperial College
Editor in Chief Energy Strategy Reviews
Hello Mark, DIAMOND project contributors, all
I checked the copyright and license notices in the six GitHub repositories that make up the DIAMOND project. I used this webpage headed "Open models" as the starting point for my investigations:
My analysis is summarized in the tables that appear near the end of this email.
Only one of the six projects that make up the DIAMOND project collectively passed my rudimentary open‑source license compliance tests. This exercise relied solely on the information contained within the respective GitHub repos. I did not check on upstream dependencies, nor the veracity of the copyright claims where present.
A license notice must include a copyright statement. Just adding unmodified license boilerplate to a code repository is legally meaningless. Note too that it is not especially important to keep the year of claim entirely current — such details will require alternative confirmation if civil litigation ever proceeds.
The CLEWs-EU repository — the only one to pass my cursory due diligence — last had activity on 26 November 2025. That is 293 days without anything happening. Could someone please confirm that this is where the development does occur and that this level of interaction is normal?
I readily concede that the term "open model" does not have a consensus definition. Projects should rather address the legal status of their codebases, databanks, solvers, and documentation separately and explicitly. The original openmod manifesto (listed in the reference section) covered these aspects individually too and should be considered a touchstone for this community. The five frameworks under discussion clearly fail to honor that early openmod manifesto — in which case, I question whether these frameworks should be promoted on openmod channels.
Turning attention to the new EU Cyber Resilience Act (CRA) which enters into full force during November 2027. The CRA contains the now familiar definition for open source at article 3(48) thus:
‘free and open-source software’ means software the source code of which is openly shared and which is made available under a free and open-source licence which provides for all rights to make it freely accessible, usable, modifiable and redistributable
If a software project makes its non‑legacy software available in Europe — as the six DIAMOND projects clearly do — and wishes to retain an exemption from CRA compliance under non‑profit open‑source provisions, that project will need an accurate copyright notice and a public software license that conforms with 3(48). That latter point essentially means OSI‑approved licenses. Five of the DIAMOND projects currently fail that double hurdle.
I therefore suggest that these five projects make urgent efforts to respect 3(48) copyright and licensing requirements or alternatively opt to comply with the full provisions of the CRA. There is no middle ground. And there is little more than 12 months to get these matters sorted. If the current status quo persists, the appropriate national CRA enforcement agency may well mandate compliance and possibly level penalties too.
Relicensing a software repository can be difficult and time‑consuming. Three of the cases under discussion lack OSI‑approved licenses. That means that all contributors with a potential copyright interest in the codebase must be contacted and must provide their consent to any new more permissive arrangements.
The REUSE project from the Free Software Foundation Europe (FSFE) offers good procedures and practices for open licensing public software (see references).
I recommend that funding agencies also seek to understand the effects of the CRA on science and policy projects that publish code.
Projects claiming to follow open science must live up to those ideals. The underlying principles are now well‑established, easily operationalized, and known to be legally sound. This is also becoming more important as public and civil society funders prioritize open development and legislators seek software safety.
with best wishes, Robbie
| Project | SPDX identifier | OSI | Copyright | Open | Repo | Row |
|---|---|---|---|---|---|---|
| GCAM-Europe | ECL-2.0 | ✔ | ✘ | ✘ | GitHub | 1 |
| OMNIA | CC-BY-NC-SA-4.0 | ✘ | ✘ | ✘ | GitHub | 2 |
| CLEWs-EU | MIT | ✔ | ✔ | ✔ | GitHub | 3 |
| GEMINI-E3 EU | GLPL-2.1 | ✔ | ✘ | ✘ | GitHub | 4 |
| NEMESIS‑World | Apache-2.0 + "Commons Clause" | ✘ | ✔ | ✘ | GitHub | 5 |
| OPEN-PROM | AGPL-3.0 + "Commons Clause" | ✘ | ✘ | ✘ | GitHub | 6 |
| Project | Row | Copyright notice in full |
|---|---|---|
| CLEWs-EU | 3 | CLIMATE-DIAMOND (CLEWs-EU modelling team) |
| NEMESIS‑World | 5 | Baptiste Boitier (SEURECO), Pierre Le Mouël (SEURECO), Paul Zagamé (SEURECO), Hayat Mekki (SEURECO) |
Source information
Table columns and rows explained
| Col | Comment |
|---|---|
| A | the project name |
| B | SPDX license identifier as per repo, noting that "Commons Clause" is not supported |
| C | OSI means the license or license combination in use is approved by the Open Source Initiative for software |
| D | Copyright indicates the GitHub repository contains a copyright notice |
| E | Open merely indicates that a copyright notice and an OSI‑approved license is present |
| F | link to associated code repository and specifically the License tab |
| G | row counter |
| Row | Comment |
|---|---|
| 1 | — |
| 2 | unclear if the XLSX spreadsheets contain VBA routines or not, but the NC attribute makes the data non‑open in any case |
| 3 | — |
| 4 | note typo on webpage which states "MIT License 2.0" but the "2.0" should be omitted |
| 5 | — |
| 6 | — |
European Commission (20 November 2024). "Regulation (EU) 2024/2847 of the European Parliament and of The Council of 23 October 2024 on horizontal cybersecurity requirements for products with digital elements (Cyber Resilience Act)". Official Journal of the European Union. L: 1–81. Document 32024R2847.
FSFE (ongoing). REUSE — make licensing easy for everyone. Free Software Foundation Europe (FSFE). Berlin, Germany.
openmod (circa 2017). openmod manifesto. Open Energy Modelling Initiative.
▢
--
You received this message because you are subscribed to the Google Groups "openmod initiative" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmod-initiat...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB3636397CD8B53E2415713B661FF8BB2%40BR2PR04MB363639.eurprd04.prod.outlook.com.
-- Robbie Morrison Address: Schillerstrasse 85, 10627 Berlin, Germany Phone: +49.30.612-87617
** THIS MESSAGE ORIGINATED OUTSIDE LOUGHBOROUGH UNIVERSITY **
** Be wary of links or attachments, especially if the email is unsolicited or you don't recognise the sender's email address. **
Hello Mark
Thanks. Appreciate your reply. Can you point me to the most
recent commit for any of the OSeMOSYS variants? I am interested
because some of the related GitHub repositories do not seem to
have much activity of late, as best I can tell.
kind regards, Robbie
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB363639AF35D826938647D5BC56F8B92%40BR2PR04MB363639.eurprd04.prod.outlook.com.
glpsol, and in our testing we are also seeing it run faster than equivalent PuLP workflows. So we get an interesting combination: less syntax for the human to inspect, faster machinery underneath, and a formulation that remains intelligible enough
to keep a genuine human in the loop. For anyone interested in the technical side, the
MOSOX paper sets out the architecture and benchmarks.
Hi Mark
Thanks. To take the first three repos you cite, that's 8 months, 4 months, and 5 months of inactivity. And 10, 4, and 1 contributors in total for each. Did I get that correct?
best, Robbie
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB363639193683A73271ABC7ABA8F8B92%40BR2PR04MB363639.eurprd04.prod.outlook.com.
Hello Mark, all
Mark raises many points related to the sociology and practice of open‑source development. Beyond using approved licenses and working in public, there is no one correct approach to FOSS development. Projects are otherwise free to choose and evolve their own norms and practices in response to their circumstances, needs, and objectives. However, a number of common themes have emerged for successful projects, as debated and documented over the last three decades.
One key theme is that all development must take place in public unless compelling reasons dictate otherwise.
One such instance would be security fixes. I cannot think of an equivalent that would apply to open energy system modeling frameworks — legitimate concerns over critical infrastructure usually manifest in terms of technical specifics rather than the crude engineering characterizations found in such frameworks.
A distinction between the mainline code and release candidates, work‑in‑progress and/or experimental forks is important. These variants should normally reside in public and in the same git repo. Git allows easy switching between branches, this being one of its key draw cards. Small improvements developed remotely are an exception to this rule, whereby individual developers can create and test patches locally before submitting pull requests.
University degree projects may require that students undertake their work on private forks (see dedicated section later). However this does not preclude the general hum of bug fixes, minor improvements, and code refactoring that typifies most software projects. And additionally, public discussions on issues, features, and patches, and also general matters like development priorities and roadmaps.
Forking comes with costs. Developers are faced with either progressive drifting away from the mainline or having to periodically rebase with the mainline and fix discrepancies. It is usually best to get forked developments pulled into the mainline at the first appropriate opportunity so they become integral to the project and available to all.
Undertaking core development in private while maintaining a "shopfront repository" to provide your project with free and open source software (FOSS) credentials is clearly unacceptable practice. I guess we can all agree on that.
An early treatise was The Cathedral and the Bazaar by Raymond (2001) — which I recall was read avidly when it first rattled around the internet in 1998. A more recent academic treatment is Gardler and Walli (2022) who make a clear separation between the rights and permissions contained within software licenses and the adopted form of development. They comment, rather adversely (page 44):
In some cases the owners of the software may choose to maintain a development model in which only a very limited number of people are able to participate in the software development decision-making process. This may influence potential users' decisions to use the software or not, which in turn affects the likelihood of third parties contributing to the production of the software.
Gardler and Walli later observe that the Open Source Initiative (OSI) describes open source as "a development method for software that harnesses the power of distributed peer review and transparency of process".
Contrast this sentiment with the emerging industry colloquialism "code theater", which describes the practice of creating the public illusion of an active, collaborative open-source software project when the actual engineering work, core decisions, and true development history occur entirely in private.
Project governance can be either loose and implicit or careful and formalized.
I know of three significant projects/organizations within the openmod that are currently formalizing their governance objectives and practices. These processes requires a lot of effort and consultation (if anyone wants to share details, please do). I see these developments as a sign that our niche area is maturing.
Gardler and Walli (2022:54–56) discuss governance models, ranging from centralized (the Linux kernel) to distributed (or meritocratic). Brock et al (2022) cover the more formal aspects of FOSS in depth.
I believe that community health metrics, along with non‑quantitative information, can provide valuable insights for both internal and external audiences.
The Linux Foundation (LF) has recently become active in this area through its Community Health Analytics in Open Source Software (CHAOSS) initiative. Here are a couple of groupings of metrics that relate to the current discussion:
This posting is not the place to make unstructured health metric comparisons between various energy system projects. Readers might wish to check their favorite projects hosted on GitHub to see what their reported activity profiles show. Shopfront repositories will, of course, perform badly.
The academic dimension of FOSS development has not generally attracted much attention from the FOSS world, aside from recent interest in research spin‑offs and commercialization (Meeker 2026). This section considers some questions relevant to energy systems modeling for public policy support.
A graduate student conducting research for a degree programme using mainline source code, particularly if methodological, should probably create a private fork and work solely from that. The student can submit pull requests at strategic points or just once at the end of their studies. Research that relies on implementing new codebase features risks being replicated by skilled developers elsewhere. While individual projects can elect to freeze certain development routes to protect graduate research, other projects might not be aware of, or wish to be bound by, such restrictions.
This forking strategy does not remove the mainline project from public view, it only hides those lines of work reserved and related to graduate research.
I took the opportunity to check with FOSS projects located in academia for clarification on the above and my remarks were confirmed (again, if anyone wants to comment further, please do so). One university researcher remarked:
Many PhD students have developed [xxx] techniques using [project], but it would be unwise to keep the code in a public repo. Working from a private fork of [project] is the most sensible option.
Deep code development for energy system modeling frameworks is often undertaken by masters and PhD students, so the considerations under discussion here are material.
Di Cosmo et al (2026) offer observations on reusable research software development practices that are also applicable here. Specifically, the need to archive codebase snapshots as part of the scientific literature, something not common in general development. This practice benefits from having source code in genuine public repositories where they can be labeled and found using git tags — or better still, fine‑grained SWHID identifiers (Bethencourt 2026).
Software Heritage can only crawl repositories it can access (Di Cosmo 2020). If a research project uses shopfront repositories (for whatever reason), this process breaks down and the public scientific record becomes diminished as a result. Ditto for AI training and subsequent deployment for model building (Brown 2026).
Gruenpeter et al (2021) define reusable research software by extending the principles underpinning FAIR/O data, where the A is accessibility.
Those considering aligning with an energy modeling project, or perhaps just contributing to some specific component, should conduct their own due diligence regarding licensing, code quality, project governance, and development activity.
I hope this and earlier postings by me offer some pointers at to what to look for in this regard. The activity reports on GitHub can be particularly informative. If need be, ask key people in the project under consideration to explain their development processes before you decide to get involved.
Similarly, if you disagree with some of the development practices for a project you are contributing to, speak out and try to find solutions.
Bethencourt, Agustín Benito (5 March 2026). SWHID introduction and applications for SBOMs. Rocquencourt, France: Software Heritage. doi:10.5281/zenodo.18879288.
Brock, Amanda (editor) (October 2022). Open source law, policy and practice (2nd edition). Oxford, United Kingdom: Oxford University Press. ISBN 978-0-19-886234-5. Hardback edition cited. Creative Commons CC‑BY‑NC‑ND‑4.0. PDF file available.
Brown, Tom (3 September 2026). Agentic AI is the killer app of open energy modelling. nworbmot blog. Last modified 6 September 2026.
Di Cosmo, Roberto (17 June 2020). Software Heritage: a revolutionary infrastructure for software source code. Presented at OW2online, Paris, France.
Di Cosmo, Roberto, Sabrina Granger, Konrad Hinsen, Nicolas Jullien, Daniel Le Berre, Violaine Louvet, Camille Maumet, Clémentine Maurice, Raphaël Monat, and Nicolas P Rougier (12 March 2026). "CODE beyond FAIR: a roadmap for reusable research software". Scientific Data. 13 (1): 514. ISSN 2052-4463. doi:10.1038/s41597-026-06705-6.
Gardler, Ross and Stephen R Walli (October 2022). Chapter n2: Evolving perspective on community and governance. In Amanda Brock (editor). Open source law, policy and practice (2nd edition). Oxford, United Kingdom: Oxford University Press. ISBN 978-0-19-886234-5. doi:10.1093/oso/9780198862345.003.0002. Pages 34–67. Creative Commons CC‑BY‑NC‑ND‑4.0. PDF file available.
Gruenpeter, Morane, Daniel S Katz, Anna-Lena Lamprecht, Tom Honeyman, Daniel Garijo, Alexander Struck, Anna Niehues, Paula Andrea Martinez, Leyla Jael Castro, Tovo Rabemanantsoa, Neil P Chue Hong, Carlos Martinez-Ortiz, Laurents Sesink, Matthias Liffers, Anne Claire Fouilloux, Chris Erdmann, Silvio Peroni, Paula Martinez Lavanchy, Ilian Todorov, and Manodeep Sinha (13 September 2021). "Defining research software: a controversial discussion". doi:10.5281/zenodo.5504016. Creative Commons CC‑BY‑4.0.
Meeker, Heather (4 March 2026). What universities need to know about commercial open source. Chinstrap Community. California, USA. Blog.
Raymond, Eric S (2001). The cathedral and the bazaar: musings on Linux and open source by an accidental revolutionary. Sebastopol, California, USA: O'Reilly Media. ISBN 978-0-596-00108-7. Extended version of his essay originally published in 1998.
▢
with best wishes, Robbie
PS: Small clarification: I should have earlier written (note italics): "Just adding unmodified license boilerplate to a code repository in isolation is legally meaningless."
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB3636395D9B38EAB74BD2A2A49DF8B92%40BR2PR04MB363639.eurprd04.prod.outlook.com.
Hi Mark
Thanks. GitHub and similar platforms allow different branches
for different purposes: the mainline branch (now labeled main),
release‑candidates RCx, bugfixes a,b,c, experiments X,Y,Z, and
so on. The mainline is what users see by default. It is
usually based on the latest release candidate, now tested and
approved by the maintainers and given a suitable version
string. Adventurous users can opt for one of the bleeding‑edge
branches. All of this contained in the one public‑facing
repository. Note that I did mention early some exceptions to
public development for specific use‑cases, namely: security
fixes, minor developments and, in particular, academic forks.
This is all established practice, now we have git. I've been
involved in open‑source development for 25 years. I recently
filed a bug report for emacs, which was patched a week later. I
was kept in the loop while developers confirmed, triaged, and
fixed the admittedly minor problem with a one‑line modification.
You say that the OSeMOSYS development model is necessarily
different from established practice. However, in my view, the
model you describe risks crossing the boundary into
closed‑source development, carrying only the benefits of
significantly lagged source‑available software.
You also indicate (in two different
emails) that the real development for OSeMOSYS occurs somewhere
else — which I am not privy to unless I do something specific?
Sign an NDA? Am granted access a private repository? What
exactly? This is a serious question.
I think our discussion should remain public.
best, Robbie
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB363639D331C2D49C46E37F2AB8F8872%40BR2PR04MB363639.eurprd04.prod.outlook.com.
Hi Mark
My remark about legitimate strategies was related to an open‑source launch, not a development practice. Quite different. The deeco codebase is irreverent to this discussion in any case. For those interested, here is an historical timeline. The project was abandoned over two decades ago after the SCO Group retired key programming libraries.
The question at this juncture is simply this: where does the development of OSeMOSYS (say the MathProg variant) actually take place? Could you provide a URL? Then we can talk about how potential users can clone the codebase and perhaps later contribute back.
Looking into the recent peer‑reviewed literature, the URL given in Tan et al (2025:13,24) for OSeMOYSYS and noted as "actively maintained" is this:
Readers can then click through to the MathProg variant as follows:
And then select the master branch and then the last commit: 7 Nov 2024. That is 97 weeks or almost two years back. There are also 42 open issues.
Are you suggesting that this classes as "actively maintained" as per Tan et al ? Given that the main branch has been inactive for almost two years. Where exactly does the unpublished development that you have referred to three times actually take place? Or can you not disclose that?
Could someone else from that paper who is also reading this thread perhaps comment?
Source
best, Robbie
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB363639A4A587437514EEE27A78F8872%40BR2PR04MB363639.eurprd04.prod.outlook.com.
Hello Mark, all
I don't think I need to respond further at this juncture.
Please say hi to Claude from me!
best, Robbie
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB36363973ED9B6BBFF16D08B9DFF8872%40BR2PR04MB363639.eurprd04.prod.outlook.com.
Mark, that's fine .. the joke was approved by the Open Source Initiative and has an SPDX identifier from the Linux Foundation, have a good weekend, Robbie
To view this discussion, visit https://groups.google.com/d/msgid/openmod-initiative/BR2PR04MB3636395BA09CAC57E1532EBDE4F8872%40BR2PR04MB363639.eurprd04.prod.outlook.com.