test_build_isolated_reactor#

Tests for DualCanteraConverter.build_isolated_reactor (standalone reactor build).

Functions#

test_build_isolated_reactor_sets_state_and_energy_off()

State (T, P, X) comes from props and energy: off disables the energy eqn.

test_build_isolated_reactor_energy_on_default()

Omitting energy leaves the energy equation enabled (Cantera default).

test_build_isolated_reactor_accepts_unit_strings_and_volume()

Unit-string T/P are coerced to SI and volume is honoured.

Module Contents#

test_build_isolated_reactor.test_build_isolated_reactor_sets_state_and_energy_off()#

State (T, P, X) comes from props and energy: off disables the energy eqn.

test_build_isolated_reactor.test_build_isolated_reactor_energy_on_default()#

Omitting energy leaves the energy equation enabled (Cantera default).

test_build_isolated_reactor.test_build_isolated_reactor_accepts_unit_strings_and_volume()#

Unit-string T/P are coerced to SI and volume is honoured.