STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_regulator.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_regulator

Functions

Regulator test_regulator.make (str model="droop", **object overrides)
float test_regulator.outlet (Regulator reg, float mdot, float p_in)
float test_regulator.gauge (float psig)
None test_regulator.test_the_supply_effect_is_measured_from_zero_inlet ()
None test_regulator.test_outlet_rises_as_the_bottle_empties ()
None test_regulator.test_supply_effect_matches_the_datasheet_number ()
None test_regulator.test_the_datasheet_rate_can_be_written_three_ways ()
None test_regulator.test_a_drawn_inlet_reference_is_not_used_and_is_flagged ()
None test_regulator.test_flow_droop_is_a_separate_coefficient ()
None test_regulator.test_flow_droop_is_linear_in_rated_fraction ()
None test_regulator.test_droop_without_a_rated_flow_is_flagged ()
None test_regulator.test_the_two_effects_oppose_each_other ()
None test_regulator.test_a_regulator_never_raises_pressure ()
None test_regulator.test_lockup_sets_the_no_flow_outlet ()
None test_regulator.test_saturation_is_reported_not_hidden ()
None test_regulator.test_saturated_outlet_is_set_by_the_seat ()
None test_regulator.test_running_past_the_rated_flow_is_flagged_not_clamped ()
None test_regulator.test_an_assumed_rated_flow_is_flagged ()
None test_regulator.test_dropout_below_minimum_differential ()
None test_regulator.test_assumed_droop_is_flagged_as_a_missing_measurement ()
None test_regulator.test_ideal_model_is_flat_and_named ()
None test_regulator.test_droop_and_ideal_agree_with_no_supply_effect ()
None test_regulator.test_diagnostics_report_the_droop_from_setpoint ()
Regulator test_regulator.dome_loaded (**object overrides)
None test_regulator.test_a_dome_regulator_outlet_is_dome_plus_bias ()
None test_regulator.test_the_bias_is_not_folded_into_the_setpoint ()
None test_regulator.test_the_control_regulator_can_be_turned_during_a_run ()
None test_regulator.test_a_signal_beats_the_configured_dome ()
None test_regulator.test_droop_rides_on_the_dome_setting_not_on_the_configured_setpoint ()
None test_regulator.test_lockup_follows_the_dome ()
tuple[float, float, float] test_regulator.outlet_either_side (Regulator reg, float p_in)
None test_regulator.test_lockup_carries_the_supply_effect_so_the_outlet_is_continuous ()
None test_regulator.test_lockup_still_adds_the_seat_creep ()
None test_regulator.test_with_no_supply_effect_lockup_is_the_setpoint ()
None test_regulator.test_a_bias_with_no_dome_is_flagged ()
None test_regulator.test_an_ideal_regulator_still_honours_the_dome ()
None test_regulator.test_a_perfect_regulator_makes_its_branch_indeterminate ()

Variables

 test_regulator.PSI = get_unit("psi").factor
 test_regulator.GAS = FlowConditions(rho=39.0, mu=1.78e-5, p_upstream=4500 * PSI, temperature=293.15)
 test_regulator.M = Provenance.MANUFACTURER