pydynamicestimator.tests.test_sim_delta_ref

Tests verifying that delta_ref states are only created for omega_mode=’dist’.

These simulation-only tests verify the conditional delta_ref implementation across all omega_mode values and combinations of line_dyn and incl_lim.

Attributes

FIXTURE_ROOT

Functions

test_nom_no_delta_ref_line_dyn_false()

omega_mode='nom', line_dyn=False: no delta_ref states should exist.

test_nom_no_delta_ref_line_dyn_true()

omega_mode='nom', line_dyn=True: no delta_ref states should exist.

test_coi_no_delta_ref()

omega_mode='coi', line_dyn=True: no delta_ref states should exist.

test_single_no_delta_ref()

omega_mode='single': no delta_ref states should exist.

test_dist_has_delta_ref_line_dyn_true()

omega_mode='dist', line_dyn=True: delta_ref states must exist.

test_dist_has_delta_ref_line_dyn_false()

omega_mode='dist', line_dyn=False: delta_ref states must exist.

test_nom_with_limits_line_dyn_false()

omega_mode='nom', incl_lim=True, line_dyn=False: no delta_ref, limits work.

test_nom_with_limits_line_dyn_true()

omega_mode='nom', incl_lim=True, line_dyn=True: no delta_ref, limits work.

test_state_count_reduction()

Verify nx is nn smaller when omega_mode != 'dist' vs 'dist'.

Module Contents

pydynamicestimator.tests.test_sim_delta_ref.FIXTURE_ROOT
pydynamicestimator.tests.test_sim_delta_ref.test_nom_no_delta_ref_line_dyn_false()[source]

omega_mode=’nom’, line_dyn=False: no delta_ref states should exist.

pydynamicestimator.tests.test_sim_delta_ref.test_nom_no_delta_ref_line_dyn_true()[source]

omega_mode=’nom’, line_dyn=True: no delta_ref states should exist.

pydynamicestimator.tests.test_sim_delta_ref.test_coi_no_delta_ref()[source]

omega_mode=’coi’, line_dyn=True: no delta_ref states should exist.

pydynamicestimator.tests.test_sim_delta_ref.test_single_no_delta_ref()[source]

omega_mode=’single’: no delta_ref states should exist.

pydynamicestimator.tests.test_sim_delta_ref.test_dist_has_delta_ref_line_dyn_true()[source]

omega_mode=’dist’, line_dyn=True: delta_ref states must exist.

pydynamicestimator.tests.test_sim_delta_ref.test_dist_has_delta_ref_line_dyn_false()[source]

omega_mode=’dist’, line_dyn=False: delta_ref states must exist.

pydynamicestimator.tests.test_sim_delta_ref.test_nom_with_limits_line_dyn_false()[source]

omega_mode=’nom’, incl_lim=True, line_dyn=False: no delta_ref, limits work.

pydynamicestimator.tests.test_sim_delta_ref.test_nom_with_limits_line_dyn_true()[source]

omega_mode=’nom’, incl_lim=True, line_dyn=True: no delta_ref, limits work.

pydynamicestimator.tests.test_sim_delta_ref.test_state_count_reduction()[source]

Verify nx is nn smaller when omega_mode != ‘dist’ vs ‘dist’.