functional model diesel engine