There are numerous common principles and precautions you must stick to when you want to run your generator securely. A dwelling with solar panels can use a generator, but in general You can not run solar panels and a generator simultaneously. Storing excess photo voltaic-produced electric power within a photo voltaic battery may be a substitute