DEP — DEVlink Engineering PlatformUser Guide

Software, FMI and SSP

DEP runs more than its own models. You can import FMUs from other tools, onboard compiled customer software as virtual ECUs (vECUs), and import or compose whole systems described in SSP. Nothing you import runs until you have inspected it and explicitly trusted it. This chapter covers the three Library workspaces: Software integration, Software / FMI / SSP and SSP import & composition.

Before you start

RequirementWhat you need
EditionDEP Integrator or higher to import and run FMUs, run SIL and import or export SSP (fmi.import, fmi.runtime, runtime.sil.execute, ssp.import, ssp.export). See Licensing and Editions.
SoftwareA package in one of the formats below, described by a manifest software.depvecu.json that lists the files, the I/O contract (port names, directions, units and types) and the step period. The DEP vECU Customer Templates package from DEVlink contains working BMS, EVCC, MCU and VCU examples in each format.
FMUsFMI 2 or FMI 3 FMUs with a Windows x64 binary.
SSPAn .ssp package (SSP 2.0.1), or the reference EV bench from DEVlink.
SIL Kit (optional)For SIL Kit participants: a SIL Kit registry and peer.
Software formatWhat it is
jsonl-v1An executable that exchanges one JSON line per step over standard input/output.
native-v1A Windows DLL with DEP's native step interface.
oneshot-json-v1An executable called once per step with JSON input and output.
FMI 2 / FMI 3 co-simulationA software FMU with a Windows x64 binary.
SIL Kit participantSoftware that runs as a SIL Kit participant. It needs a SIL Kit registry and peer.

Steps

Onboard customer software (vECU)

Customer software onboarding: inspect, review and trust, import, check, use in the System, assign as SIL implementation and run 1 · Inspectno code is runInspect software artifact 2 · Review & trustpublisher and hashesI reviewed and trust… 3 · Importfiles retained in projectApprove and import 4 · Checkprocess lifecycleCheck executable 5 · Use in Systemadd or assignAssign SIL implementation 6 · RunSIL profileCheck · Run Each execution instance runs in its own process. A host check proves lifecycle and interface support, not vendor or OEM equivalence. Supported adapters: jsonl-v1 executable, native-v1 DLL, oneshot-json-v1, FMI 2/3 co-simulation FMU, SIL Kit participant.
Onboarding customer software: nothing runs until you have inspected it and explicitly trusted it.

Open Library → Software integration. The workspace has three tabs: 1 · Inspect and approve, 2 · Check retained software and 3 · Use in System.

Software integration: inspect an artifact without running it, then approve it explicitly.
Software integration: inspect an artifact without running it, then approve it explicitly.
  1. InspectOn tab 1, select Select software package for review and choose the package, FMU or manifest. Select Inspect software artifact, or Inspect and save report to keep the inspection report. Inspection reads the files without running any code.
  2. Review and trustRead the inspection report: files, hashes, publisher and interface. If you trust the package, tick I reviewed and trust this package and its publisher. It authorizes execution of the reviewed code, locally or on a configured remote participant.
  3. Approve and importSelect Approve and import reviewed package. The original files and their hashes are kept in the project.
  4. CheckOn tab 2, check the retained software. A host check confirms that the process starts, follows the lifecycle and matches the interface. Use Refresh process health to update the status.
  5. Use in SystemOn tab 3, select Add imported software to System, or assign it as the SIL implementation of an existing component (Integrations… → Assign SIL implementation). Select Use local SIL profile, then run Check.

Approving a package authorises DEP to execute its code on this PC. Only approve software from a publisher you trust. Each software instance runs in its own process, with your Windows user's rights. Do not start vECU executables by double-clicking them: DEP starts and stops them itself.

Import an FMU

Open Library → Software / FMI / SSP to see the Project software and model catalog.

The project software and model catalogue: imported FMUs and compiled software, each with its identity and an Instantiate button.
The project software and model catalogue: imported FMUs and compiled software, each with its identity and an Instantiate button.
  • Import FMU… imports an FMI 2 or FMI 3 co-simulation FMU (dialog Import vECU / FMU). DEP reads its metadata. The status Imported metadata only; executable code has not been run. means the code has not been run yet.
  • Import as Model Exchange… imports a model-exchange FMU, which DEP integrates with the solver you choose: Euler fixed-step, Implicit Euler / Newton (ODE), RK4 fixed-step, RK45 Dormand–Prince, or one of two variable-step multistep solvers (Adams or BDF), with tolerances and step sizes. Restart solver host restarts the solver.
  • Each catalogue entry shows its identity (catalog.fmu:<sha256> or software.<sha256>), its kind and its status (imported, ready).

To use an FMU in the System, add it with Add component → Import SSP or FMU, or assign it as an implementation in Integrations….

FMU approval and restricted hosts

An FMU is native code. Before the first run of an FMU that is new to a project, DEP shows a dialog Run this FMU? with the message "This FMU runs native code on this computer." and the FMU's name, vendor, platform and SHA-256. Choose:

  • Cancel: the FMU does not run.
  • Run: the FMU runs restricted (below).
  • Run unrestricted: the FMU runs without the restrictions. Use it only for an FMU that needs helper programs or has to write outside its run folder, and that you trust.

An FMU that you imported into the project counts as approved. A changed file is a new file and is asked about again. Your choice is saved in the project. Settings → Reset FMU approvals for this project removes the saved choices for that project.

The programs that load FMU and vECU libraries run restricted: low integrity level, so the library can write only to its own run folder (.dep-runs next to the project file) and its own temporary folder; no child processes; a memory cap; and the host ends with DEP. DEP does not ask before customer software (vECU) libraries run; they are restricted in the same way.

Import and verify an FMU

Import and verify an FMU brings a standalone co-simulation FMU, for example one exported from another modelling tool, into the saved System and lets you compare its outputs with a numerical reference. Open it with Import an FMU into System on the project Overview. The dialog has four steps:

  1. Select packageChoose the .fmu file. DEP inspects it without running its native code.
  2. Review compatibilityReview identity, platforms and limitations, dependencies and communication timing. Issues that must be resolved before the FMU can join a System are listed here. If you trust the package, tick I reviewed this package and trust its native code for later execution. and select Import reviewed FMU. A package that is not compatible can only be kept for inspection (Retain package for inspection only).
  3. Add to SystemGive the component a name and select Add FMU to System. Then close the dialog, configure the component's inputs, parameters and connections in System, and run the ordinary Check.
  4. Verify outputsSelect Load numerical reference JSON to load expected values, review the reference and its tolerances, and approve the run. DEP runs the saved System and shows actual versus expected values and their difference. Save verification evidence keeps the full comparison.

The seven BEV reference FMUs installed with DEP are a good way to try this workflow (see Starter Projects).

  • An imported FMU keeps its own declared fixed step. When you add it to a System, DEP derives its update rate from that step and the System base tick.
  • Torque units written as N*m, Nm, N.m, N·m or N m are treated as the same unit when ports are connected.

Run instances in the integrated runtime

The catalogue can also run models directly in the integrated (restbus) runtime, without the System. Select Instantiate on an entry and give it an Instance name. Then use Signal Bindings to bind model variables to restbus signals (Bind, with optional scale and offset). Use Run, Single step, Reset state and Delete instance to control it. Create BMS + Thermal reference system and Run reference system 100 cycles demonstrate this path.

Import an SSP package

SSP (System Structure and Parameterization) describes a system of connected FMUs with parameter sets and variants. Open Library → SSP import & composition.

SSP import &amp; composition: package and hierarchy, architecture and connections, parameters and variants, compatibility and validation.
SSP import & composition: package and hierarchy, architecture and connections, parameters and variants, compatibility and validation.
  1. SelectImport SSP and choose the .ssp file (dialog Import SSP 2.0.1 System). Under Reference packages you can load DEVlink's reference EV bench instead.
  2. ReviewThe IMPORT SSP ARCHITECTURE review lists the package contents and the compatibility findings. Nothing changes in the project yet.
  3. Import as draftSelect Import as draft. The system appears under Package and hierarchy and in System Composition.
  4. Resolve and prepareFix the findings in Composition Validation and select Validate now. Then select Materialize runtime to make it executable.

Compose and export an SSP system

  • Type a name and select New composition.
  • In System Composition: Add component, Add subsystem, and Add connector with type Float64, Float32, Int32, UInt32, Boolean, String, Binary or Clock. Then Connect.
  • In Parameters & Variants: New parameter set, Bind set to component, Activate, and Apply model/parameter override for variants.
  • Export SSP writes an SSP 2.0.1 package (default name restbus-system.ssp).

MathWorks models

Simulink models in a restricted MDL/SLX subset can be brought in through Integrations… → MathWorks integration: Inspect SLX / MDL, Inventory project folder, Save editable DEP model and Build executable FMU for System. Verify the converted model with scenarios.

Export FMUs

DEP also exports FMUs from your own models, see Model Designer. FMUs that DEP builds from C sources, such as those of the PMSM / inverter designer, implement the full FMI 2.0 function set, so other FMI 2.0 tools can import them.

Results

  • Imported software and FMUs are listed in the Project software and model catalog with their identity, kind and status. The original files and their SHA-256 hashes are kept in the project, and DEP checks the hashes before execution.
  • Saved inspection reports and Save verification evidence files are written where you choose.
  • An FMU verification passes when the actual values agree with the numerical reference within its tolerances.
  • An imported SSP system appears under Package and hierarchy and in System Composition; after Materialize runtime it is executable.

Limits

  • Inspection and host checks do not establish controller equivalence or vendor approval. Closed-loop scenarios establish behaviour only for the inputs you tested.
  • A passed FMU verification confirms agreement with that reference within its stated scope, nothing more.
  • FMUs need a Windows x64 binary.
  • DEP lists no screen of FMU approvals. The Settings menu item resets all approvals of the current project.
  • DEP supports a subset of SSP 2.0.1: hierarchical systems, FMI and vECU components, connections, parameter sets and variants.
  • Simulink import covers a restricted MDL/SLX subset. DEP makes no claim of numerical equivalence with Simulink.
  • FMU and vECU libraries run in their own restricted host process (see FMU approval and restricted hosts). The restriction lowers the risk; it is not a guarantee. Run only software and FMUs you trust.

Troubleshooting

SymptomUsually meansAction
DEP-FMI-WIN64-MISSINGThe FMU has no Windows x64 binary.Export the FMU again with a Windows x64 binary from its source tool.
Imported metadata only; executable code has not been run.The FMU is imported but not yet used.Expected. Add it to the System and run Check.
The FMU can only be retained for inspectionThe compatibility review found issues that block it from joining a System.Resolve the listed issues in the FMU and import it again.
DEP-SSP-REVIEWThe SSP review found problems.Read the compatibility findings, fix them in Composition Validation and select Validate now.
A software process does not start at the host checkThe package does not follow the lifecycle or its interface differs from the manifest.Compare the I/O contract in software.depvecu.json with the software, and check again.