rizer.spice.backend.api.circuits#

FastAPI router for circuit simulation and listing.

Attributes#

Functions#

list_circuits()

Return the list of available circuit types.

get_defaults(circuit_type)

Return the default parameters for a circuit type.

simulate_rllc(request)

Run an RLLC circuit simulation.

simulate_castera(request)

Run a Castera circuit simulation.

simulate_nrp(request)

Run an NRP circuit simulation.

simulate_lte_discharge(request)

Run an LTE discharge simulation.

Module Contents#

rizer.spice.backend.api.circuits.logger#
rizer.spice.backend.api.circuits.router#
rizer.spice.backend.api.circuits.list_circuits()#

Return the list of available circuit types.

rizer.spice.backend.api.circuits.get_defaults(circuit_type: str)#

Return the default parameters for a circuit type.

rizer.spice.backend.api.circuits.simulate_rllc(request: Annotated[rizer.spice.backend.models.schemas.RLLCSimulationRequest, Body()])#

Run an RLLC circuit simulation.

rizer.spice.backend.api.circuits.simulate_castera(request: Annotated[rizer.spice.backend.models.schemas.CasteraSimulationRequest, Body()])#

Run a Castera circuit simulation.

rizer.spice.backend.api.circuits.simulate_nrp(request: Annotated[rizer.spice.backend.models.schemas.NRPSimulationRequest, Body()])#

Run an NRP circuit simulation.

rizer.spice.backend.api.circuits.simulate_lte_discharge(request: Annotated[rizer.spice.backend.models.schemas.LTEDischargeSimulationRequest, Body()])#

Run an LTE discharge simulation.