Optimisation of cooling systems for cost saving