with a direct drive head on that engine you will be able to get around 13KW continuous output power.with that hp.. you could go to about 11kw and be good. ie.. your 10kw head with a lil peak overhead would be safe.
the Kubota D1005 engine is rated for continuous use at 3600RPM with an output of 16.8KW [=22.5HP]. at the datasheet spec 80% conversion efficiency at the alternator, that's 13.4KW available at the electrical end of the generator -- continuous.
a larger generator head than the 10KW unit proposed, coupled with this engine, will provide greater power in general and more importantly greater surge power for starting motor loads such as well/irrigation pumps, air conditioners/water chillers, and air compressors.
wrooster