schedule
Determine an optimal charging/discharging schedule for each charger
Description
schedule determines an optimal charging/discharging schedule for each charger under a specific scenario.
Syntax
out = schedule(scenario,algorithm_type)
out = schedule(scenario,algorithm_type,Name=Value)
Input Arguments
Name |
Type |
Description |
|---|---|---|
|
Scenario object |
Scenario object that specifies the optimization problem |
|
“cent” | “dist” |
Type of algorithm, either “cent” for centralized or “dist” for distributed algorithm |
Name-Value Arguments
Name |
Type |
Description |
|---|---|---|
|
5000 (default) | nonnegative scalar |
Penalty parameter |
|
1 (default) | positive scalar |
Coupling gain (proportional) for distributed PI algorithm (Only for “dist”) |
|
1 (default) | positive scalar |
Coupling gain (integral) for distributed PI algorithm (Only for “dist”) |
|
400 (default) | positive scalar |
Length of time interval on which PI dynamics is executed (Only for “dist”) |
|
0.0005 (default) | positive scalar |
Stepsize for the Euler discritization of PI dynamics (Only for “dist”) |
|
0.05 (default) | positive scalar |
Cost function scaling factor for PI dynamics (Only for “dist”) |
|
40 (default) | positive integer |
Number of iterations for the distributed algorithm (Only for “dist”) |
|
30 (default) | positive integer |
Number of fractional iterations for the distributed algorithm (Only for “dist”) |
|
0.1 (default) | positive scalar |
Parameter for the distributed algorithm (Only for “dist”) |
|
0 (default) | scalar |
Parameter for the distributed algorithm (Only for “dist”) |
|
false (default) | logical |
On/off solver messages |
Output Arguments
Name |
Type |
Description |
|---|---|---|
|
struct |
Results including charging schedules, cost, solved scenario, etc. |