pydynamicestimator.tests.test_inverter_strategy_selectors

Phase 3 gate: the data-file strategy selectors (filter=/angle=/voltage=/inner= /pll=) are threaded correctly through the data loader.

Copies the inverter fixture and appends explicit, default-matching strategy selectors to every GridForming/GridFollowing row, then checks the simulated trajectory is byte-identical to the no-selector sim_ld baseline. This proves the threading both (a) routes each selector to the right strategy and (b) reproduces the hardcoded defaults exactly – a regression guard for the registry plumbing.

Functions

_add_default_selectors(→ str)

test_explicit_default_selectors_match_baseline(tmp_path)

Module Contents

pydynamicestimator.tests.test_inverter_strategy_selectors._add_default_selectors(line: str) str[source]
Parameters:

line (str)

Return type:

str

pydynamicestimator.tests.test_inverter_strategy_selectors.test_explicit_default_selectors_match_baseline(tmp_path)[source]