rizer.electrical_model.circuit.direct_rc_load_circuit#
Classes#
Generator (no cable) driving a capacitor in parallel with R_p. |
Module Contents#
- class rizer.electrical_model.circuit.direct_rc_load_circuit.DirectRCLoadCircuit(source: rizer.electrical_model.components.source_circuit.ResistiveSourceCircuit, C: float, window_span: float, R_para: float = 0.0, r_p_rtol: float = 0.001, u_c_0: float = 0.0)#
Generator (no cable) driving a capacitor in parallel with R_p.
R_g and R_para are both plain series resistors with nothing between them (no cable, so no propagation delay separates them) – they simply add into the single series resistance
RC_Rp_Circuitneeds as its own R_par.- Parameters:
source (
ResistiveSourceCircuit) – Voltage source with a constant series resistance R_g.C (
float) – Capacitance in parallel with the plasma resistance [F].window_span (
float) – Length of each re-solved window [s], passed to DrivenCircuitAdapter.R_para (
float, optional) – Additional parasitic series resistance [Ohm], independent of R_g. Default 0.0.r_p_rtol (
float, optional) – Relative tolerance on R_p drift within a window before it is forced to re-solve, passed to DrivenCircuitAdapter. Default 1e-3.u_c_0 (
float, optional) – Initial voltage across the capacitor (and across the plasma) at t=0 [V]. Default 0 V.
- Raises:
TypeError – If source is not a ResistiveSourceCircuit.
ValueError – If R_para is negative, or source.R_g + R_para is not strictly positive (it is a divisor in RC_Rp_Circuit’s own ODE).
- source#
- C#
- window_span#
- R_para = 0.0#
- r_p_rtol = 0.001#
- u_c_0 = 0.0#