EModel

The emodel statement inside a pcb-component associates the component with an electrical model.

Syntax

; define a resistor EModel
inside pcb-component :
  emodel = Resistor(resistance-ohms, tolerance-%, max-power-watts)

; define a capacitor EModel
inside pcb-component :
  emodel = Capacitor(capacitance-farads,
                     tolerance-%,
                     max-voltage-volts,
                     polarized?, ; optional boolean
                     low-esr?,   ; optional boolean
                     temperature-coefficient?, ; optional string, eg "X7R" or "X5R"
                     dielectric? ; optional)   ; optional string, eg "Ceramic, "Tantalum", "Electrolytic"

; define an inductor EModel
inside pcb-component :
  emodel = Inductor(inductance-microhenries, tolerance-%, max-current-amps)

; define a diode EModel
inside pcb-component :
  emodel Diode(forward-current-amps, 
               forward-voltage-volts, 
               max-current-amps, 
               max-reverse-voltage-volts,
               color?, ; optional, for LEDs
               luminous-intensity-millicandelas) ; optional, for LEDs

Description

An emodel is a simplified model of electrical properties. More complete simulation models can be defined with spice statements (coming soon).