RWE has partnered with TotalEnergies to develop two offshore wind projects with a combined capacity of 4GW off the German coast.