Germany is now a net exporter of energy, but is going to become a net importer precisely because of nuclear phase-out. As described in the IEAs report [0]:
"The government expects it can meet future generation needs after the nuclear and plannedncoal phase-outs with additional renewables capacity, energy efficiency measures and increased imports (given an estimated 80 GW to 90 GW of overcapacity regionally) (Eckert, 2019). However, Germany’s switch from a net exporter of electricity to a net importer will also have implications for regional power generation adequacy."
"The government expects it can meet future generation needs after the nuclear and plannedncoal phase-outs with additional renewables capacity, energy efficiency measures and increased imports (given an estimated 80 GW to 90 GW of overcapacity regionally) (Eckert, 2019). However, Germany’s switch from a net exporter of electricity to a net importer will also have implications for regional power generation adequacy."
[0] https://iea.blob.core.windows.net/assets/60434f12-7891-4469-...