rizer.models.nrp.nrp_2t_network#

Recording ReactorNet for the constant-mass 0D2T NRP reactor.

RizerNRP2TNetwork integrates one reactor built by make_reactor() with CVODES (plain cantera.ReactorNet) and records one history row per advance: the plasma state plus the same extra columns as run_constant_mass_nrp_simulation() (through compute_reactor_diagnostics()), exposed as a cantera.SolutionArray (states) and as JSON scalars (scalars) – Boulder’s CustomStageNetwork protocol.

Classes#

RizerNRP2TNetwork

ReactorNet for one NRP case reactor, with plasma-extras recording.

Module Contents#

class rizer.models.nrp.nrp_2t_network.RizerNRP2TNetwork(reactors: Sequence[cantera.Reactor], meta: Any = None, **kwargs)#

Bases: cantera.ReactorNet

ReactorNet for one NRP case reactor, with plasma-extras recording.

Plain CVODES integration (super().advance), plus one history row per advance call:

  • states – cantera.SolutionArray with the same extra columns as the run script (t, T_e, n_e, V_p, R_p, V_g, radius, power terms, collision frequencies).

  • scalars – JSON-serialisable KPIs (peak/final temperatures, peak electron density, deposited energy).

meta = None#
property cable_delay_s: float#

One-way cable propagation delay L/c [s].

The NRP circuit model works in retarded time (the direct wave reaches the plasma at t = 0+); shifting plasma-end signals by this delay gives the experimenter’s (lab-frame) timescale. Zero for a circuit with no cable (DirectResistiveCircuit, DirectRCLoadCircuit, GeneratorVoltageCircuit): there is no propagation delay to shift by.

advance(t: float, *args, **kwargs)#
property states: cantera.SolutionArray | None#

Full state history as a SolutionArray (None before any advance).

property scalars: Dict[str, Any]#

KPIs for reports (peaks, final state, deposited energy).