|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| Tuple[PintleEngineConfig, Dict[str, Any], Dict[str, Any]] | run_layer3_thermal_protection (PintleEngineConfig optimized_config, np.ndarray time_array, np.ndarray P_tank_O_array, np.ndarray P_tank_F_array, Dict[str, Any] full_time_results, int n_time_points, Callable update_progress, Callable log_status, Optional[Callable[[int, float, float], None]] objective_callback=None, str optimization_method="gradient") |
Variables | |
| x = x | |
| fun = fun | |
| bool | success = True |
Layer 3: Thermal Protection Optimization (Final Sizing) This layer optimizes final ablative liner and graphite insert thicknesses to meet recession requirements with margin while minimizing mass. Once Layer 2 passes, this refines the thermal protection to right-size the thicknesses (20% margin over max recession).
| Tuple[PintleEngineConfig, Dict[str, Any], Dict[str, Any]] engine.optimizer.layers.layer3_thermal_protection.run_layer3_thermal_protection | ( | PintleEngineConfig | optimized_config, |
| np.ndarray | time_array, | ||
| np.ndarray | P_tank_O_array, | ||
| np.ndarray | P_tank_F_array, | ||
| Dict[str, Any] | full_time_results, | ||
| int | n_time_points, | ||
| Callable | update_progress, | ||
| Callable | log_status, | ||
| Optional[Callable[[int, float, float], None]] | objective_callback = None, | ||
| str | optimization_method = "gradient" ) |
Run Layer 3: Thermal Protection Optimization.
Optimizes final thermal protection thicknesses to meet recession requirements
with margin while minimizing mass, while preserving the Layer 2 burn
quality (impulse, stability).
Args:
optimization_method: Optimization algorithm to use:
- "gradient": Fast gradient descent (recommended). Exploits monotonic
relationship between thickness and recession. ~5-10 evaluations.
- "cma": CMA-ES global optimizer. More thorough but slower. ~60-80 evals.
- "de": Differential Evolution fallback. Similar to CMA-ES.
Returns:
Tuple of (optimized_config, updated_time_results, thermal_results)
Definition at line 25 of file layer3_thermal_protection.py.
References max, and time.time().
| engine.optimizer.layers.layer3_thermal_protection.fun = fun |
Definition at line 648 of file layer3_thermal_protection.py.
| bool engine.optimizer.layers.layer3_thermal_protection.success = True |
Definition at line 649 of file layer3_thermal_protection.py.
| engine.optimizer.layers.layer3_thermal_protection.x = x |
Definition at line 647 of file layer3_thermal_protection.py.