mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2026-12-02 18:36:28 +01:00
docs(optimization): add optimizer architecture ADRs, skill and test (#1572)
Additional changes - Add the optimizer terms to the glossary. - Point to the skill from AGENTS.md, docs/develop/ai.md and the energy-domain skill. - Match module names case-exactly, also on case-insensitive file systems. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1159501713
commit
9adf7b8be2
+54
@@ -6,10 +6,64 @@ user-facing docs use another name, it is listed under _Avoid_.
|
||||
|
||||
## Optimization
|
||||
|
||||
**Optimizer**:
|
||||
One optimization algorithm (such as GENETIC or GENETIC0) together with its parameter preparation,
|
||||
simulation, simulation devices and solution conversion.
|
||||
_Avoid_: optimization algorithm (for the whole), optimization
|
||||
|
||||
**Parameter preparation**:
|
||||
The part of an optimizer that derives its optimization parameters from configuration, predictions,
|
||||
measurements, the run start and the warm start, once before each optimization run; the only part of
|
||||
an optimizer that reads configuration, predictions or measurements.
|
||||
_Avoid_: parameter creation, request building
|
||||
|
||||
**Solution conversion**:
|
||||
The part of an optimizer that turns the outcome of an optimization run into the optimization
|
||||
solution and the energy management plan.
|
||||
_Avoid_: solution post-processing
|
||||
|
||||
**Optimization request**:
|
||||
The input a client sends to start an optimization run through the API; parameter preparation
|
||||
completes it into optimization parameters.
|
||||
_Avoid_: optimization parameters (for client input)
|
||||
|
||||
**Optimization result**:
|
||||
The output of an optimizer's run, specific to that optimizer, before solution conversion.
|
||||
_Avoid_: solution (for this)
|
||||
|
||||
**Optimization solution**:
|
||||
The optimizer-independent outcome of an optimization run that the energy management publishes,
|
||||
together with the energy management plan.
|
||||
_Avoid_: result (for this)
|
||||
|
||||
**Warm start**:
|
||||
The result of an optimizer's previous optimization run, used to seed its next run.
|
||||
_Avoid_: start solution, previous solution
|
||||
|
||||
**Optimization parameters**:
|
||||
The complete, valid input set handed to one optimizer for one optimization run.
|
||||
_Avoid_: optimization input, request parameters
|
||||
|
||||
**Simulation device**:
|
||||
An optimizer's own model of a device (battery, inverter, home appliance, ...) that its simulation
|
||||
steps through an optimization run, built only from the optimization parameters.
|
||||
_Avoid_: device (for this), device settings
|
||||
|
||||
**EMS state**:
|
||||
What the energy management keeps between optimization runs, such as the run start, the last
|
||||
results and the run cache; it reaches an optimizer only as arguments of parameter preparation.
|
||||
_Avoid_: EMS data
|
||||
|
||||
**Golden input**:
|
||||
A stored optimizer input whose expected output (optimization solution or optimization result) is
|
||||
kept with it, so a test can show that a refactoring does not change results.
|
||||
_Avoid_: test fixture (for this), reference data
|
||||
|
||||
**Replay file**:
|
||||
A golden input made of complete optimization parameters plus the expected optimization result, so
|
||||
an optimization run can be repeated without configuration, predictions or measurements.
|
||||
_Avoid_: snapshot, recording
|
||||
|
||||
**Fallback value**:
|
||||
A default or heuristic value that replaces an invalid or missing input while the optimization
|
||||
parameters are prepared, always reported as an error.
|
||||
|
||||
Reference in New Issue
Block a user