Text this: Optimal deployment of a combined transportation and energy supply units