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

Functions

Optional[float] canonical_burn_time_s ("PintleEngineConfig" config)
None sync_burn_time_fields ("PintleEngineConfig" config)

Detailed Description

Keep burn-time fields aligned across config sections.

Function Documentation

◆ canonical_burn_time_s()

Optional[float] engine.pipeline.burn_time_sync.canonical_burn_time_s ( "PintleEngineConfig" config)
Return the authoritative burn time [s] from config.

Priority: design_requirements.target_burn_time, then pressure_curves.target_burn_time_s,
then thrust.burn_time.

Definition at line 11 of file burn_time_sync.py.

Referenced by sync_burn_time_fields().

◆ sync_burn_time_fields()

None engine.pipeline.burn_time_sync.sync_burn_time_fields ( "PintleEngineConfig" config)
In-place: set all present burn-time slots to the canonical value.

Definition at line 32 of file burn_time_sync.py.

References canonical_burn_time_s().