rizer.boulder_plugin.hybrid#

Boulder reactor kind HybridDischarge2T (ns pulse + low-voltage phase).

Translates flat STONE node properties into the rizer parameter layout consumed by rizer.models.hybrid.hybrid_driver.run_hybrid_case() and builds the HybridDischargeReactor (stage network: RizerHybridNetwork).

The low-voltage electrical circuit is a separate Simulink-style block:

- id: circuit
  RLRCircuit:
    wire_resistance: 100 mohm
    wire_inductance: 400 nH
    voltage_model: interpolated
    interpolated_voltage:
      time_voltage_pairs: [[0.0, 250], [1.0e-6, 250], [1.05e-6, -20], [1.5e-6, 0]]
- id: circuit_to_hybrid
  ElectricalConnection: {}
  source: circuit
  target: hybrid

wired by the shared wire_electrical_circuit() post-build hook.

Attributes#

Functions#

translate_hybrid_node(→ Dict[str, Any])

Translate STONE node properties to the rizer hybrid parameter dict.

translate_rlr_node(→ Dict[str, Any])

Translate an RLRCircuit block to rizer's electrical_circuit_model.

build_hybrid_reactor(...)

Boulder reactor builder for the HybridDischarge2T kind.

Module Contents#

rizer.boulder_plugin.hybrid.HYBRID_KIND = 'HybridDischarge2T'#
rizer.boulder_plugin.hybrid.translate_hybrid_node(props: Dict[str, Any]) → Dict[str, Any]#

Translate STONE node properties to the rizer hybrid parameter dict.

The returned dict misses low_voltage_model.electrical_circuit_model; it is attached from the wired RLRCircuit block by the post-build hook.

rizer.boulder_plugin.hybrid.translate_rlr_node(props: Dict[str, Any]) → Dict[str, Any]#

Translate an RLRCircuit block to rizer’s electrical_circuit_model.

rizer.boulder_plugin.hybrid.build_hybrid_reactor(converter: Any, node: Dict[str, Any]) → rizer.models.hybrid.hybrid_reactor.HybridDischargeReactor#

Boulder reactor builder for the HybridDischarge2T kind.