OPTIMIZATION MODELS FOR THE COST EFFECTIVE DESIGN AND OPERATION OF