Lumped Elements

Currently the standard library includes several components in the lumped_elements tool box. A tool box is just a directory with the description of models in it. These models are grouped as found in the TinyCad schematic libraries; to find the exact file these reference, look for the "Primitive" parameter by clicking on the part.

Remember the arguments are case sensitive. Also remember that while PrimCalc will reference the XML files, Mason will reference pre-compiled versions of these files. If you wish to edit these models, do so with your own unique files.

transformer

A simple series transformer (ports on positive terminals of transformer, negative terminals grounded).

  1. N: the primary winding for the first node in the node list

flat_wire_inductor

    1. Flat wire of finite thickness (models printed transmission lines without ground planes or flat wire bonds)length: length of the line (in meters)

    2. width: width of the line (in meters)

    3. cu_thickness: copper thickness (in meters)

  1. conductivity: conductivity of the metal (S/m)

plated_via

  1. A hollow plated via (inner radius may be zero for filled vias). Models the inductance. An open microstrip/ stripline component can help model the pad (use half the width of the pad).Router: the outer radius of the via (in meters)

  2. Rinner: the inner radius of the via (in meters)

  3. length: the length of the via

series_r

  1. A simple series resistor (ports on either side of the resistor). r: the resistance (in Ohms)

series_c

A simple series capacitor (ports on either side of the capacitor).

  1. c: the capacitance (in Farads)

series_l

A simple series inductor (ports on either side of the inductor).

  1. l: the inductance (in Henries)

shunt_r

A simple shunt resistor (both ports on one side, other side shorted to ground).

  1. r: the resistance (in Ohms)

shunt_c

  1. A simple shunt capacitor (both ports on one side, other side shorted to ground).c: the capacitance (in Farads)

shunt_l

  1. A simple shunt inductor (both ports on one side, other side shorted to ground).l: the inductance (in Henries)

lossless_transmission_line

  1. A lossless transmission line which is described by three arguments.z0: the line impedance (in ohms)

  2. theta: the electrical length (in degrees)

  3. f0: the center frequency (in Hertz)

transmission_line

A transmission line which is described by four arguments.

    1. z0: the line impedance (in ohms)

    2. length: the physical length (in meters)

    3. eps_r: relative permittivity (unitless)

    4. attenuation: loss (in dB/meter)

Copyright 2010, Gregory Kiesel