4 x 230 = 960 agreed but where did the 1.5l come from. I've seen densities of diesel quoted as being between 0.82 to 0.95.
Taking 0.85, this means less than 1.1 ltrs/h. giving 2.66Kwh/l
It wasn't long ago when red diesel was 20p/ltr. Giving a price of 7.5p/Kwh.
As you say your generator may not be as efficient as others so in many cases the price may be cheaper.
If the waste heat can be recovered then I certainly agree it all becomes an win-win situation.
My original post was inspired by a village which was reluctant to have mains electricity because at the time it was cheaper to generate their own.