Repairing the control panel and voltage regulator of the electric generator