Design and operational condition optimization of a rotary regenerative heat exchanger