piel.models.physical.electronic#

Submodules#

Package Contents#

Functions#

add_basic_capacitor(→ str)

This function takes in the settings from a gdsfactory component, some connectivity node translated directly from

get_default_models(→ dict)

Returns the default models dictionary.

add_basic_capacitor(settings) str[source]#

This function takes in the settings from a gdsfactory component, some connectivity node translated directly from the gdsfactory netlist.

See Mike Smith “WinSpice3 User’s Manual” 25 October, 1999

SPICE capacitor model:

CXXXXXXX N+ N- VALUE <IC=INCOND>

Where the parameters are:

N+ = the positive terminal
N- = the negative terminal
VALUE = capacitance in farads
<IC=INCOND> = starting voltage in a simulation
get_default_models(custom_defaults: dict | None = None) dict[source]#

Returns the default models dictionary.

Parameters:

custom_defaults (dict) – Custom defaults dictionary.

Returns:

Default models dictionary.

Return type:

dict