discharged via heat exchangers to warm water for the local district heating network.
It needs certain infrastructure to work.
You could also use it to generate electricity. That's 20-40% efficient. With negative prices in summer these days that would still be interesting.