|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| Optional[FrozenSet[str]] | vehicle_ids (Any diagram) |
| List[Any] | on_vehicle (Iterable[Any] nodes, Optional[FrozenSet[str]] vehicle) |
| List[Any] | off_vehicle (Iterable[Any] nodes, Optional[FrozenSet[str]] vehicle) |
| Tuple[Dict[str, Any], List[str]] | vehicle_payload (Dict[str, Any] payload) |
Which part of a drawing is the vehicle. A stand drawing can carry its ground support on the same sheet: pid-designer draws the rocket on one page and the GSE on another, joined only by quick-disconnects paired across the pages (``options.pairedWith``). The feed twin mates those pairs into one network, because filling the vehicle is what the GSE is for. Layer X burns the vehicle: its propellant tanks are the tanks that feed the engine and its pressurant bottle is the bottle that presses them, not a GSE fuel-transfer tank or a 49 L K-bottle on the cart that happen to hold the same fluids. The vehicle is everything joined to the engine by a drawn line, walked through any symbol. A paired disconnect is not a drawn line, so the walk stops at the coupling, which is where the vehicle ends. A drawing whose GSE is drawn with lines into the vehicle, or that has no GSE, is one piece and the whole drawing is the vehicle: every drawing that ran before reads exactly as it did.
| List[Any] engine.layerx.vehicle.off_vehicle | ( | Iterable[Any] | nodes, |
| Optional[FrozenSet[str]] | vehicle ) |
``nodes`` that are ground support (not joined to the engine by a line).
Definition at line 39 of file vehicle.py.
| List[Any] engine.layerx.vehicle.on_vehicle | ( | Iterable[Any] | nodes, |
| Optional[FrozenSet[str]] | vehicle ) |
``nodes`` that are on the vehicle; all of them when the drawing has no engine to scope by.
Definition at line 33 of file vehicle.py.
| Optional[FrozenSet[str]] engine.layerx.vehicle.vehicle_ids | ( | Any | diagram | ) |
The ids of every symbol joined to an ENGINE by drawn lines, or None without an engine. The physics library's rule (:func:`feedtwin.pid.roles.vehicle_ids`), so the cockpit and Layer X never disagree about which tank is the vehicle's.
Definition at line 22 of file vehicle.py.
Referenced by vehicle_payload().
| Tuple[Dict[str, Any], List[str]] engine.layerx.vehicle.vehicle_payload | ( | Dict[str, Any] | payload | ) |
``payload`` cut to the vehicle, and the labels of the ground-support vessels left out. Layer X primes the vehicle itself -- the loads, the bottle's fill, the regulator's dome -- which is what the GSE is for, and then fires it. Left in, a GSE page mated through its paired disconnects keeps working the vehicle during the burn: on LE4 the GSE dome regulator, mated to the vehicle's dome line, loaded the press regulator past Layer X's lockup and tripped the LOX tank at 802 psig before T-0. Cut, each vehicle-side disconnect half is capped, as a stand with its GSE unplugged has it. A drawing that is one piece comes back unchanged (the same object).
Definition at line 44 of file vehicle.py.
References vehicle_ids().