svd-ai-lab

Sim Plugin Dymola — AI skill for Claude Code

AI community

Use AI coding agents with Dymola/Modelica via sim-cli: model compilation, simulation runs, result inspection, replayable artifacts.

How to install Sim Plugin Dymola

This entry records only its repository, not the path inside it, so there is no exact command to give. Open svd-ai-lab/sim-plugin-dymola and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Sim Plugin Dymola does

Use AI coding agents with Dymola/Modelica via sim-cli: model compilation, simulation runs, result inspection, replayable artifacts.

Alternatives in AI

  • Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
  • Codex — openai-codex Adversarial code review, Codex CLI integration, cross-model analysis 9.6k ★
  • Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★

README

sim-plugin-dymola

Use Codex, Claude Code, or another AI agent to run and inspect [Dymola](https://www.3ds.com/products/catia/dymola) automation through `sim`.

**Status: real-install alpha.** This plugin is under development and not intended for out-of-the-box production use. The initial implementation has been smoke-tested against one local Dymola 2026x Refresh 1 installation, but it has not been broadly validated across license types, compiler setups, Linux installs, or production simulation workloads.

Dymola is a commercial Dassault Systemes product. The Dymola solver and its Python/API bindings are not bundled; you supply and license Dymola yourself. See [LICENSE-NOTICE.md](LICENSE-NOTICE.md).

What Works Today

  • The package installs as a normal sim plugin.
  • sim check dymola discovers local installs from environment variables, PATH, Windows registry entries, and common install paths.
  • Discovery reports the bundled Dymola Python interface wheel, local manuals, Python API docs, Java/JavaScript docs, and DymolaCommands docs when present.
  • File detection recognizes .mos, .mo, and Python files that mention Dymola automation APIs.
  • Linting performs conservative local checks.
  • .mos files execute through dymola.dymola_interface.DymolaInterface.RunScript.
  • .mo files open through openModel() and, when the top-level class name can be inferred, run checkModel().
  • Python scripts run in a subprocess with the local Dymola API wheel prepended to PYTHONPATH.
  • Persistent sessions work through:
    • launch() / sim connect --solver dymola
    • run() / sim exec --solver dymola 'DymolaVersion()'
    • disconnect()
  • Dymola logs are saved under .sim/dymola/..., attached as artifacts, and scanned for clear failure signals such as = false, compiler failures, and license errors.

Current Validation Evidence

Tested locally on Windows with:

  • Install root: C:\Program Files\Dymola 2026x Refresh 1
  • Launcher: `bin