Modeling and simulation of cooling water systems subjected to fouling