PoissonScenarioGenerator
For generating scenarios with random independent arrivals
Description
A PoissonScenarioGenerator object randomly generates scenarios according to the following probability distributions:
The number of EV arrivals at time slot
tfollows a Poisson distribution with parameterarrival_rates(t)The numbers of EV arrivals at time slots
1, \(\dots\) ,Tare mutually independent.No EV is accepted if all the chargers are ocuupied.
The stay duration of each EV follows a geometric distribution with parameter
Delta/mean_stay_duration; that is, EVs stay formean_stay_durationminutes on average.The stay durations of different EVs are mutually independent.
E_min,E_cap,E_ini,E_ref,U_min, andU_maxare drawn from uniform distributions over the rangesE_min_range,E_cap_range,E_ini_range,E_ref_range,U_min_range, andU_max_range, respectively.(Load flattening)
Sigmais drawn from a uniform distribution over the rangeSigma_range(User friendly) The triple (
W_cs,W_pc,W_bs) is sampled among the rows ofUf_weightswith equal probability.The characteristics of EVs are mutually independent.
Creation
Syntax
gen = PoissonScenarioGenerator()
gen = PoissonScenarioGenerator(Name=Value)
Name-Value Arguments
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 |
|
48 (default) | positive integer |
Number of time slots comprising a generated scenario |
|
60 (default) | positive scalar |
Length of time slot [minutes] |
|
200 (default) | nonnegative scalar |
Maximum aggregate charging power [kW] |
|
-200 (default) | nonpositive scalar |
Minimum aggregate EV load (i.e., -(maximum aggregate discharging power)) [kW] |
|
scaled, interpolated KEPCO base load (default) | T×1 column vector |
Base load profile [kW] (required for load flattening problem) |
|
interpolated default tariff (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) |
|
[1,0,0;0,1,0;…;1/3,1/3,1/3] (default) | N_g×3 nonnegative matrix with positive row sum |
Weights set for groups in the user-friendly problem |
|
5ones(T,1) (default) | T×1 column vector* |
Mean number of EVs that arrive at each time slot |
|
180 (default) | scalar >= Delta |
Mean stay duration of EVs [minutes] |
|
[0, 10] (default) | 1×2 double |
Range of Sigma of EVs (load flattening problem) |
|
[40, 100] (default) | 1×2 double |
Range of battery capacity of EVs [kWh] |
|
[15, 35] (default) | 1×2 double |
Range of initial SOC of EVs [%] |
|
[35, 50] (default) | 1×2 double |
Range of reference SOC of EVs desired at departure [%] |
|
[10, 15] (default) | 1×2 double |
Range of maximum charging powers of EVs [kW] |
|
[-15, -10] (default) | 1×2 double |
Range of minimum charging powers of EVs [kW] |
Output Arguments
Name |
Type |
Description |
|---|---|---|
|
PoissonScenarioGenerator object | AbstractScenarioGenerator object |
A scenario generator that can generates scenarios from a specific distribution |
Properties
Name |
Type |
Description |
|---|---|---|
|
struct |
A struct consisting of the parameters required for generating a scenario |
Object Functions
Name |
Description |
|---|---|
|
Randomly generate a scenario |