Simulation Settings
Every simulation run in CoModel requires an explicit set of solver settings. The configuration sits on the left side of the simulation panel; before submitting a job, make sure all parameters suit the model and the problem you need to solve.
Opening the simulation panel
- Click the Simulation tab at the top of the model editor to switch to the simulation panel.
- The left side of the panel holds the parameter configuration, the right side shows status and results; after a simulation completes you can collapse the configuration area to give the result charts more space.
- On first entry the system pre-fills a set of default parameters; subsequent visits restore the most recently used parameters (remembered per model and stored in browser local storage).
If the model has unsaved changes, clicking Run Simulation saves the model automatically before the job is submitted.
Parameter reference

| Parameter | Type | Default | Valid range | Description |
|---|---|---|---|---|
Duration (tspan) |
number | 10.0 |
> 0, ≤ 86400 | In seconds; the start time is fixed at 0.0 |
Solver (solver) |
dropdown | Auto | See table below | Set manually or let the system recommend |
Relative Tolerance (reltol) |
number | 1e-3 |
1e-12 ~ 1e-1 |
Relative accuracy of the ODE solve |
Absolute Tolerance (abstol) |
number | 1e-6 |
1e-12 ~ 1e-1 |
Absolute accuracy of the ODE solve |
Max Step Size (dtmax) |
number | empty | > 0 | Optional; when left empty the solver adapts it |
Sampling Interval (saveat) |
number | empty | > 0 | Optional; spacing of result output points; when left empty, jobs sample automatically at tspan / 1000 (about 1000 result points over the run) |
Range and required-field validation runs when you click Run Simulation: on failure the offending inputs are highlighted in red and the job is not submitted. Numeric inputs accept both 0.001 and 1e-3 notation; the ×10 / ÷10 buttons step by orders of magnitude (e.g. tightening or loosening a tolerance by one decade). If you do not need a Max Step Size limit or a custom Sampling Interval, leave them empty.
Solver selection

CoModel currently supports the following solvers, all from the Julia SciML ecosystem:
| Solver | Type | Suitable for | Auto-recommendation condition |
|---|---|---|---|
| Rodas5P | implicit Rosenbrock | stiff ODE / DAE | Default recommendation for general models (≤ 100 equations after compilation); models containing FMU components |
| FBDF | implicit BDF | highly stiff DAEs, large-scale systems | General models with > 100 equations after compilation |
| Tsit5 | explicit Runge-Kutta | non-stiff ODEs | Models containing AI (ONNX) components (black-box functions provide no Jacobian) |
| KenCarp4 | implicit-explicit IMEX | mixed stiff + non-stiff | Not auto-recommended; select manually |
| ImplicitEuler | implicit Euler | debugging, extreme stiffness | Not auto-recommended; low accuracy but very robust |
With Auto selected you need no manual judgment; the system picks the solver after submission:
- General models: tiered by the equation count of the compiled system — more than 100 equations uses FBDF, otherwise Rodas5P;
- Models with FMU components: Rodas5P is recommended (finite-difference sensitivities are enabled automatically when IO coupling exists; purely standalone FMUs are time-driven by Tsit5);
- Models with AI (ONNX) components: Tsit5 is recommended (if the system is a DAE it upgrades automatically to an implicit solver with mass-matrix support).
After a job starts, an "Auto-selected ×××" notice appears below the solver dropdown. The notice reflects the recommendation made at start-up; the solver actually used is the one shown in the summary after the simulation completes.
Parameter Overrides (this run only)
During modeling, component parameters take the values set on the canvas / properties panel. To trial different values without modifying the model (for example, comparing the response under different resistance values), use the Parameter Overrides (this run only) panel at the bottom of the simulation parameters area.

Adding and editing overrides
- Click the collapsible panel title to expand it; when collapsed, the title shows how many overrides are currently active.
- Select the parameter to override from the dropdown, enter a new value, and the override is added:
- Global parameters at the model's top level are listed by bare name (e.g.
g,e); - Component instance parameters are listed as instanceName.paramName (e.g.
resistor1.R); - Parameters are grouped by "model parameters → component instance parameters", sorted alphabetically within each group; parameters that already have an override no longer appear in the dropdown.
- Global parameters at the model's top level are listed by bare name (e.g.
- Each override row shows the parameter name, its default value in the model (
(=default)) and its unit ([unit]):- The value can be edited inline; when it equals the model default it is shown grayed out;
- Click the delete icon at the end of the row to remove that override.
How overrides apply
- Overrides apply only to the simulation being submitted and never modify the model file; the simulation history archives them together with the run.
- On submission, a row where a parameter has been selected and a value entered — but Add Override not yet clicked — is merged into the submission automatically.
- If the model has parameters with neither a set value nor an override, submission is blocked and a list of missing parameters is shown (fill them in via the properties panel on the right or in this panel).
- Parameter overrides for FMU components are injected through a dedicated initialization channel, transparent to how you use them; overrides that cannot be matched to a model parameter are ignored.
Persistence and reuse
- Overrides are stored per model in browser local storage and restored automatically the next time you open the simulation panel.
- In the simulation history, Run again with these params or Edit params & run restores that job's solver settings and Parameter Overrides into the current draft.
Parameter selection tips
- Stiff systems (circuits, mechanics, thermal coupling): prefer Rodas5P or FBDF; a tolerance of
1e-6is a good starting point. - Non-stiff systems (signal flow, control logic): use Tsit5 — lower computational cost.
- Mixed systems: try KenCarp4, or simply use Auto and let the system decide.
- Parameter trials: use the Parameter Overrides panel to swap values temporarily instead of copying and modifying the model for each comparison.
- Fewer result points: a larger
saveatreduces result file size and memory use, at the cost of time resolution. - Solver failure / divergence: tighten the tolerance to
1e-8first, then try a different solver; if it still fails, check the model's initialization settings.
Once the parameters are configured, continue with Submitting & Monitoring Simulation Jobs to learn how to run and track jobs.