The function of diesel genset