test_reactor_energy#

Tests for STONE node energy property handling on Cantera reactors.

Functions#

test_parse_energy_prop_absent()

Absent energy key returns not explicit.

test_parse_energy_prop_off_string()

String 'off' parses to energy off.

test_mole_reactor_energy_off()

IdealGasConstPressureMoleReactor honours energy: off from props.

test_reservoir_rejects_explicit_energy()

Reservoir with energy: off raises ValueError.

test_emitter_energy_suffix()

Download emitter suffix includes explicit energy.

Module Contents#

test_reactor_energy.test_parse_energy_prop_absent()#

Absent energy key returns not explicit.

test_reactor_energy.test_parse_energy_prop_off_string()#

String ‘off’ parses to energy off.

test_reactor_energy.test_mole_reactor_energy_off()#

IdealGasConstPressureMoleReactor honours energy: off from props.

test_reactor_energy.test_reservoir_rejects_explicit_energy()#

Reservoir with energy: off raises ValueError.

test_reactor_energy.test_emitter_energy_suffix()#

Download emitter suffix includes explicit energy.