This might seem like a daft question, but is your fuel valve actually switched to on, i.e., valve handle in line with the fuel line and not at 90 degrees across it ?
The reason I ask is that there have been several occasions where I have actually run my engine MD2020 for periods of an hour or more with the fuel valve actually shut. Last time I did it and was able to confirm that the valve was shut was last year when I left my mooring and went around to the fuelling pontoon to take on some more fuel in readiness for a weekend excursion. I ran the engine for at least an hour before leaving the mooring, arrived at the fuelling pontoon, took on forty litres of diesel, re started the engine and left the berth to head to my mooring. Engine started easily, I backed out away from the pontoon, and at that point the engine refused to accelerate. I limped back to my mooring, took the engine out of gear and it accelerated happily and then promptly died. Checking around I discovered that the fuel valve was shut.
At the end of last year I took my boat to a yard some thirty five miles away, and would have sworn that the fuel valve was open. On arrival off the yard where the boat was to go ashore for the winter, I picked up a temporary mooring for the night to wait for the high tide next morning, but having slowed the engine and then put it into neutral as I drifted in to the berth and had no need to go astern or Rev the engine. Because of the intended movement in the morning, the engine fuel valve was not touched that evening. Next morning on the assumption that the fuel valve remained open, the engine was started and I headed towards the hoist, but before getting there the engine died, and on checking I found the fuel valve shut. During the previous day's passage the wind had been too light to sail, and the engine had run continuously for the passage, but it was noticed that the revs which had been set at 2500 had fluctuated between 2100 and 2500, and this was not normal.
Once the fuel valve was opened, the engine restarted after about three attempts and the lift out had only been delayed for about five minutes.
Why had the engine run for the full length of the sea passage with a fuel valve that must have been shut, I have no idea, and the jury is still out. But this last winter I fitted a tell tale indicator at the helm which would light up if the engine panel was switched on but the fuel valve was shut. Also since then I've not returned to my original habit of shutting the fuel valve before leaving my boat. It now stays permanently switched on.
Since then the engine has behaved perfectly, but the big question is why would it have run for all that time with the fuel valve shut. As for the acceleration bit, it only misbehaved on that one occasion after coming off the fuelling pontoon and after the engine had been run by that time for almost two hours with the fuel valve shut.