Analyzing Fleets to Control Costs and Reduce Emissions