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

Public Member Functions

 test_worker_objective_impinging_indices_do_not_alias_fuel_spacing_with_pressure (self)
 test_momentum_hinge_zero_inside_log_deadband (self)
 test_momentum_hinge_positive_outside_band (self)
 test_momentum_hinge_symmetry_R_and_reciprocal (self)
 test_momentum_hinge_skips_invalid_R (self)
 test_momentum_hinge_ratio_band_deadband (self)
 test_momentum_hinge_default_band_matches_validation_at_0948 (self)
 test_momentum_band_violation_squared_zero_inside (self)
 test_momentum_band_violation_squared_positive_outside (self)
 test_momentum_log_target_zero_at_unity (self)
 test_momentum_log_target_active_inside_wide_band (self)
 test_momentum_log_target_grows_away_from_one (self)
 test_expected_geom_ao_af_matches_mr_over_sqrt_density_ratio (self)
 test_geom_ao_af_hint_squared_zero_when_matching_expected (self)
 test_rescale_impinging_jets_matches_target_ao_af_for_mr (self)
 test_rescale_impinging_jets_noop_when_already_matched (self)
 test_design_vector_length_is_13_for_paired_impinging_doublets (self)
 test_snap_integer_dims_index_4_only_n_doublets (self)
 test_apply_x_impinging_preserves_type_and_geometry (self)
 test_flows_includes_injection_velocities (self)
 test_momentum_ratio_R_matches_analytic (self)
 test_flows_momentum_ratio_matches_bulk_formula (self)
 test_runner_evaluate_impinging_smoke (self)
 test_layer1_impinging_mocked_one_iteration (self)
 test_merge_runner_eval_enables_dp_and_momentum_metrics (self)
 test_impinging_eval_mr_matches_mass_flow_ratio (self)
 test_cma_warmstart_zero_trials_skips_eval (self)
 test_min_stability_margin_default_worker_parent_aligned (self)
 test_exit_pressure_inside_band_quad_scale (self)
 test_impinging_jet_pair_asymmetry_squared (self)
 test_impinging_layout_infeasibility_overlap_and_pitch (self)
 test_impinging_hard_geometry_blocks_eval (self)
 test_impinging_flow_capacity_infeasibility (self)

Detailed Description

Definition at line 74 of file test_layer1_impinging_vector.py.

Member Function Documentation

◆ test_apply_x_impinging_preserves_type_and_geometry()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_apply_x_impinging_preserves_type_and_geometry ( self)

◆ test_cma_warmstart_zero_trials_skips_eval()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_cma_warmstart_zero_trials_skips_eval ( self)
Warm-start with n_trials=0 must not call the executor (no fake objectives).

Definition at line 533 of file test_layer1_impinging_vector.py.

◆ test_design_vector_length_is_13_for_paired_impinging_doublets()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_design_vector_length_is_13_for_paired_impinging_doublets ( self)

◆ test_exit_pressure_inside_band_quad_scale()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_exit_pressure_inside_band_quad_scale ( self)
Inside-rel quad steers toward P_target without changing the hinge outside the deadband.

Definition at line 564 of file test_layer1_impinging_vector.py.

◆ test_expected_geom_ao_af_matches_mr_over_sqrt_density_ratio()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_expected_geom_ao_af_matches_mr_over_sqrt_density_ratio ( self)

Definition at line 228 of file test_layer1_impinging_vector.py.

◆ test_flows_includes_injection_velocities()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_flows_includes_injection_velocities ( self)

Definition at line 338 of file test_layer1_impinging_vector.py.

◆ test_flows_momentum_ratio_matches_bulk_formula()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_flows_momentum_ratio_matches_bulk_formula ( self)

Definition at line 371 of file test_layer1_impinging_vector.py.

◆ test_geom_ao_af_hint_squared_zero_when_matching_expected()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_geom_ao_af_hint_squared_zero_when_matching_expected ( self)

Definition at line 235 of file test_layer1_impinging_vector.py.

◆ test_impinging_eval_mr_matches_mass_flow_ratio()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_impinging_eval_mr_matches_mass_flow_ratio ( self)
MR is mass-based O/F: must equal mdot_O/mdot_F everywhere (runner + chamber solver).

Definition at line 517 of file test_layer1_impinging_vector.py.

◆ test_impinging_flow_capacity_infeasibility()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_impinging_flow_capacity_infeasibility ( self)

Definition at line 652 of file test_layer1_impinging_vector.py.

◆ test_impinging_hard_geometry_blocks_eval()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_impinging_hard_geometry_blocks_eval ( self)

Definition at line 626 of file test_layer1_impinging_vector.py.

◆ test_impinging_jet_pair_asymmetry_squared()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_impinging_jet_pair_asymmetry_squared ( self)

Definition at line 575 of file test_layer1_impinging_vector.py.

References max.

◆ test_impinging_layout_infeasibility_overlap_and_pitch()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_impinging_layout_infeasibility_overlap_and_pitch ( self)
Unlike doublet layout: jet overlap + n·spacing/π pitch circle vs bore.

Definition at line 590 of file test_layer1_impinging_vector.py.

◆ test_layer1_impinging_mocked_one_iteration()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_layer1_impinging_mocked_one_iteration ( self)

Definition at line 399 of file test_layer1_impinging_vector.py.

◆ test_merge_runner_eval_enables_dp_and_momentum_metrics()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_merge_runner_eval_enables_dp_and_momentum_metrics ( self)
Stored-validation path must merge diagnostics/injector_pressure like runner.evaluate.

Definition at line 491 of file test_layer1_impinging_vector.py.

◆ test_min_stability_margin_default_worker_parent_aligned()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_min_stability_margin_default_worker_parent_aligned ( self)
Parallel workers score candidates with ``_compute_objective_value``; parent uses ``objective()``.

Definition at line 557 of file test_layer1_impinging_vector.py.

◆ test_momentum_band_violation_squared_positive_outside()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_band_violation_squared_positive_outside ( self)

Definition at line 199 of file test_layer1_impinging_vector.py.

◆ test_momentum_band_violation_squared_zero_inside()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_band_violation_squared_zero_inside ( self)

Definition at line 192 of file test_layer1_impinging_vector.py.

◆ test_momentum_hinge_default_band_matches_validation_at_0948()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_hinge_default_band_matches_validation_at_0948 ( self)
Layer 1 default band [0.9, 1.1]: passing validation must not pay W_MOM.

Definition at line 183 of file test_layer1_impinging_vector.py.

◆ test_momentum_hinge_positive_outside_band()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_hinge_positive_outside_band ( self)

Definition at line 149 of file test_layer1_impinging_vector.py.

◆ test_momentum_hinge_ratio_band_deadband()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_hinge_ratio_band_deadband ( self)
Custom [0.85, 1.15] band: zero inside, quadratic outside.

Definition at line 168 of file test_layer1_impinging_vector.py.

◆ test_momentum_hinge_skips_invalid_R()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_hinge_skips_invalid_R ( self)

Definition at line 163 of file test_layer1_impinging_vector.py.

◆ test_momentum_hinge_symmetry_R_and_reciprocal()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_hinge_symmetry_R_and_reciprocal ( self)

Definition at line 153 of file test_layer1_impinging_vector.py.

◆ test_momentum_hinge_zero_inside_log_deadband()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_hinge_zero_inside_log_deadband ( self)
Zero hinge when |log R| <= log(1.1) i.e. R in [1/1.1, 1.1].

Definition at line 141 of file test_layer1_impinging_vector.py.

◆ test_momentum_log_target_active_inside_wide_band()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_log_target_active_inside_wide_band ( self)
Wide validation band used to zero the hinge; log target still penalizes R≠1.

Definition at line 210 of file test_layer1_impinging_vector.py.

◆ test_momentum_log_target_grows_away_from_one()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_log_target_grows_away_from_one ( self)

Definition at line 223 of file test_layer1_impinging_vector.py.

◆ test_momentum_log_target_zero_at_unity()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_log_target_zero_at_unity ( self)

Definition at line 203 of file test_layer1_impinging_vector.py.

◆ test_momentum_ratio_R_matches_analytic()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_momentum_ratio_R_matches_analytic ( self)

Definition at line 358 of file test_layer1_impinging_vector.py.

◆ test_rescale_impinging_jets_matches_target_ao_af_for_mr()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_rescale_impinging_jets_matches_target_ao_af_for_mr ( self)

Definition at line 247 of file test_layer1_impinging_vector.py.

◆ test_rescale_impinging_jets_noop_when_already_matched()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_rescale_impinging_jets_noop_when_already_matched ( self)

Definition at line 265 of file test_layer1_impinging_vector.py.

◆ test_runner_evaluate_impinging_smoke()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_runner_evaluate_impinging_smoke ( self)

Definition at line 385 of file test_layer1_impinging_vector.py.

◆ test_snap_integer_dims_index_4_only_n_doublets()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_snap_integer_dims_index_4_only_n_doublets ( self)

Definition at line 288 of file test_layer1_impinging_vector.py.

◆ test_worker_objective_impinging_indices_do_not_alias_fuel_spacing_with_pressure()

test_layer1_impinging_vector.TestLayer1ImpingingVector.test_worker_objective_impinging_indices_do_not_alias_fuel_spacing_with_pressure ( self)
Regression: x[11] is P_O, not fuel spacing.

Definition at line 75 of file test_layer1_impinging_vector.py.


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