STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_robust_ddp_constraints.TestConstraints Class Reference
Inheritance diagram for test_robust_ddp_constraints.TestConstraints:
[legend]
Collaboration diagram for test_robust_ddp_constraints.TestConstraints:
[legend]

Public Member Functions

 setUp (self)
np.ndarray create_state (self, **kwargs)
EngineEstimate create_estimate (self, **kwargs)
 test_copv_minimum_constraint (self)
 test_ullage_maximum_constraints (self)
 test_mixture_ratio_constraints (self)
 test_injector_stiffness_constraints (self)
 test_headroom_constraints (self)
 test_all_constraints_safe (self)
 test_multiple_violations (self)
 test_nan_handling (self)
 test_constraint_summary (self)
 test_edge_cases (self)

Public Attributes

 config

Detailed Description

Test constraint checking.

Definition at line 23 of file test_robust_ddp_constraints.py.

Member Function Documentation

◆ create_estimate()

◆ create_state()

np.ndarray test_robust_ddp_constraints.TestConstraints.create_state ( self,
** kwargs )

◆ setUp()

test_robust_ddp_constraints.TestConstraints.setUp ( self)
Set up test fixtures.

Definition at line 26 of file test_robust_ddp_constraints.py.

◆ test_all_constraints_safe()

◆ test_constraint_summary()

◆ test_copv_minimum_constraint()

◆ test_edge_cases()

◆ test_headroom_constraints()

◆ test_injector_stiffness_constraints()

◆ test_mixture_ratio_constraints()

◆ test_multiple_violations()

◆ test_nan_handling()

◆ test_ullage_maximum_constraints()

Member Data Documentation

◆ config

test_robust_ddp_constraints.TestConstraints.config
Initial value:
= ControllerConfig(
P_copv_min=1e6, # 1 MPa minimum
P_u_max=10e6, # 10 MPa maximum
MR_min=1.5,
MR_max=3.0,
eps_i=1e-3, # 0.1% minimum injector pressure drop fraction
headroom_dp_min=0.05e6, # 0.05 MPa minimum headroom
)

Definition at line 28 of file test_robust_ddp_constraints.py.

Referenced by test_all_constraints_safe(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_cache_stats(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_caching(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_clear_cache(), test_constraint_summary(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_convenience_function(), test_copv_minimum_constraint(), test_edge_cases(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_estimate_error_handling(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_estimate_from_pressures_mock(), test_robust_ddp_engine_wrapper.TestEngineWrapper.test_estimate_without_stability(), test_headroom_constraints(), test_injector_stiffness_constraints(), test_mixture_ratio_constraints(), test_robust_ddp_robustness.TestRobustness.test_multiple_updates_convergence(), test_multiple_violations(), test_nan_handling(), test_robust_ddp_dynamics.TestDynamics.test_regulator_behavior(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_basic(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_validation(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_widens(), test_robust_ddp_robustness.TestRobustness.test_tube_propagate_with_large_w_bar(), test_ullage_maximum_constraints(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_basic(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_beta(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_ema_behavior(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_inflation(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_requires_mass_flow(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_residual_spike(), test_robust_ddp_robustness.TestRobustness.test_update_bounds_with_engine_wrapper(), and test_robust_ddp_engine_wrapper.TestEngineWrapper.test_wrapper_initialization().


The documentation for this class was generated from the following file: