Skip to content

Models Try Protos

← Home · Models

Models is a registry of all computational models available in your workspace — physics models, ML models, kinetic models, domain-specific solvers, and custom scripts. Models are registered once, reusable across any project, fully versioned, and traceable.


On This Page


Why It Exists

Without a shared model library, teams rebuild the same models for each project — wasting time and introducing inconsistencies. Protos solves this by registering models at the workspace level:

The Co-Engineer can register models for you. Upload a Python script or point it at a GitHub repo and ask it to register the model — it will infer the input/output schema automatically.

  • Register once, call from any project
  • Every simulation run references the exact model version it used
  • Results remain reproducible indefinitely
  • All inputs, outputs, and provenance are traceable

Registering a Model

The top of the Models page

  1. Register model opens the Register a model dialog.
  2. Create with Co-Engineer starts a Co-Engineer chat to create the model with you.
  3. Search finds a model by name or tag.

To register one yourself:

  1. Go to Models in the sidebar.
  2. Click Register model.
  3. Follow the flow for your source (see Model Source Types).

The Register a model dialog on the Upload code tab

  1. Upload code, Endpoint and GitHub: the three ways to bring in a model.
  2. Name: Protos fills in the Key from it and checks that the key is free.
  3. Execution type: Local runner or Cloud.
  4. Model runtime: Python, COMSOL, MATLAB script, Simulink model or Plant Simulation.

On the Upload code tab, first choose an Execution type:

  • Local runner — your model runs on your own machine; Protos dispatches inputs to it.
  • Cloud — upload your Python code; Protos builds and hosts a container for it in the Aris cloud, so nothing runs on your machine (Python only).

Local runner flow:

  1. Fill in the metadata and pick a Model runtime (Python, COMSOL, MATLAB script, Simulink model or Plant Simulation):

    Field Description
    Name Clear, searchable name (e.g. Heat Exchanger Sizing)
    Key A unique slug that identifies the model; Protos checks it is available as you type
    Description Optional. What the model does, when to use it, known limitations
    Tags Optional. Make the model easier to find
    Runs at once Under How your machine runs it: how many runs your machine takes at the same time, up to your licences, CPU cores and memory
  2. Click Next and define the Input schema and Output schema — the schema builders let you specify each parameter's name, type, and whether it's required. Optionally use Auto-detect from file (Upload for detection) to pre-fill the schemas from your model file; the file is discarded immediately after analysis.

  3. Click Register model.
  4. Enter the Path to your model file, choose your OS and click Download runner, then launch the runner on your machine. A Plant Simulation model runs on Windows only, so its runner is for Windows, with an optional Plant Simulation installation path (blank uses the newest registered version).

Cloud flow:

  1. Select Cloud and click Upload your code →.
  2. Click Select file or Select folder, then Analyse upload.
  3. Click Auto-draft wrapper — Protos drafts a wrapper that bridges your code into Protos and infers the input/output schema from it. Review and edit the wrapper.
  4. Adjust the Model name, Description and Tags, then click Build & save. Protos builds a container and opens the model page, where you can follow the build.

A model file already in your Knowledge Library shows Model draft ready on its row. Review model draft opens this flow with the file already chosen.

Tip: Document inputs and outputs fully — include units, valid ranges, and edge case notes. Future users (including you, six months from now) will thank you.


Model Source Types

Source type How it works in Protos
Python (Local runner) A .py file or a directory, with a function named run, main, execute, predict or simulate. Runs on your machine through the downloaded runner, which sets up a Python environment on first run. The runner reads from disk and cannot open archives: a .zip works only with Auto-detect from file, so unzip a multi-file package locally and give the runner the folder or the entry .py file.
Python (Cloud) A .py file, a .zip or .tar.gz archive, or a whole folder (Protos zips it for you). Multi-file libraries are fine. Protos drafts a wrapper, builds a container and runs it in the cloud.
COMSOL (Local runner) A .mph file (COMSOL 6.0 or newer). COMSOL must be installed on the machine running the runner.
MATLAB script (Local runner) A .m script or function (R2016b or newer). .mlx and .mlapp files are not supported.
Simulink model (Local runner) A .slx model. Point the runner at the .slx, with its data scripts and S-function MEX files unzipped in the same folder. For Auto-detect from file, upload the .slx, or a .zip with those files so Protos can check that nothing is missing.
Plant Simulation (Local runner) A Siemens Tecnomatix .spp model, on Windows only. Plant Simulation must be installed and licensed on the machine running the runner. A run sets the object paths you give as inputs (for example Line1.Station.ProcTime), simulates, and returns the model's result tables, station statistics and layout. A run never saves the .spp.
External API On the Endpoint tab, enter the Endpoint URL and an optional Auth token, then click Analyse endpoint. Protos calls the endpoint on run
Repository On the GitHub tab, paste a repo URL (GitHub, GitLab, Bitbucket, or Codeberg) and click Analyse repo. Protos builds a container from it; you can optionally auto-draft the wrapper with AI. A live build progress indicator shows three steps: Preparing build context → Building image → Finalising — the build may take a few minutes

For schema detection on a Local runner model, Auto-detect from file also accepts a model card (.md).

Auto-detect on a COMSOL model lists what the .mph can report over time:

  • Results tables, such as a probe's table in a solved model, one output per column, with names and units from the table header.
  • Global variable probes, for a model saved without results.
  • Definitions › Variables, as optional outputs.
  • Expressions from the model's plot groups.

A required output the run can't read fails the run and names the output; an optional one is listed under meta.unavailable_outputs.

Auto-detect on a Simulink model lists the model's own inputs and outputs. Among them:

  • A top-level constant block that drives a named signal becomes an input under that signal's name, with the model's value as its default. The runner sets it without editing the .slx.
  • A grouped setting (a struct such as Plant.Motor.gain) becomes one object input listing the fields the model reads. Give only the fields you want to change.
  • A To Workspace block fed by a bus becomes one output per bus element, named <variable>_<element>.
  • Signals whose names aren't valid MATLAB identifiers, constants that share a signal name, and names a mask creates for itself produce a warning rather than an input.

Private repositories. GitLab, Bitbucket and Codeberg repos must be public. For a private GitHub repo, click Connect GitHub on the GitHub tab and sign in; then tick Use my GitHub account before analysing the repo. Your token is used only to clone the repo.

Repos with several models. If the repo's protos.toml declares more than one model ([[model]] entries), Protos lists them under Models in this repo. Pick the ones you want and click Build & save N model(s) to register each of them.

Large repos. A repo over the 2 GB hosting cap shows an estimated hosting cost (storage, one-time build, per-minute run and an estimated first month). Choose Host on Protos anyway to continue, or Use Local instead to switch to the Upload code tab and register it as a Local runner model, which runs on your own machine.


The Model Page

Click a model in the library to open its page. The header shows its name, where it runs (Local, Cloud, Endpoint or GitHub), a status badge such as Ready, Building, Runner online or Build failed, the version, Run, Share and, for the owner, a ⋯ menu with Edit and Delete.

The Overview tab holds:

  • Inputs — one row per input, starting from the model's defaults. Change the values you want and click Run to run the model directly, without building a canvas.
  • Outputs — the last run's results, one row per output with its final value; a signal over time shows a small chart, and clicking the row opens it full size.
  • Runs on — where the model runs. For a Local runner model it shows whether the runner is online and when it was last seen, with Download runner and, under Advanced settings, how your machine runs it. A running runner picks up a new Runs at once within two minutes, after any runs it has started; if it doesn't, download it again. On an external endpoint model, the owner chooses whether people they share the model with run on the owner's API key (billed to the owner) or must add their own.
  • Variants — on a Simulink model you can edit, New variant asks the Co-Engineer for a copy with changes you describe. Each variant says what it changes and how its last result compares with the base model, and a canvas model block can switch between the base and its variants.

Simulink and COMSOL models also get a Structure tab: a Simulink model as a block diagram you can zoom and open up, a COMSOL model as its tree of nodes with each node's settings.


Finding a Model

Models that ship with Protos are on the Public tab of Models, ready to use without registering anything. To add one to a canvas, ask the Co-Engineer. The Model entry in a canvas's Components rail is a Pro feature. The battery-cell models below are one of these domain packs.

Model What it does
Cell Performance Equilibrium KPIs (capacity, energy, N/P ratio, mass) from electrode design; optional SPMe electrochemical simulation for DCIR, power, and drive cycles
Cell Optimizer Multi-objective optimisation (NSGA-II + PyBaMM) to find Pareto-optimal cell designs against any combination of performance and design targets
DFN Calendar Ageing Capacity fade and SoH prediction during storage over days to years using the Doyle-Fuller-Newman model
DFN Cyclic Ageing Cycle-life simulation with SEI growth, particle cracking, swelling, and loss of active material
SPMeT Power Maximum power envelope across SOC, temperature, and pulse duration
SPMeT DCIR Direct Current Internal Resistance at configurable time points across a SOC/temperature/C-rate sweep
SPMeT Dynamic Load Drive cycle simulation with full voltage, current, temperature, and energy timeseries

Beyond the built-in models, you can search and add any model your team has registered:

  • Search by name or tag.
  • Filter by tags or scope (Mine, Shared with me, Public, All).
  • Sort by Last updated, Name A-Z, or Newest first.
  • Click any model to see its full documentation, input/output schema, and version history.

Model Versioning

Protos versions models automatically: every edit mints a new, immutable version. This is critical for reproducibility.

What versioning gives you Detail
Reproducibility Old simulation runs always reference the exact model version they used — results never change retroactively
Comparison The version history shows what changed between each version and the one before it, and can compare any two versions
Audit trail Full history of who changed what and when

Version numbers take the form major.minor and are assigned for you. A model's input and output schemas can't be edited, so every edit and every restore raises the minor number (1.0 → 1.1 → 1.2).

To update a model: Open the model and click Edit to update its name, description, or tags — this mints a new version automatically. There's no way to update a model's code in place — you have to register a new model instead. If the old one isn't referenced by any canvas, delete it first to free up its key; if it is in use, register the new code under a different key so existing canvases keep working.

To go back to an earlier version: Click the version number next to the model name to open Version history, then click Restore on the version you want. Restoring mints a new version from the old one's definition — history is never rewound.

The model's owner also has Copy on each row of Version history, which copies that version into a new model of their own.

Note: Delete in the model page's ⋯ menu first shows what runs the model. A model that something uses is retired rather than deleted: existing canvases keep reading it, but nothing new can use it, and the toast offers Undo. Turn on the Retired toggle beside the scope tabs to list your retired models, each with Un-retire. A model nothing uses is deleted for good. Individual versions can't be deleted, so the version history stays complete.


Best Practices

  • Tag models by domain — makes them far easier to find in Simulation Studio.
  • Note known limitations in the description — an honest description of edge cases prevents misuse and prevents future users from discovering limitations the hard way.
  • Don't rebuild models already in the library — search before registering. If a close match exists, reuse it rather than registering a near-duplicate.

See Also


← Back to Home