CGES Reference

PART TYPE Classifier

Reference classifier for Markdown partlist PART TYPE output.

Classifier Rules

function classifyPartType(refdes):
  token = uppercase(refdes)
  for prefix in PREFIXES_SORTED_BY_LENGTH_DESC:
    if token startsWith prefix:
      return LABEL[prefix]
  return "OTHER"

Prefix Mapping

PrefixPART TYPE Label
AGyroscope / Computational / Sensor (to power)
ARAmplifier / Repeater
ATAttenuator
BBlower / Fan
BTBattery / PV
CCapacitor
CBCircuit breaker
CPConnector adaptor / Junction
CRCurrent regulator
DDiode
DCDirectional coupler
DLDelay line
DSDisplay device
EAntenna / Terminal / Cell
EQEqualizing network
FFuse
FLFilter
GOscillator / Generator
HHardware
HPHydraulic part
HRHeater
HSHandset
HTEarphone
HWWearable HID
HXHID (other)
JConnector (jack)
KRelay / Contactor
LInductor / Coil / Solenoid
LEDLight emitting diode
LSAudible alarm / Speaker
MMeter / Instrument
MGMotor
MKMicrophone
MPMechanical part
MTMeasurement transducer
PConnector (plug)
PSPower supply
QTransistor
RResistor
RTThermistor
SSwitch / Contactor
TTransformer
TBTerminal board
TPTest point
UIntegrated circuit / Opto
VRVoltage regulator
WCable / Wire / Conductor
WTWiring tie point
XFuse holder / Socket
YCrystal / Resonator
OTHEROTHER