Regulating characteristics of a diesel engine working on natural gas