Two-part modelling format for modelling marine diesel engines in joules