Skip to content

SMI Simulation · Demo

The demo

One command boots an instrument with every surface open:

npx tsx packages/runtime/sst-runtime/src/bin.ts run packages/instances/acme-lc500 5290

Then the surfaces answer on the same port: /twin (the SMART twin surface), /world (the simulation driver, GraphiQL in a browser), and the console with --console.

A scripted scenario

The load-cell rehearsal, in console lines:

enable
place load 40
show ground-truth
set environment temperature 60 humidity 100
advance 5m
set environment temperature 20 humidity 50
advance 5m
place load 40
show indication
exit

The indication after the temperature cycle differs from the first, by a configurable amount — the drift a real cell shows, so the rehearsal is honest about what a tester will see on the bench.

Drive it from your own client

Everything the console does is GraphQL against /world, and every read is GraphQL against /twin. CORS is open for browser clients in the dev posture. The OIML-CS SMART platform binds the same endpoints when it drives a test run.

The standalone commands, the instrument kinds, and the physics model are in the documentation.