Complex sentence: The total installed power was 5.789 GW, and the wind farms generated a total of 15.370 TWh of electrical energy the same year.
Split into simpler sentences: The total installed power was 5.789 GW. The in the wind farms generated electrical energy totaled to 15.370 TWh the same year.