A modelling technique of the intake and exhaust systems of a medium speed marine diesel engine