rizer.models.hybrid.hybrid_reactor#

Cantera-facing wrapper for the hybrid discharge model (Boulder stage).

The hybrid model (nanosecond Roger engineering phase + low-voltage LTE phase, see rizer.models.hybrid.hybrid_driver) has no chemical kinetics: the “reactor” here is a display shell whose phase carries the centerline (T, P) trajectory, and the stage network runs the two-phase engineering model when Boulder asks it to advance.

  • HybridDischargeReactor – a cantera.Reactor on a plain air Solution (display only: temperatures and pressure are physical, the composition is not tracked by the engineering model).

  • RizerHybridNetwork – Boulder CustomStageNetwork: advance runs run_hybrid_case() once and exposes the concatenated ns+LV profile via states (extras: t, phase (0 = nanosecond, 1 = low-voltage), radius, I, R_p, V_p, power terms) and the link scalars via scalars.

Classes#

HybridDischargeReactor

Display reactor for the hybrid discharge engineering model.

RizerHybridNetwork

Stage network running the two-phase hybrid discharge model.

Module Contents#

class rizer.models.hybrid.hybrid_reactor.HybridDischargeReactor(contents=None, *, name: str = 'HybridDischarge2T', **kwargs)#

Bases: cantera.Reactor

Display reactor for the hybrid discharge engineering model.

hybrid_params: Dict[str, Any] | None = None#
result: rizer.models.hybrid.hybrid_driver.HybridResult | None = None#
classmethod from_params(params: Dict[str, Any], *, name: str = 'HybridDischarge2T')#

Create the display reactor for a rizer hybrid parameter dict.

set_circuit(electrical_circuit_model: Dict[str, Any]) → None#

Attach the low-voltage RLR circuit configuration (from the block).

class rizer.models.hybrid.hybrid_reactor.RizerHybridNetwork(reactors: Sequence[cantera.Reactor], meta: Any = None, **kwargs)#

Bases: cantera.ReactorNet

Stage network running the two-phase hybrid discharge model.

advance triggers one full model evaluation (the engineering model has its own internal time handling); repeated calls are no-ops. Implements Boulder’s CustomStageNetwork protocol (states / scalars).

meta = None#
property result: rizer.models.hybrid.hybrid_driver.HybridResult | None#
advance(t: float, *args, **kwargs)#
property states: cantera.SolutionArray | None#

Ns + low-voltage centerline profile as a SolutionArray.

property scalars: Dict[str, Any]#