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

Functions

 test_a_rising_segment_rises_when_asked ()
 test_layer2_default_is_unchanged ()
 test_exact_ends_blowdown_reaches_its_end ()

Variables

float PSI = 6894.757

Detailed Description

Tank-pressure curves from segments (layer2_pressure.generate_pressure_curve_from_segments).

The Time-Series tab asks for what it draws: a segment may rise or fall as the user's feed system
does, and a blowdown segment ends at its end pressure. Layer 2's
search keeps the old behaviour: rises forced into a 5 % fall, blowdown stopping short.

Function Documentation

◆ test_a_rising_segment_rises_when_asked()

test_pressure_curve_segments.test_a_rising_segment_rises_when_asked ( )

Definition at line 15 of file test_pressure_curve_segments.py.

◆ test_exact_ends_blowdown_reaches_its_end()

test_pressure_curve_segments.test_exact_ends_blowdown_reaches_its_end ( )

Definition at line 29 of file test_pressure_curve_segments.py.

◆ test_layer2_default_is_unchanged()

test_pressure_curve_segments.test_layer2_default_is_unchanged ( )

Definition at line 22 of file test_pressure_curve_segments.py.

Variable Documentation

◆ PSI

float test_pressure_curve_segments.PSI = 6894.757

Definition at line 12 of file test_pressure_curve_segments.py.