Skip to content

Engine Parameters

Complete reference for all decision engine settings. These are configured in Settings > Engine Settings.


ParameterDefaultRangeDescription
Evaluation interval (eval_interval_sec)105-60 sHow often the engine reads sensors and evaluates priorities. Lower values increase responsiveness but also increase CPU usage.

ParameterDefaultRangeDescription
Smoothing alpha (smoothing_alpha)0.30.05-1.0EMA (exponential moving average) coefficient. Lower values produce more smoothing, dampening cloud transients. Higher values make the smoothed surplus more responsive to changes. A value of 1.0 disables smoothing entirely.
Surplus buffer (surplus_buffer_w)1000-1000 WSafety margin subtracted from the smoothed surplus before allocation. Prevents the engine from allocating right to the edge of available production.

ParameterDefaultRangeDescription
Grid import limit (grid_import_limit_w)00-10000 WMaximum allowed grid import in watts. If grid import exceeds this value, the engine sheds loads immediately until import drops below the limit. A value of 0 disables this protection.

ParameterDefaultRangeDescription
Minimum on time (min_on_time_sec)1200-3600 sAfter a load is activated, it must remain on for at least this duration before it can be shed. Protects compressor-based equipment from rapid cycling.
Minimum off time (min_off_time_sec)1800-3600 sAfter a load is turned off, it cannot be reactivated for at least this duration. Prevents rapid restart cycling.

ParameterDefaultRangeDescription
Setpoint interval (setpoint_interval_sec)3010-300 sMinimum time between setpoint adjustments for dynamic loads. Prevents the engine from changing charge amps or temperature setpoints too frequently.

Understanding how these parameters work together:

  • Surplus available for allocation = smoothed_surplus - surplus_buffer_w
  • Load activates when surplus available >= priority entry’s min_surplus_w
  • Load sheds when surplus available < 0, or grid import > grid_import_limit_w
  • Load cannot shed within min_on_time_sec of activation
  • Load cannot reactivate within min_off_time_sec of deactivation
  • Dynamic load setpoint adjusts at most once per setpoint_interval_sec

Scenariosmoothing_alphasurplus_buffer_wmin_on_time_secmin_off_time_sec
Stable production (clear climate)0.4100120180
Variable production (frequent clouds)0.2200300300
Compressor-heavy (heat pump + pool)0.2200600600
EV-only setup0.310060120

These are starting points. Monitor the decision timeline for a few days and adjust based on observed behavior.