The Royal United Hospitals Bath Trust applies for planning permission to make £22m improvements to heating system.