piel.models.physical.electronic.capacitor#
# TODO move and update. The way each of these measurement should work is that they use the settings from the gdsfactory component, to create a parametric SPICE directive.
These functions map a particular model, with an instance representation that corresponds to the given netlist connectivity, and returns a SPICE representation of the circuit. This function will be called after parsing the circuit netlist accordingly, and creating a mapping from the instance definitions to the fundamental components.
Functions#
|
This function takes in the settings from a gdsfactory component, some connectivity node translated directly from |
Module Contents#
- 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