Method for controlling a system (S) for measuring the fuel consumption of an engine, the engine (M) being provided with a fuel supply circuit placed between a tank and the engine and a fuel return circuit from the engine to the tank, the system comprising an inlet flowmeter (DB1) mounted on the fuel supply circuit, a return flowmeter (DB2) mounted on the fuel return circuit, a first solenoid valve (EV1) mounted in parallel with one of said inlet and return flowmeters, called first flowmeter, said method being characterised in that it includes the following successive steps: a) determining (E2) if the flow rate measured by the first flowmeter is less than a first predetermined flow rate threshold value (S1 or S2) and if the flow rate measured by the other of said inlet and return flowmeters, called second flowmeter, is greater than or equal to a second predetermined flow rate threshold value (S1 or S2); b) opening (E4) for a predetermined first duration (D1) the first solenoid valve if the flow rate measured by the first flowmeter is less than the first predetermined flow rate threshold value and the flow rate measured by the second flowmeter is greater than or equal to the second predetermined flow rate threshold value, said first predetermined duration (D1) being less than 300 s, preferably between 30 and 120 seconds c) closing (E5) for a second predetermined duration (D2) said first solenoid valve, said second duration (D2) being comprised between 0.5 s and 20 s, preferably between 2s and 5s; d) determining (E6) if the flow rate measured by the first flowmeter is still less than the first predetermined flow rate threshold value and if the flow rate measured by the second flowmeter is still greater than or equal to the second predetermined flow rate threshold value; and e) if the flow rate measured by the first flowmeter is still less than the first predetermined flow rate threshold value and the flow rate measured by the second flowmeter is still greater than or equal to the second predetermined flow rate threshold value, opening (E8) said solenoid valve. a) determining (E2) if the flow rate measured by the first flowmeter is less than a first predetermined flow rate threshold value (S1 or S2) and if the flow rate measured by the other of said inlet and return flowmeters, called second flowmeter, is greater than or equal to a second predetermined flow rate threshold value (S1 or S2); b) opening (E4) for a predetermined first duration (D1) the first solenoid valve if the flow rate measured by the first flowmeter is less than the first predetermined flow rate threshold value and the flow rate measured by the second flowmeter is greater than or equal to the second predetermined flow rate threshold value, said first predetermined duration (D1) being less than 300 s, preferably between 30 and 120 seconds c) closing (E5) for a second predetermined duration (D2) said first solenoid valve, said second duration (D2) being comprised between 0.5 s and 20 s, preferably between 2s and 5s; d) determining (E6) if the flow rate measured by the first flowmeter is still less than the first predetermined flow rate threshold value and if the flow rate measured by the second flowmeter is still greater than or equal to the second predetermined flow rate threshold value; and e) if the flow rate measured by the first flowmeter is still less than the first predetermined flow rate threshold value and the flow rate measured by the second flowmeter is still greater than or equal to the second predetermined flow rate threshold value, opening (E8) said solenoid valve. <EOS>