During the summer they heat the bedrock using solar panels (thermal and electric via a heapump) to heat the bedrock far down using water pipes. In winter they extract this energy for heating, electricity and hot water making the school self sufficient for energy.
Here is a write-up from the municipality about it, but it's in Norwegian
https://www.drammen.kommune.no/om-kommunen/aktuelt/unikt-pro...
Edit: translated version
https://www-drammen-kommune-no.translate.goog/om-kommunen/ak...