|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| dict | _read (*dict nodes) |
| None | test_a_bare_absolute_pressure_is_what_its_gauge_reads () |
| None | test_psia_says_absolute_and_atm_is_absolute () |
| None | test_a_difference_is_the_same_size_and_refuses_a_reference () |
| None | test_the_chamber_is_quoted_absolute () |
| None | test_a_drawn_dome_and_the_dome_knob_at_the_same_number_agree () |
| None | test_every_pressure_the_catalogue_and_the_drawings_use_is_classified () |
Variables | |
| float | PSI = 6894.757293168361 |
| float | ATM = 101325.0 |
| STAR = Path(__file__).resolve().parents[3] | |
A drawing's pressures: absolute ones read as gauge unless they say psia, and differences never carry a reference (feedtwin.model.pressure). Checked against what the drawing's author wrote, not against the code: a tank drawn "at 500 psi" sits at 500 on its gauge; a dome loader drawn at 500 and the dome knob turned to 500 lock the tanks up at the same pressure; a 50 psi bias is 50 psi whatever reference anyone thinks of.
|
protected |
Definition at line 33 of file test_pressure_reference.py.
Referenced by test_a_bare_absolute_pressure_is_what_its_gauge_reads(), test_a_difference_is_the_same_size_and_refuses_a_reference(), test_a_drawn_dome_and_the_dome_knob_at_the_same_number_agree(), test_psia_says_absolute_and_atm_is_absolute(), and test_the_chamber_is_quoted_absolute().
| None test_pressure_reference.test_a_bare_absolute_pressure_is_what_its_gauge_reads | ( | ) |
Definition at line 38 of file test_pressure_reference.py.
References _read().
| None test_pressure_reference.test_a_difference_is_the_same_size_and_refuses_a_reference | ( | ) |
Definition at line 58 of file test_pressure_reference.py.
References _read().
| None test_pressure_reference.test_a_drawn_dome_and_the_dome_knob_at_the_same_number_agree | ( | ) |
The case that found this. The shipped stand's control regulator is drawn at 450 and the dome-loaded one's dome comes from it; the cockpit's dome knob at 450 psig drives the same dome. Read as psia, the drawing's 450 was an atmosphere under the knob's, and the same stand locked up 14.7 psi apart.
Definition at line 82 of file test_pressure_reference.py.
References _read().
| None test_pressure_reference.test_every_pressure_the_catalogue_and_the_drawings_use_is_classified | ( | ) |
The lists in feedtwin.model.pressure are complete: every pressure parameter the component catalogue declares, and every one on a shipped or saved drawing, is either absolute or a difference. A new one fails here until it is placed.
Definition at line 105 of file test_pressure_reference.py.
| None test_pressure_reference.test_psia_says_absolute_and_atm_is_absolute | ( | ) |
Definition at line 49 of file test_pressure_reference.py.
References _read().
| None test_pressure_reference.test_the_chamber_is_quoted_absolute | ( | ) |
Definition at line 75 of file test_pressure_reference.py.
References _read().
| float test_pressure_reference.ATM = 101325.0 |
Definition at line 29 of file test_pressure_reference.py.
| float test_pressure_reference.PSI = 6894.757293168361 |
Definition at line 28 of file test_pressure_reference.py.
| test_pressure_reference.STAR = Path(__file__).resolve().parents[3] |
Definition at line 30 of file test_pressure_reference.py.