STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
engine.optimizer Namespace Reference

Namespaces

namespace  copv_flight_helpers
namespace  feed_pressure_model
namespace  helpers
namespace  injector_dp_penalty
namespace  layers
namespace  main_optimizer
namespace  utils

Variables

list __all__

Detailed Description

Optimization layers for full engine design optimization.

This package contains the modular layers of the optimization pipeline:

Modules:
- helpers.py: Pressure curve generation and variable conversion
- layers/layer1_static_optimization.py: Layer 1 geometry optimization
- layers/layer2_pressure.py: Layer 2 pressure curve optimization  
- layers/layer3_thermal_protection.py: Layer 3 thermal protection sizing
- layers/layer4_flight_simulation.py: Layer 4 flight simulation
- copv_flight_helpers.py: COPV and flight simulation utilities
- utils.py: Parameter extraction and misc utilities

Usage:
    from engine.optimizer import (
        # Pressure curve helpers
        generate_segmented_pressure_curve,
        segments_from_optimizer_vars,
        optimizer_vars_from_segments,
        # Layer functions
        create_layer1_apply_x_to_config,
        run_layer2_pressure,
        run_layer3_thermal_protection,
        run_layer4_flight_simulation,
        # Utilities
        extract_all_parameters,
        calculate_copv_pressure_curve,
        run_flight_simulation,
    )

Variable Documentation

◆ __all__

list engine.optimizer.__all__
private
Initial value:
1= [
2 # Pressure curve helpers
3 'generate_segmented_pressure_curve',
4 'segments_from_optimizer_vars',
5 'optimizer_vars_from_segments',
6 # Layer 1
7 'create_layer1_apply_x_to_config',
8 # Layer 2
9 'run_layer2a_minimum_pressures',
10 'run_layer2_pressure',
11 # Layer 3
12 'run_layer3_thermal_protection',
13 # Layer 4
14 'run_layer4_flight_simulation',
15 # COPV and flight
16 'calculate_copv_pressure_curve',
17 'run_flight_simulation',
18 # Utilities
19 'extract_all_parameters',
20 # Main optimizer
21 'run_full_engine_optimization_with_flight_sim',
22]

Definition at line 81 of file __init__.py.