Individual skill

simulate-modelica

Simulate Modelica models (.mo files) with WSMKernelX — compiles to C++, builds, and runs the simulation (no plotting; to plot the results too, use simulate-and-plot-modelica). Use this skill whenever the user asks to simulate a Modelica model, run a simulation, or get simulation results or time-domain behavior. Triggers on phrases like 'simulate this model', 'run the simulation', 'get simulation results'. Use it also when running a model is a step in a larger job you took on yourself — verifying a port, a datasheet claim or a hand-written implementation against a model built for the purpose — even if the request never mentioned Modelica. If the request also involves analysis — limits/requirements, violations, parameter sweeps, Monte Carlo, calibration — prefer wolfram-language-modelica when Wolfram Language is available.

simulate-modelica/SKILL.md

Read pinned source

Source commit af6615a05ab455d4fb85b45f29343835f61a08c7

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 7, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
20
Repository last updated
Nov 6, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Simulate Modelica Model

This skill simulates Modelica models (.mo files) with WSMKernelX: it flattens the model, generates C++ code, compiles it, and runs the simulation. It produces a `.mat` results file.

## Before you run anything

This skill drives WSMKernelX through the shared launcher
`../scripts/wsm_run.py`. **Read [the shared-conventions appendix at the end of this file](#appendix-shared-conventions-for-the-modelica-skills)
first** — launcher resolution, the Windows-vs-Unix shell/Python rules, the
temp-dir and cleanup conventions, the JSON-array output gotcha, and the MSL 4.x
dialect notes that every step below assumes.

The launcher works in `_wsm_simulate_temp/` next to the `.mo` file and leaves
`simulate.out.json` and the `.mat` there. Tell the user: "Working in temporary