Scenario
Scenario class
Description
An instance of this class includes all information required for scheduling, such as the number of time slots, number of chargers, base load, EV configuration.
Creation
Syntax
scenario = Scenario()
scenario = Scenario(Name=Value)
Name-Value Arguments
Name |
Type |
Description |
|---|---|---|
|
“Lf” (default) | “Uf” |
Type of problem, either “Lf” for load flattening or “Uf” for user-friendly |
|
50 (default) | positive integer |
Number of chargers |
|
0 (default) | nonnegative integer |
Number of EVs |
|
1 (default) | positive integer |
Number of groups (for analysis purpose) |
|
24 (default) | positive integer |
Number of time slots comprising a scenario |
|
60 (default) | positive scalar |
Length of time slot [minutes] |
|
200 (default) | nonnegative scalar |
Maximum aggregate charging power |
|
-200 (default) | nonpositive scalar |
Minimum aggregate charging power (i.e., -(maximum aggregate discharging power)) |
|
zeros(T,1) (default) | T×1 column vector |
Base load profile [kW] (required for load flattening problem) |
|
zeros(T,1) (default) | T×1 column vector |
Electricity price profile [KRW] (required for user-friendly problem) |
|
[] (default) | 1×N_ev EV array |
Array of EV objects |
|
[] (default) | (N_c+1)×(N_c+1) symmetric Metzler matrix with zero row sum |
Graph Laplacian describing topology of the aggregator and chargers (for load flattening problem, undirected, index N_c+1 corresponds to the aggregatgor) |
|
[] (default) | N_c×N_c nonnegative symmetric stochastic matrix |
Doubly stochastic matrix describing topology of the chargers (for user-friendly problem, undirected) |
Output Arguments
Name |
Type |
Description |
|---|---|---|
|
Scenario object |
A scenario that can be used for scheduling |
Properties
Name |
Type |
Description |
|---|---|---|
|
“Lf” (default) | positive integer, scalar |
Type of problem, either “Lf” for load flattening or “Uf” for user-friendly |
|
50 (default) | positive integer |
Number of chargers |
|
0 (default) | nonnegative integer |
Number of EVs |
|
1 (default) | positive integer |
Number of groups (for analysis purpose) |
|
24 (default) | positive integer |
Number of time slots comprising a scenario |
|
60 (default) | positive scalar |
Length of time slot [minutes] |
|
200 (default) | nonnegative scalar |
Maximum aggregate charging power |
|
-200 (default) | nonpositive scalar |
Minimum aggregate EV load (i.e., -(maximum aggregate discharging power)) |
|
zeros(T,1) (default) | T×1 column vector |
Base load profile [kW] (required for load flattening problem) |
|
zeros(T,1) (default) | T×1 column vector |
Electricity price profile [KRW] (required for user-friendly problem) |
|
[] (default) | 1×N_ev EV array |
Array of EV objects |
|
[] (default) | (N_c+1)×(N_c+1) symmetric Metzler matrix with zero row sum |
Graph Laplacian describing topology of the aggregator and chargers (for load flattening problem, undirected, index N_c+1 corresponds to the aggregatgor) |
|
[] (default) | N_c×N_c nonnegative symmetric stochastic matrix |
Doubly stochastic matrix describing topology of the chargers (for user-friendly problem, undirected) |
|
false (default) | logical |
Whether the scenario is validated or not, call validate() to validate a scenario |
Object Functions
Name |
Description |
|---|---|
Set properties; this results in |
|
Set a specific EV object in property EVs; this results in |
|
Check whether a Scenario object satisfies required conditions |
|
Return a truncated subscenario, possibly without EVs that is not plugged-in at the initial time slot |