Many modellers and planners hold data in PLEXOS XML formats, but want to work with open-source tools like PyPSA. This raises a common question: Can I legally use or help build a data converter between PLEXOS and PyPSA?
Before we dive in, a quick (but important) disclaimer — better safe than sorry:
PLEXOS is a registered trademark of Energy Exemplar Pty Ltd. This discussion and any related tools are independent and not affiliated with, endorsed by, or sponsored by Energy Exemplar. References to PLEXOS are made solely to enable interoperability with open-source tools using user-generated data.
With the disclaimer out of the way, let’s get to the key points:
Using such a tool is legal
If you have access to your own exported/ or prepared PLEXOS XML files, you can legally convert and work with them elsewhere. Why?
-
You own your user-generated XML — Energy Exemplar does not own the data you created.
-
File formats and schemas are functional, not protected expressions under copyright.
-
Transforming your data for use in other software is allowed — it doesn’t violate IP law.
Key point: Using a tool to work with your own PLEXOS output in another model is lawful.
Contributing to or building a converter is legal
Under both EU and US law, building converters for interoperability is protected, even if the proprietary license says otherwise.
-
EU Directive 2009/24/EC allows reverse engineering “to achieve interoperability” — and voids license clauses that try to prevent it.
-
US DMCA §1201(f) provides similar rights for compatibility-focused development.
-
Important for building such a converter only (self-generated) user data and publicly observable formats can be used → Luckily, many PLEXOS XML files are openly shared.
Key point: You may legally build or contribute to a converter, as long as you use open available data or your own user data.
Join the effort
We’re looking for:
-
Feedback on the legal framing
-
Input on shared guidelines for safe, open interoperability
-
Contributors for testing or development (
Link to the GitHub repo is coming soon, stay updated by joining our PyPSA Discord server or follow Open Energy Transition on LinkedIn)
Let’s make energy planning tools work better—together and lawfully.
— Open Energy Transition Team