DEP — DEVlink Engineering PlatformUser Guide

System Engineering

System Engineering is the centre of DEP. Here you assemble the System from components, connect them, set their values, choose the execution profile (MIL, SIL or HIL) and start runs. Open it with System → System Engineering, or with Open System on the Overview.

System Engineering with the “Multi ECU powertrain coordination” project: five model components on the Model Flow canvas and Component Properties on the right.
System Engineering with the “Multi ECU powertrain coordination” project: five model components on the Model Flow canvas and Component Properties on the right.

Before you start

RequirementWhat you need
EditionDEP Engineer or higher to edit the System and run MIL; DEP Integrator to run SIL. See Licensing and Editions.
ProjectAn open project with an initialised System (see Projects, Files and Recovery).
SessionNo active session while you change structure, values, profile or execution order. Release it with Reset & release session.

The workspace has two panels by default: Model Flow (the canvas and its toolbars) and Component Properties (the inspector). The Model Flow panel contains, from top to bottom:

  1. The System name, Open project… and the profile buttons (MIL SIL HIL, or the project's named profiles).
  2. The tabs Build, Configure and Inspect, with Vehicle Studio and Integrations… on the right.
  3. The toolbar of the selected tab.
  4. The Execute bar: Ticks per run, Check, Run, Step, Run options, Results.
  5. The canvas toolbar: Model Flow / Schematic, Focus canvas, the component count, View, Connection and zoom.
  6. The canvas.
  7. The status line with Diagnostics (n) and Live debug.

Steps

Choose the profile

The profile buttons decide which implementation of each component runs. The active profile is highlighted. Each component shows its state, for example Model · MIL active or Model · SIL active. A dashed component is Design only in this profile and is excluded from execution.

The same System with SIL selected: each component now uses its compiled SIL implementation.
The same System with SIL selected: each component now uses its compiled SIL implementation.
  • If a component has no implementation for the selected profile, Check reports it. Assign one through Integrations… (see From MIL to SIL).
  • HIL is selected here but executed through Runs → HIL runtime. See HIL Runtime.

Some projects define named profiles, for example Charging MIL - fmi2-cs. They behave the same way, and the name describes the implementation set.

Add components (Build tab)

ButtonAction
Add componentOpens the component catalogue (below).
Library CenterOpens the reusable object library to add a reference model. See Library Center.
Edit structureOpens Dynamic System authoring: add logical components with a name, type and parent, and assign networks to connections.
Undo / RedoUndo or redo structural changes.
Edit structure opens Dynamic System authoring. System structure lists every component. Connections lets you assign a network to a connection after you draw it on the canvas.
Edit structure opens Dynamic System authoring. System structure lists every component. Connections lets you assign a network to a connection after you draw it on the canvas.
The Add component dialog.
The Add component dialog.

The Add component dialog has two parts:

  • Logical component: type a name, choose a Type (ECU, vECU, LRU, vLRU, PLC, Gateway, Sensor, Actuator, Model, Network, Subsystem or DUT) and select Add logical component. For a Network, also choose the protocol: CAN, CAN FD, LIN, Ethernet, EtherCAT, ARINC 429 or ARINC 825. A logical component is a design placeholder until you bind an implementation to it.
  • Executable assets: the list of models and software already available in the project, each with a badge: Executable model, Composition · checked when added, or Design / integration required. Search with Search models, software or networks, select an entry, optionally type a Component name, and select Add to system.
  • Import SSP or FMU imports a new package directly. See Software, FMI and SSP.

The catalogue of a new project contains DEP's built-in executable models, for example Gain, First Order, Threshold, Counter, Customer EV Longitudinal Plant, Thermal Management Reference vECU, BMS Reference vECU and the aerospace and drive references. Models you prepare in Model Designer appear here too.

Connect components on the canvas

  • Select: click a component. Use Ctrl/Shift+click to select several. The canvas toolbar shows n selected.
  • Move: drag a component.
  • Connect: click an output port (right side, output ●), then an input port (left side, ● input) of another component.
  • Zoom: − / + , the percentage buttons, Fit. Focus canvas hides the toolbars to give the canvas more room.
  • View: All components or a single subsystem.
  • Connection: Direct signal or a network. New connections use the selected network. Connections (n) lists them.
  • Schematic: switches from the Model Flow layout to a schematic drawing of the same System.
  • The legend at the bottom right explains the colours: Active profile, Design only.
The Schematic view of the same System.
The Schematic view of the same System.

Group components in subsystems

In Edit structure (Dynamic System authoring), add a component of type Subsystem. Then choose it as the Parent of other components. Use View above the canvas to show the whole System or one subsystem.

Set values in Component Properties

Select a component to see its properties.

Component Properties of VCU with Implementation & replacement expanded: the selected SIL implementation and the editable inputs.
Component Properties of VCU with Implementation & replacement expanded: the selected SIL implementation and the editable inputs.
SectionContents
HeaderName, kind (for example Model), state (MIL active) and number of ports.
Implementation & replacementThe implementation selected for the active profile, and Replace implementation.
Commands & inputsEditable input values and fault inputs. Each has its own Save. Connected inputs show their source instead.
Model settingsParameters and initial conditions, for example gain. Save before running.
ResultsRead-only outputs calculated by the last execution.
Open in Model DesignerOpens the model's source graph. Built-in models without a graph say so and are edited here instead.
TimingUpdate every (ms): the component's period, a multiple of the base tick. Connected inputs hold the latest source value between updates.
Component settingsInclude in this profile / Exclude from this profile, Open source workspace.
Application lifecycleFor software components: Check executable, Start application, Refresh application status, Stop application.

Use the search box to find a value by name, for example precharge.

Replace an implementation

  1. Expand Implementation & replacement and select Replace implementation.
  2. Choose the Replacement profile (MIL or SIL), then Choose artifact.
  3. Select Review replacement. DEP maps the ports. Use matching port names maps them automatically.
  4. Tick I reviewed every mapping… and select Apply reviewed replacement.

System-wide settings (Configure tab)

The Configure tab.
The Configure tab.
  • Signal mapping: the canonical signal and bus mapping matrix. See Signal Mappings.
  • Execution config: the Deterministic Execution Configuration that DEP generates from the System. Use Generate execution configuration, or Regenerate from current System when it is marked STALE — System revision changed.
  • Saved sets: saved parameter sets. Enter a Set name and select Save current configuration to store all current values. Apply a set later to restore them.
  • System settings: base tick and other System-wide options.

The Inspect tab lists the System: Components lists all components, Properties opens the inspector, Signals shows the canonical signals, Diagnostics lists findings, and Live debug opens the live session panel.

The Inspect tab.
The Inspect tab.

Check the System

Check validates the saved System for the active profile and opens the System check sheet. Fix the problems it lists and check again.

A passed check on the charging project.
A passed check on the charging project.

Set run options

Run options: steps per run, component execution order with periods, evidence storage limits.
Run options: steps per run, component execution order with periods, evidence storage limits.
OptionMeaning
Steps per runDefault batch size, the same as Ticks per run. Each Run or Continue completes at most 1,000 logical ticks. Cancel stops between committed ticks.
Component execution orderThe table lists every component with its period, for example BMS 20 ms or MCU 5 ms. Components that are due on the same tick run in this order. Move a component with Earlier and Later, then select Save execution order. Check rejects an order that conflicts with a direct connection. Stop the session before changing the order.
Evidence storage limitsMaximum recorded rows and size for this project. When the limit is reached, recording stops with DEP-EVIDENCE-LIMIT.
Start pausedCreate the session without running ticks, so you can step from the initial state.
Refresh status, DoneUpdate the status, or close the sheet.

Running, stepping and results are covered in Running MIL and SIL.

Use the Integrations sheet

Integrations: import software, assign a SIL implementation to a component, switch MIL and SIL, and open coordinated SIL and engineering tools.
Integrations: import software, assign a SIL implementation to a component, switch MIL and SIL, and open coordinated SIL and engineering tools.
SectionWhat you can do
Software implementationsImport FMU, Import customer software / vECU. Under Assign to an existing component, choose the System component and the SIL implementation (shown with its status, for example Executable on this host, and Compatibility details), then select Assign SIL implementation. Use MIL and Use SIL switch the profile, and Refresh implementations reloads the list. Ports must match by name, direction, unit and type. For a different interface, use Replace implementation in Component Properties. Optional Flight Control example adds a ready-made reference.
Execution and deploymentCoordinated SIL / deployment configures participant timing, networks and local or remote execution. See Coordinated SIL.
Engineering toolsMathWorks integration: Inspect SLX / MDL, Inventory project folder, Save editable DEP model, Build executable FMU for System. See Simulink models.
Example projects and templatesAdd reference templates to the current project, for example a flight-control reference, an aerospace MIL demo or charging reference models. Some templates require the MIL profile (DEP-CFG-PROFILE-MISMATCH).

Vehicle Studio

Vehicle Studio connects the System to a separately installed 3D vehicle viewer for road and route demonstrations. Choose the installed application under Advanced, then select Open & connect. Then run the road scenario from Road & route. It is an optional visual companion and does not change the System's results.

Results

  • Ready for a local model run in the System check sheet lists the execution order, for example Gain → First Order. Connected outputs are exchanged in this order each logical step. The System is then ready to run locally in logical time.
  • System needs attention lists each problem with the component it belongs to.
  • After a run, each component's Results section shows the outputs of the last execution, and Results in the Execute bar opens every recorded sample (see Running MIL and SIL).

Limits

  • Inputs and outputs can be connected only between different components.
  • Subsystems keep large Systems readable. They do not change execution.
  • A passed check means the System is ready to run locally in logical time. It is not a certification and not a test verdict.
  • Values, profile and execution order cannot be changed while a session exists.
  • The MathWorks integration supports a restricted Simulink subset only.
  • HIL is not executed from the canvas; it runs through Runs → HIL runtime.

Troubleshooting

SymptomUsually meansAction
The profile does not change (DEP-RUN-OWNER)A session or software process is active.Stop it first, then select the profile.
Stop the current session to edit values.A session exists.Select Reset & release session, then edit.
Check reports a missing implementationA component has no implementation for the active profile.Assign one in Integrations…, or exclude the component from this profile.
DEP-OBJ-REPLACEMENTA replacement could not complete. Nothing was changed.Review the port mapping and try again.
DEP-CFG-PROFILE-MISMATCHThe template requires the MIL profile.Select MIL and add the template again.
DEP-EVIDENCE-LIMITThe project's evidence storage limit is reached.Raise the limit in Run options → Evidence storage limits.

More findings and their fixes are in Troubleshooting.