if you want to get a headache, try correlating marine use diesels to land use diesels to fuel oils. they are the same and they are different depending on what the refinery/supplier wants to call it. i go through this every time i fuel up.
anyway, number 4 is thicker than 2 and is usually okay to be used in gensets. the issue here is additives used, specifically if anti-gel compounds. this will effect whether preheating is necessary. in some countries i have seen truck drivers with fires under their fuel tanks to heat them up 'cause the #2 diesel had gelled.
regards,
captain steven