Docs/Getting Started/Product Overview & Core Concepts

Product Overview & Core Concepts

Welcome to CoModel—a web-based modeling and simulation platform that brings AI data-driven models and traditional physics models together on one canvas. After a one-step installation on your local machine or server, open a browser to build system models, run co-simulations, and share results.

What CoModel does

CoModel is built for industrial-software users and system-simulation engineers, providing a complete closed loop from modeling to analysis:

  • Drag-and-drop graphical modeling: drag components from the standard component library across electrical, mechanical, thermal, hydraulic, and magnetic domains; connections generate the equations.
  • AI + physics hybrid modeling: upload a neural network in ONNX format and it is wrapped automatically as a connectable component that is solved together with your physics models.
  • FMU / FMI co-simulation: full support for FMI 2.0 / 3.0 in both Model Exchange (ME) and Co-Simulation (CS) modes; Functional Mock-up Units (FMUs) exported from mainstream tools drop directly onto the canvas.
  • High-performance simulation engine: a solving kernel built on the Julia SciML ecosystem; compiled results are cached and reused on the server, and models, results, and collaboration all stay inside your instance.

A hybrid CoModel model: physics components, an FMU, and an AI component orchestrated on one canvas

Who it is for

Role Typical use
System-simulation engineer Multi-domain coupled modeling, control-strategy validation, parameter sweeps
Algorithm engineer Embed trained AI models in the simulation loop and evaluate their interplay with the physical system
Equipment R&D engineer Build digital twins and predictive-maintenance models
University faculty and students Zero-install teaching demos and research collaboration

Core concepts

Before you create your first model, get familiar with a few key concepts. They recur throughout every operation in CoModel.

Model

A model is a concrete, simulatable object, made up of components, connections, and parameters. Each model corresponds to one Julia module and one .jl source file, stored inside your instance.

Model names must be valid Julia module names, such as SpringMassDamper or MyPowertrain. The system validates this automatically when the model is created.

Component

A component is the basic building block of a model. It represents a simulation object with physical or logical meaning, such as a resistor, a mass, a spring, an FMU, or an ONNX model.

The component library is organized by physical domain:

Category Example components
Electrical Resistor, Capacitor, Inductor, VoltageSource
Mechanical Mass, Spring, Damper, TorqueSensor
Thermal HeatCapacitor, ThermalConductor, TemperatureSensor
Signal / control Step, PID, Gain, Scope
FMU FMU files exported from external modeling tools
AI Neural-network components generated automatically after you upload an ONNX model

Ports and connections

  • Port: a connection point on the edge of a component, representing a physical or signal interface that can interact with other components.
  • Acausal physical port: for non-causal physical connections such as mechanical flanges and electrical pins. Only ports in the same physical domain can connect.
  • Signal port (causal): for directional signal flow; split into input ports (▷) and output ports (▶).
  • Connection: links two compatible ports, representing physical coupling or signal transfer. Port compatibility is checked in real time while you draw; incompatible ports are rejected.

Parameters and variables

  • Parameter: a constant at the component or model level, such as spring stiffness k, resistance R, or the simulation end time tspan_end.
  • Variable: a quantity that changes over time during the simulation, such as displacement, voltage, or temperature. Most variables are generated automatically by components; model-level variables can be inspected in the properties panel.

Solvers and simulation

  • Solver: the algorithm that numerically integrates differential-algebraic equations (DAEs) or ordinary differential equations (ODEs). CoModel recommends a solver strategy automatically based on the model, and you can also choose one manually.
  • Simulation job: one concrete solve run. After submission it enters the server-side job queue; progress is pushed to the browser in real time over WebSocket, and curves and statistics become available when it completes.

Code View

The CoModel canvas and the Julia / ModelingToolkit code stay in two-way sync. Every drag, connection, and parameter change updates the Code View on the right in real time; conversely, a .jl file carrying @comodel: layout annotations can be restored to its canvas state. The Code View is currently read-only and can be used for learning, auditing, and sharing.

Next steps