The Functional Mock-up Interface (FMI) is a tool-independent, open standard for the exchange and co-simulation of dynamic models, defined by a zip file containing an XML model description and compiled C code binaries. It enables engineers to export a simulation component from one authoring environment and seamlessly import it into another, solving the fundamental problem of vendor lock-in in model-based systems engineering.
Glossary
Functional Mock-up Interface (FMI)

What is Functional Mock-up Interface (FMI)?
An open standard for exchanging dynamic simulation models between different authoring tools, enabling component reuse in a co-simulation environment.
FMI supports two primary execution modes: Model Exchange, where the importing tool provides the numerical solver, and Co-Simulation, where the Functional Mock-up Unit (FMU) ships with its own embedded solver. This standard is critical for constructing digital twins of complex supply chains, allowing a logistics model built in one tool to be coupled with a factory simulation from another via a co-simulation bus, enabling holistic system-level analysis without re-engineering proprietary models.
Key Features of the FMI Standard
The Functional Mock-up Interface (FMI) is an open standard for exchanging dynamic simulation models between different authoring tools, enabling component reuse in a co-simulation environment.
Functional Mock-up Unit (FMU)
A self-contained, compressed file (.fmu) that packages a dynamic simulation model along with its metadata, binaries, and documentation. An FMU is the atomic unit of exchange in the FMI ecosystem.
- Contents: An XML model description file, C code or compiled binaries for the target platform, and optional documentation
- Self-Describing: The XML header exposes all variables, parameters, and solver capabilities without requiring the original authoring tool
- Platform Portability: A single FMU can contain binaries for multiple operating systems (Windows, Linux, macOS) and architectures (x86, ARM)
FMI for Model Exchange
The Model Exchange interface imports the dynamic equations of a model into a target simulator, where the importing tool's own solver integrates them. The FMU provides the mathematical model; the host provides the numerical integration.
- Solver Coupling: The FMU exposes continuous-time state derivatives and event indicators; the host solver calls these at each time step
- Computational Efficiency: Eliminates solver overhead by leveraging the importing tool's optimized integrator
- Use Case: Ideal when a high-fidelity engine model must run inside a vehicle dynamics simulator with a unified solver
FMI for Co-Simulation
The Co-Simulation interface allows each FMU to contain its own embedded solver, exchanging data only at discrete synchronization points. This decouples the internal numerics of each subsystem.
- Solver Independence: Each FMU can use a specialized solver tailored to its physics (e.g., stiff solvers for chemical kinetics, fixed-step for real-time hardware)
- Master Algorithm: An external orchestrator manages the communication time steps and data exchange between FMUs
- Use Case: Co-simulating a multi-physics system where a structural dynamics tool, a CFD solver, and a control system model run as independent FMUs
Variable Types and Causality
FMI defines a rigorous taxonomy of variable causality attributes that govern how signals flow between connected FMUs, preventing algebraic loops and ensuring well-defined system composition.
- Input / Output: Explicitly declared ports for signal flow; an output of one FMU connects to the input of another
- Parameter: Tunable constants that remain fixed during a simulation run but can be changed between runs
- CalculatedParameter: A parameter derived from other parameters at initialization time
- Local: Internal variables not exposed to the co-simulation bus, preserving proprietary model details
Co-Simulation Master Algorithm
The master algorithm orchestrates the data exchange and time synchronization between multiple FMUs in a co-simulation. It defines the communication step size and the sequence of operations.
- Explicit Coupling: Jacobi-type schemes where FMUs exchange data only at the end of each macro-step
- Implicit Coupling: Gauss-Seidel iteration where FMUs are called sequentially within a step, using the latest available inputs
- Variable Step-Size: The master can adapt the communication interval based on event detection or error estimation
- Rollback Support: Advanced masters can request FMUs to revert to a previous state if an iteration fails to converge
Model Description XML Schema
Every FMU contains a mandatory modelDescription.xml file that serves as a machine-readable manifest. This schema is the contract between the exporting and importing tools.
- ModelVariables: Declares every scalar variable with its name, value reference, causality, variability, and unit
- ModelStructure: Defines the dependency graph—which outputs depend on which inputs—enabling the importing tool to compute execution order
- UnitDefinitions: Maps variables to physical units (SI and custom), ensuring dimensional consistency across multi-tool compositions
- Vendor Annotations: Extensible metadata for tool-specific information without breaking the standard
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions About FMI
Clear, technical answers to the most common questions about the Functional Mock-up Interface standard for model exchange and co-simulation in digital twin and supply chain simulation environments.
The Functional Mock-up Interface (FMI) is an open, tool-independent standard for exchanging and co-simulating dynamic models between different simulation environments. It works by packaging a model's equations, solver configuration, and metadata into a single ZIP archive called a Functional Mock-up Unit (FMU) . The standard defines two primary interfaces: FMI for Model Exchange, where the importing tool provides the solver and the FMU supplies the differential algebraic equations, and FMI for Co-Simulation, where the FMU includes its own embedded solver and exposes a discrete-step API. This enables a logistics network model built in one tool to seamlessly integrate with a factory simulation from another, forming a unified co-simulation bus for end-to-end supply chain digital twin analysis.
Related Terms
FMI is a cornerstone of modern co-simulation. These related concepts define the infrastructure, standards, and methodologies that enable FMI-based models to interoperate within larger digital twin and simulation frameworks.
Co-Simulation Bus
A middleware infrastructure that synchronizes and orchestrates data exchange between multiple independent simulation models running simultaneously. The co-simulation bus acts as the communication backbone, managing time synchronization and data marshaling between FMUs exported from different authoring tools.
- Handles step size negotiation between models with different solver rates
- Enables coupling of a mechanical FMU with a thermal FMU for multi-physics simulation
- Examples include open-source frameworks like HELICS and commercial platforms
OPC UA Interface
A machine-to-machine communication protocol for industrial automation that provides a secure, platform-independent standard for data ingestion into a digital twin. OPC UA serves as the bridge between physical PLCs and FMI-based virtual models.
- Provides semantic information modeling beyond raw data transport
- Enables real-time telemetry from physical assets to drive FMU state updates
- Complements FMI by standardizing the interface between the physical world and the simulation layer
Fidelity Scaling
The dynamic adjustment of a simulation model's complexity and resolution to balance computational cost against required accuracy. FMUs can be exported at multiple fidelity levels—from high-fidelity 3D physics to reduced-order surrogate models.
- A high-fidelity FMU captures detailed dynamics but runs slowly
- A low-fidelity FMU uses lookup tables or linear approximations for real-time execution
- FMI supports this through co-simulation master algorithms that can switch between fidelity levels during runtime
Surrogate Modeling
A data-driven approximation of a complex, high-fidelity simulation that executes significantly faster. Surrogate models are often packaged as FMUs to replace computationally expensive physics-based components in system-level simulations.
- Trained using Design of Experiments (DOE) to sample the input space efficiently
- Common techniques include Gaussian Process Regression and neural networks
- Enables real-time what-if analysis where full-physics FMUs would be too slow
Verification, Validation, and Accreditation (VV&A)
The rigorous three-phase process ensuring a simulation is built correctly, represents reality accurately, and is officially approved for a specific use case. FMUs must undergo VV&A before deployment in safety-critical applications.
- Verification: Is the FMU solving equations correctly?
- Validation: Does the FMU match physical test data?
- Accreditation: Is the FMU officially certified for a specific decision context (e.g., flight certification)?
Federated Twin Architecture
A decentralized design pattern where multiple autonomous digital twins owned by different stakeholders are interconnected via standardized interfaces without centralizing proprietary data. FMI is the natural exchange format for federated twins.
- Each stakeholder exports a black-box FMU protecting their IP
- A co-simulation orchestrator couples FMUs across organizational boundaries
- Enables cross-enterprise supply chain simulation without exposing sensitive internal models

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us