Main electric diagram