local_constraint_matrix
Build local constraint matrices
Description
local_constraint_matrix builds local constraint matrices A and b for each charger given information from a scenario.
Syntax
[A,b,empty_ind] = local_constraint_matrix(N_c,T,Delta,EVs)
Input Arguments
Name |
Type |
Description |
|---|---|---|
|
positive integer |
Number of chargers |
|
positive integer |
Number of time slots |
|
positive scalar |
Length of time slot [minutes] |
|
EV array |
Array of EV objects |
Output Arguments
Name |
Type |
Description |
|---|---|---|
|
N_c×1 cell array |
Cell consisting of matrices for inequality constraint (for each charger) |
|
N_c×1 cell array |
Cell consisting of matrices for inequality constraint (for each charger) |
|
T×N_c matrix |
Index for empty time slots |