You have to configure the engine parameter Max Fuel Per Rev (g) until the value Specific Fuel Consumption (BSFC) (shown below the engine graphic) matches the value from your engine specification:
You have to search for the specifications of your engine model. If you're lucky, you'll find the Brake Specific Fuel Consumption (BSFC) among them. Not all the engines and specification documents provide this value.
If you can't find this specification then you could estimate the parameter by looking at the instant fuel consumption in the Telemetry:
The calculation for the l/100km value is:
instantConsumption = 100 * engineFuelRate / speed / fuelDensity / 3.6
Where:
- instantConsumption is the value in liters per 100 km.
- engineFuelRate is the reported fuel consumption rate in grams per second (retrieved via Data Bus, Vehicle channel, EngineFuelRate value).
- speed is in m/s.
- fuelDensity in Kg/l. Typical values are 0.745 for petrol (gasoline) and 0.85 for diesel.
The fuel density and the correction factor may be configured in the Telemetry component for the displayed value:
Configuring a fuel tank with limited capacity is documented in this answer:
https://support.vehiclephysics.com/119/how-to-set-the-fuel-tank-capacity