CSPropLumpedElement

class CSXCAD.CSProperties.CSPropLumpedElement

Bases: CSProperties

Lumped element property.

A lumped element can consist of a resistor R, capacitor C and inductance L active in a given direction ny. If Caps are enabled, a small PEC plate is added to each end of the lumped element to ensure contact to a connecting line.

Parameters:
  • ny – int or str – direction: 0,1,2 or ‘x’,’y’,’z’

  • caps – bool – enable/disable end caps (default: True)

  • R – float – lumped resistance in Ohm

  • C – float – lumped capacitance in Farad

  • L – float – lumped inductance in Henry

  • LEtype – int – circuit topology: 0 = parallel (default), 1 = series Parallel: R, C and L are all in parallel. Series: R, L and C are in series (use this for a series inductor, e.g. to tune antenna length).

Example — series inductor:

ind = CSX.AddLumpedElement('Inductor', ny=0, caps=True, L=10e-9, LEtype=1)
ind.AddBox([0, 0, 0], [1e-3, 1e-3, 1e-3])
GetCapacity()
GetCaps()
GetDirection()
GetInductance()
GetLEtype()
GetResistance()
SetCapacity(val)
SetCaps(val)
SetDirection(ny)
SetInductance(val)
SetLEtype(val)
SetResistance(val)