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

N_c

positive integer

Number of chargers

T

positive integer

Number of time slots

Delta

positive scalar

Length of time slot [minutes]

EVs

EV array

Array of EV objects

Output Arguments

Name

Type

Description

A

N_c×1 cell array

Cell consisting of matrices for inequality constraint (for each charger)

b

N_c×1 cell array

Cell consisting of matrices for inequality constraint (for each charger)

empty_ind

T×N_c matrix

Index for empty time slots