Min-max control of fuel-cell-car-based smart energy systems