Add extrapolator to some of the models
The extrapolator should apply to models with fixed-sized presets to make them usable with any size.
First, a scaling
parameter in the model config should be added.
At the beginning of the step, the model should scale down any input with this scaling factor.
At the end of the step, active and reactive power should be scaled up using this parameter.
Secondly, the extrapolator should be located in the presets and, for a given p_peak_kw
should find the nearest existing configuration and setting the scaling factor to match the given p_peak_kw
.
This should be applied to the following models:
- Biogas
- CHPSystem
- HVAC
Edited by Stephan Balduin