3.1.8.2.10. waf_tools.bms_config_generate.set_algorithm

waf_tools.bms_config_generate.set_algorithm(bld: BuildContext, system: System) → list[dict]

Configure state estimation algorithm defines and environment variables.

Sets FOXBMS_ALGORITHM_STATE_ESTIMATOR_<ALGO>_<DIRECTION> defines for each state estimation method (SOC, SOE, SOF, SOH) and populates the corresponding environment variables used to resolve source file paths.

Parameters:
  • bld – The active waf build context.

  • system – The validated system configuration.

Returns:

A list of define dictionaries for header generation.