Modeling of indirect evaporative cooling and its performance analysis in harsh environments