You may need to find out a bit more about model diesels.
They are not true diesels, they are compression ignition 2 strokes.
Apart from the compression ignition they are very similar to small glow plug engines, but need different starting and adjustment techniques.
Model diesels do not have injectors and are not very similar to full size 4 stroke diesels.
They also run on castor/ether/kerosene - not pump diesel.
I doubt that model diesels are a very good stating point for your generator project.
A better starting point might be a model 4 stroke engine, either glow or ignition.