Esempio n. 1
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(devicename='unknown')
     Device.__init__(self, netlist, [
         PartPropertyCategory('Unknowns'),
         PartPropertyPartName('Unknown'),
         PartPropertyDefaultReferenceDesignator('U?')
     ] + propertiesList, partPicture)
Esempio n. 2
0
 def __init__(self):
     netlist=DeviceNetListLine(devicename='output',showReference=False,showports=False)
     Device.__init__(self,netlist,[PartPropertyCategory('Special'),PartPropertyPartName('Output'),PartPropertyDefaultReferenceDesignator('VO?'),PartPropertyDescription('Output'),
         PartPropertyVoltageGain(1.0),PartPropertyVoltageOffset(0.0),PartPropertyDelay(0.0)],PartPictureVariableProbe())
     self['gain']['Visible']=False
     self['offset']['Visible']=False
     self['td']['Visible']=False
Esempio n. 3
0
 def __init__(self,propertiesList,partPicture):
     netlist=DeviceNetListLine(partname='telegrapher',
         values=[('rp',True),('rsep',True),('lp',True),('gp',True),('cp',True),('dfp',True),
                 ('rn',True),('rsen',True),('ln',True),('gn',True),('cn',True),('dfn',True),
                 ('lm',True),('gm',True),('cm',True),('dfm',True),('sect',True)])
     Device.__init__(self,netlist,[PartPropertyCategory('TransmissionLines'),
                           PartPropertyPartName('Telegrapher'),
                           PartPropertyDefaultReferenceDesignator('T?'),
                           PartPropertyResistance(keyword='rp',descriptionPrefix='positive ',resistance=0.0),
                           PartPropertyResistanceSkinEffect(keyword='rsep',descriptionPrefix='positive '),
                           PartPropertyInductance(keyword='lp',descriptionPrefix='positive '),
                           PartPropertyConductance(keyword='gp',descriptionPrefix='positive '),
                           PartPropertyCapacitance(keyword='cp',descriptionPrefix='positive '),
                           PartPropertyDissipationFactor(keyword='dfp',descriptionPrefix='positive '),
                           PartPropertyResistance(keyword='rn',descriptionPrefix='negative ',resistance=0.0),
                           PartPropertyResistanceSkinEffect(keyword='rsen',descriptionPrefix='negative '),
                           PartPropertyInductance(keyword='ln',descriptionPrefix='negative '),
                           PartPropertyConductance(keyword='gn',descriptionPrefix='negative '),
                           PartPropertyCapacitance(keyword='cn',descriptionPrefix='negative '),
                           PartPropertyDissipationFactor(keyword='dfn',descriptionPrefix='negative '),
                           PartPropertyConductance(keyword='gm',descriptionPrefix='mutual '),
                           PartPropertyInductance(keyword='lm',descriptionPrefix='mutual '),
                           PartPropertyCapacitance(keyword='cm',descriptionPrefix='mutual '),
                           PartPropertyDissipationFactor(keyword='dfm',descriptionPrefix='mutual '),
                           PartPropertySections(sections=0)]+propertiesList,partPicture)
Esempio n. 4
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(partname='directionalcoupler')
     Device.__init__(self, netlist, [
         PartPropertyCategory('Miscellaneous'),
         PartPropertyPartName('Directional Coupler'),
         PartPropertyDefaultReferenceDesignator('D?')
     ] + propertiesList, partPicture)
Esempio n. 5
0
 def __init__(self):
     netlist=DeviceNetListLine(devicename='currentoutput')
     Device.__init__(self,netlist,[PartPropertyCategory('Special'),PartPropertyPartName('CurrentOutput'),PartPropertyDefaultReferenceDesignator('VO?'),PartPropertyDescription('Current Probe'),PartPropertyPorts(2),
         PartPropertyTransresistance(1.0),PartPropertyVoltageOffset(0.0),PartPropertyDelay(0.0)],PartPictureVariableCurrentProbe())
     self['gain']['Visible']=False
     self['offset']['Visible']=False
     self['td']['Visible']=False
Esempio n. 6
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(partname='L', values=[('l', False)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Inductors'),
         PartPropertyPartName('Inductor'),
         PartPropertyDefaultReferenceDesignator('L?'),
         PartPropertyInductance()
     ] + propertiesList, partPicture)
Esempio n. 7
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(values=[('file', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Files'),
         PartPropertyPartName('File'),
         PartPropertyDefaultReferenceDesignator('D?'),
         PartPropertyFileName()
     ] + propertiesList, partPicture)
Esempio n. 8
0
 def __init__(self):
     netlist = DeviceNetListLine(partname='mixedmode voltage')
     Device.__init__(self, netlist, [
         PartPropertyCategory('Miscellaneous'),
         PartPropertyPartName('Voltage Mixed Mode Converter'),
         PartPropertyDefaultReferenceDesignator('MM?'),
         PartPropertyDescription('Voltage Mixed Mode Converter'),
         PartPropertyPorts(4)
     ], PartPictureVariableVoltageMixedModeConverter())
Esempio n. 9
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(devicename='currentsource')
     Device.__init__(self, netlist, [
         PartPropertyCategory('Sources'),
         PartPropertyPartName('Current Source'),
         PartPropertyDefaultReferenceDesignator('CS?'),
         PartPropertyWaveformFileName(),
         PartPropertyWaveformType('file'),
         PartPropertyWaveformProjectName()
     ] + propertiesList, partPicture)
Esempio n. 10
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(partname='tline',
                                 values=[('zc', True), ('td', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('TransmissionLines'),
         PartPropertyPartName('TransmissionLine'),
         PartPropertyDefaultReferenceDesignator('T?'),
         PartPropertyDelay(),
         PartPropertyCharacteristicImpedance()
     ] + propertiesList, partPicture)
Esempio n. 11
0
 def __init__(self, propertiesList):
     netlist = DeviceNetListLine(partname='currentcontrolledvoltagesource',
                                 values=[('gain', False)])
     Device.__init__(
         self, netlist, [
             PartPropertyCategory('Dependent Sources'),
             PartPropertyPartName('CurrentControlledVoltageSource'),
             PartPropertyDefaultReferenceDesignator('D?'),
             PartPropertyTransresistance(1.0)
         ] + propertiesList,
         PartPictureVariableCurrentControlledVoltageSourceFourPort())
Esempio n. 12
0
 def __init__(self):
     netlist = DeviceNetListLine(devicename='stim',
                                 showReference=False,
                                 showports=False)
     Device.__init__(self, netlist, [
         PartPropertyCategory('Special'),
         PartPropertyPartName('Stim'),
         PartPropertyDefaultReferenceDesignator('M?'),
         PartPropertyWeight(1.),
         PartPropertyDescription('Stim')
     ], PartPictureVariableStim())
Esempio n. 13
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(devicename='system',
                                 showReference=False,
                                 showports=False,
                                 values=[('file', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Systems'),
         PartPropertyPartName('System'),
         PartPropertyDefaultReferenceDesignator('D?'),
         PartPropertyFileName()
     ] + propertiesList, partPicture)
Esempio n. 14
0
 def __init__(self):
     netlist = DeviceNetListLine(partname='open')
     Device.__init__(self,
                     netlist, [
                         PartPropertyCategory('Miscellaneous'),
                         PartPropertyPartName('Open'),
                         PartPropertyDefaultReferenceDesignator('O?'),
                         PartPropertyDescription('Open'),
                         PartPropertyPorts(1)
                     ],
                     partPicture=PartPictureVariableOpen())
Esempio n. 15
0
 def __init__(self,propertiesList,partPicture):
     netlist=DeviceNetListLine(partname='telegrapher',values=[('r',True),('rse',True),('l',True),('g',True),('c',True),('df',True),('sect',True)])
     Device.__init__(self,netlist,[PartPropertyCategory('TransmissionLines'),
                           PartPropertyPartName('Telegrapher'),
                           PartPropertyDefaultReferenceDesignator('T?'),
                           PartPropertyResistance(resistance=0.0),
                           PartPropertyResistanceSkinEffect(),
                           PartPropertyInductance(),
                           PartPropertyConductance(),
                           PartPropertyCapacitance(),
                           PartPropertyDissipationFactor(),
                           PartPropertySections(sections=0)]+propertiesList,partPicture)
Esempio n. 16
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(partname='C',
                                 values=[('c', False), ('esr', True),
                                         ('df', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Capacitors'),
         PartPropertyPartName('Capacitor'),
         PartPropertyDefaultReferenceDesignator('C?'),
         PartPropertyCapacitance(),
         PartPropertyDissipationFactor(),
         PartPropertyESR()
     ] + propertiesList, partPicture)
Esempio n. 17
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(devicename='voltagesource')
     Device.__init__(self, netlist, [
         PartPropertyCategory('Generators'),
         PartPropertyPartName('Voltage Noise Source'),
         PartPropertyDefaultReferenceDesignator('VG?'),
         PartPropertyHorizontalOffset(),
         PartPropertyDuration(),
         PartPropertySampleRate(),
         PartPropertyVoltageRms(),
         PartPropertyWaveformType('noise')
     ] + propertiesList, partPicture)
Esempio n. 18
0
 def __init__(self, propertiesList):
     netlist = DeviceNetListLine(partname='currentamplifier',
                                 values=[('gain', True), ('zi', True),
                                         ('zo', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Amplifiers'),
         PartPropertyPartName('CurrentAmplifier'),
         PartPropertyDefaultReferenceDesignator('D?'),
         PartPropertyCurrentGain(1.0),
         PartPropertyInputImpedance(0.),
         PartPropertyOutputImpedance(1e8)
     ] + propertiesList, PartPictureVariableCurrentAmplifierFourPort())
Esempio n. 19
0
 def __init__(self, propertiesList):
     netlist = DeviceNetListLine(partname='opamp',
                                 values=[('gain', True), ('zi', True),
                                         ('zo', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Amplifiers'),
         PartPropertyPartName('OperationalAmplifier'),
         PartPropertyDefaultReferenceDesignator('D?'),
         PartPropertyVoltageGain(100e3),
         PartPropertyInputImpedance(1e8),
         PartPropertyOutputImpedance(0.)
     ] + propertiesList, PartPictureVariableOperationalAmplifier())
Esempio n. 20
0
 def __init__(self, propertiesList):
     netlist = DeviceNetListLine(partname='npntransistor',
                                 values=[('gm', True), ('rpi', True),
                                         ('ro', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Amplifiers'),
         PartPropertyPartName('NPN Transistor'),
         PartPropertyDefaultReferenceDesignator('Q?'),
         PartPropertyGm(200.0),
         PartPropertyRpi(200e3),
         PartPropertyOutputResistance(200e3),
         PartPropertyPorts(3)
     ] + propertiesList, PartPictureVariableNPNTransister())
Esempio n. 21
0
 def __init__(self, propertiesList):
     netlist = DeviceNetListLine(partname='transresistanceamplifier',
                                 values=[('gain', True), ('zi', True),
                                         ('zo', True)])
     Device.__init__(self, netlist, [
         PartPropertyCategory('Amplifiers'),
         PartPropertyPartName('TransresistanceAmplifier'),
         PartPropertyDefaultReferenceDesignator('D?'),
         PartPropertyTransresistance(1.0),
         PartPropertyInputImpedance(0.),
         PartPropertyOutputImpedance(0.)
     ] + propertiesList,
                     PartPictureVariableTransresistanceAmplifierTwoPort())
Esempio n. 22
0
 def __init__(self, propertiesList, partPicture):
     netlist = DeviceNetListLine(devicename='currentsource')
     Device.__init__(self, netlist, [
         PartPropertyCategory('Generators'),
         PartPropertyPartName('Current Step Generator'),
         PartPropertyDefaultReferenceDesignator('CG?'),
         PartPropertyHorizontalOffset(),
         PartPropertyDuration(),
         PartPropertyStartTime(),
         PartPropertySampleRate(),
         PartPropertyCurrentAmplitude(),
         PartPropertyWaveformType('step')
     ] + propertiesList, partPicture)
Esempio n. 23
0
 def __init__(self):
     netlist = DeviceNetListLine(partname='M', values=[('l', False)])
     Device.__init__(
         self,
         netlist, [
             PartPropertyCategory('Inductors'),
             PartPropertyPartName('Mutual'),
             PartPropertyDefaultReferenceDesignator('M?'),
             PartPropertyPorts(4),
             PartPropertyInductance(),
             PartPropertyDescription('Four Port Mutual Inductance')
         ],
         partPicture=PartPictureVariableMutual())
Esempio n. 24
0
 def __init__(self):
     netlist = DeviceNetListLine(devicename='meas',
                                 showReference=False,
                                 showports=False)
     Device.__init__(self, netlist, [
         PartPropertyCategory('Special'),
         PartPropertyPartName('Measure'),
         PartPropertyDefaultReferenceDesignator('VM?'),
         PartPropertyDescription('Measure'),
         PartPropertyWaveformFileName(),
         PartPropertyWaveformType('file'),
         PartPropertyWaveformProjectName()
     ], PartPictureVariableMeasureProbe())
Esempio n. 25
0
 def __init__(self, portNumber=1):
     netlist = DeviceNetListLine(devicename='port',
                                 showReference=False,
                                 showports=False,
                                 values=[('pn', False)])
     Device.__init__(self,
                     netlist, [
                         PartPropertyCategory('Special'),
                         PartPropertyPartName('Port'),
                         PartPropertyDescription('Port'),
                         PartPropertyPorts(1),
                         PartPropertyPortNumber(portNumber)
                     ],
                     partPicture=PartPictureVariablePort())
Esempio n. 26
0
 def __init__(self):
     netlist = DeviceNetListLine(partname='idealtransformer',
                                 values=[('tr', False)])
     Device.__init__(
         self,
         netlist, [
             PartPropertyCategory('Inductors'),
             PartPropertyPartName('IdealTransformer'),
             PartPropertyDefaultReferenceDesignator('D?'),
             PartPropertyPorts(4),
             PartPropertyTurnsRatio(),
             PartPropertyDescription('Four Port IdealTransformer')
         ],
         partPicture=PartPictureVariableIdealTransformer())
Esempio n. 27
0
 def __init__(self,propertiesList,partPicture):
     netlist=DeviceNetListLine(devicename='voltagesource')
     Device.__init__(self,netlist,[PartPropertyCategory('Generators'),PartPropertyPartName('Voltage Clock Generator'),PartPropertyDefaultReferenceDesignator('VG?'),
     PartPropertyHorizontalOffset(),PartPropertyDuration(),PartPropertyStartTime(),PartPropertyFrequency(),PartPropertyRisetime(),PartPropertySampleRate(),PartPropertyVoltageAmplitude(),PartPropertyWaveformType('clock')]+propertiesList,partPicture)