It is best to install it directly on the ground or in the basement. It is not recommended to place it on the ground or roof
The ground bearing capacity of general buildings is only about 1T.
I don't know your generator What is the power, so we don't know the weight of the generator
Also, the generator will make noise and vibration when starting
It is therefore not safe to place it on the ground or on the roof.