Most modern turbocharged high speed diesel engines have a BSFC of about 185 grams/bhp-hr, so using your generator example.
1700ekW /.94 (typical gen eff) = 1808bkW X 1.34 = 2423bhp
2423bhp X 185 (est BSFC) = 448255 grams/hr / 453.59 = 988 lbs/hr
Now get the specifications from the fuel you'll be using, you need to know the lbs/gal and the BTU/gal
As example, typical #2 diesel that used to be available in my area had an API number of 32, a specfic gravity of .865 and weighed 7.2 lbs/gal, the typical BTU content of that fuel was 127,000 BTU/gal, so using that info for your engine and the assumed BSFC,
988lbs/hr / 7.2 lbs/gal = 137 gals/hr
137 X 127,000 = 17,399,000 BTU/hr
A few notes,
Most newer engines are probably a little better than that on BSFC.
If it has a package mounted mechanical drive fan you'll need to account for that.
Most fuels in use today are lighter than I used (was an old standard for testing we used to do a few years ago).
Sorry all my math in US units, but you should be able to convert to metric if you need to. To get more accurate information you'll need to get with your manufacturer or dealer and get specific unit specifications. Of course most emissions data specification sheets provided for engines today list the target engine thermal input, as does most heat balance info.
Hope that helps, Mike L.