Multi_bus_optimization
Multi_bus_optimization
Centralized BESS
1 Problem Overview
This model optimizes energy usage for a fleet of B = 20 electric buses over T = 144 time steps
(10-minute resolution over 24 hours), minimizing the total grid energy consumption. The system
utilizes photovoltaic (PV) generation, a centralized Battery Energy Storage System (BESS), and
the electrical grid.
3 Parameters
• Pmax : max power per source (5 kW)
• SOCmin , SOCmax : min/max SoC of BESS (0, 6)
• SOCreq : required SoC before trip (1)
• ηch , ηdis : charge/discharge efficiencies (0.95)
• dbt : demand for bus b at time t (0.4 kWh)
• P Vt : available PV power at t (time-varying)
4 Decision Variables
• xb,PV,t : PV → bus b energy
• xb,Grid,t : Grid → bus b energy
• xPV,BESS,t : PV → BESS
• xGrid,BESS,t : Grid → BESS
• xDis,BESS,t : BESS → buses
• SOCt : BESS SoC at time t
1
5 Objective Function
Minimize total grid energy consumption:
T B
!
X X
min xb,Grid,t + xGrid,BESS,t
t=1 b=1
6 Constraints
A. Energy Balance for Each Bus
1
xb,PV,t + xb,Grid,t + xDis,BESS,t = dbt ∀b, t
B
B. PV Power Limit
B
X
xb,PV,t + xPV,BESS,t ≤ P Vt ∀t
b=1
7 Numerical Example
The MATLAB implementation defines the model using:
• B = 20, T = 144, ∆t = 16 , Pmax = 5
• Plots visualize total energy, grid/PV share, BESS charge/discharge and SoC