Main Content

Use FMUs to Integrate Engines in Vehicle Models

You can use the Virtual Vehicle Composer app to configure vehicles with engine models imported as a functional mockup unit (FMU). The FMU engine option integrates your external engine model with the virtual vehicle model.

When you configure your virtual vehicle, on the Data and Calibration tab, select Powertrain > Engine. Set Engine to FMU Engine.

Virtual Vehicle Composer interface for configuring an FMU engine. Shows an icon of a piston labeled Functional Mockup Unit, a dropdown with FMU Engine selected, a file input for VvcFmuEngEx.fmu, and a table listing two parameters, TrqCmd (N·m) and EngRpm (rpm).

The FMU engine implements an FMU block with these engine inputs and outputs.

InputsOutputs

Torque command

Engine RPM

Brake torque

Fuel flow

Air flow

Exhaust gas temperature

Exhaust gas temperature

Air fuel ratio

Brake-specific fuel consumption (BSFC)

Crank angle

To implement the FMU engine model, follow these steps:

  1. Set Engine to FMU Engine.

  2. Use Browse to select the FMU file.

  3. Select Read to verify the FMU inputs and outputs.

    • If verification passes, the number of FMU inputs and outputs matches the signals in the FMU Import subsystem.

    • If verification warns, the number of FMU inputs and outputs does not match the signals in the FMU Import subsystem. However, you can still import the FMU file and manually connect the signals.

  4. Select Import to integrate the FMU in the virtual vehicle FMU Import subsystem.

    Verification StatusFMU Import Subsystem
    Pass

    VvcFmuEngEx block with connected inputs TrqCmd and EngRpm and connected outputs EngTrq, FuelFlow, AirFlow, ExhGasTemp, AP, BMEP, and CrkAng.

    Warn

    VvcFmuEngEx block with connected inputs TrqCmd and EngRpm and unconnected outputs EngTrq, FuelFlow, AirFlow, ExhGasTemp, AP, BMEP, and CrkAng.

See Also

|

Topics