The City of Mesa is investing $157,000 to replace aging variable frequency drives at its Brown Road facility and committing up to $600,000 annually for emergency generator rentals to protect water infrastructure against power failures.