Why is it non-safe having a generator in an On-Grid solar pv system?
Solar and Diesel Generator Controller