Modeling the diesel generator
The modeling of friction at different parts of the engine was the subject of numerous studies that lead to a variety of forms. Given the complexity to treat each element separately, it was preferred to use the comprehensive assessment of the losses formulas.
For the diesel generator, simple or more sophisticated models available in the literature are employed,
depending on the data available [24]. However, experience has shown it is often sufficient to use the
simple model of Fig. 7, where the speed governor is represented by its droop and integral gain (PI
controller), along with a first order lag for the valve actuator mechanism