Modified effectiveness and linear regression based models for heat exchangers under heat gain/loss to the environment