General Optimization Configuration
Name |
Environment Variable |
Type |
Read-Only |
Default |
Description |
|---|---|---|---|---|---|
algorithm |
|
|
|
|
The optimization algorithm. |
genetic |
|
|
|
|
Genetic optimization algorithm configuration. |
horizon_hours |
|
|
|
|
The general time window within which the energy optimization goal shall be achieved [h]. Defaults to 24 hours. |
interval |
|
|
|
|
The optimization interval [sec]. |
keys |
|
|
|
The keys of the solution. |
Example Input
{
"optimization": {
"horizon_hours": 24,
"interval": 3600,
"algorithm": "GENETIC",
"genetic": {
"individuals": 400,
"generations": 400,
"seed": null,
"penalties": {
"ev_soc_miss": 10
}
}
}
}
Example Output
{
"optimization": {
"horizon_hours": 24,
"interval": 3600,
"algorithm": "GENETIC",
"genetic": {
"individuals": 400,
"generations": 400,
"seed": null,
"penalties": {
"ev_soc_miss": 10
}
},
"keys": []
}
}
General Genetic Optimization Algorithm Configuration
Name |
Type |
Read-Only |
Default |
Description |
|---|---|---|---|---|
generations |
|
|
|
Number of generations to evaluate the optimal solution [>= 10]. Defaults to 400. |
individuals |
|
|
|
Number of individuals (solutions) to generate for the (initial) generation [>= 10]. Defaults to 300. |
penalties |
|
|
|
A dictionary of penalty function parameters consisting of a penalty function parameter name and the associated value. |
seed |
|
|
|
Fixed seed for genetic algorithm. Defaults to ‘None’ which means random seed. |
Example Input/Output
{
"optimization": {
"genetic": {
"individuals": 300,
"generations": 400,
"seed": null,
"penalties": {
"ev_soc_miss": 10
}
}
}
}