rizer.spice.backend.services.ltspice_export#

Generate LTSpice-compatible SPICE netlists from Rizer circuit configurations.

Attributes#

Functions#

export_rllc(→ str)

Generate an LTSpice netlist for the RLLC circuit.

export_castera(→ str)

Generate an LTSpice netlist for the Castera circuit.

export_nrp(→ str)

Generate an LTSpice netlist for the NRP circuit.

export_lte_discharge(→ str)

Generate an LTSpice netlist for the LTE discharge circuit.

export_netlist(→ str)

Dispatch to the appropriate exporter.

Module Contents#

rizer.spice.backend.services.ltspice_export.export_rllc(req: rizer.spice.backend.models.schemas.RLLCSimulationRequest) str#

Generate an LTSpice netlist for the RLLC circuit.

rizer.spice.backend.services.ltspice_export.export_castera(req: rizer.spice.backend.models.schemas.CasteraSimulationRequest) str#

Generate an LTSpice netlist for the Castera circuit.

rizer.spice.backend.services.ltspice_export.export_nrp(req: rizer.spice.backend.models.schemas.NRPSimulationRequest) str#

Generate an LTSpice netlist for the NRP circuit.

rizer.spice.backend.services.ltspice_export.export_lte_discharge(req: rizer.spice.backend.models.schemas.LTEDischargeSimulationRequest) str#

Generate an LTSpice netlist for the LTE discharge circuit.

The electrical part is a simple R-L-R_plasma loop driven by a pulsed voltage source.

rizer.spice.backend.services.ltspice_export.SimulationRequest#
rizer.spice.backend.services.ltspice_export.EXPORTERS: dict[str, collections.abc.Callable[[SimulationRequest], str]]#
rizer.spice.backend.services.ltspice_export.export_netlist(circuit_type: str, request: SimulationRequest) str#

Dispatch to the appropriate exporter.