Skip to content

Modex documentation ​

Modex is a workspace for modeling and simulation, with optional AI assistance. It edits plain Modelica .mo files on your disk, runs them with OpenModelica or Dymola, and turns the results into figures and documents. In VS Code it can also open PSCAD .pscx projects through the separately installed AgenticEMT package.

These pages cover installing Modex, connecting it to a simulation engine, and fixing what goes wrong. They are short on purpose: the editors explain themselves, and these pages answer the questions they cannot.

Choose how you use Modex ​

You want to…Start here
Work in VS Code, Cursor, Windsurf or another editor built on VS CodeVS Code extension
Use a standalone Windows app (public preview)Modex Desktop
Give Claude Code, Codex, Claude Desktop or another MCP client Modex's modeling toolsClaude Code, Codex & MCP

AI is optional in every form. The editors, libraries, simulation and result tools work without an AI provider.

Then ​

  • Simulation engines — install OpenModelica, or point Modex at Dymola.
  • PSCAD projects — install AgenticEMT and open a .pscx in place (preview, VS Code and Desktop).
  • Examples — open-source Modelica models to run, from power systems to mechanics.
  • Troubleshooting — where the logs are, and what to send when you report a problem.

What Modex opens ​

FileWhat it is
.moa Modelica model or package — diagram, icon and text views of the same file
.pscxa PSCAD project, edited in place by AgenticEMT (VS Code, preview)
.drawioa general diagram, edited offline in a bundled draw.io
.mxfiga figure: plotted signals from one or more simulation runs
.mxdoca document: prose with plots linked to figures or pinned to a run

Getting help ​