Components, electrical
source
Every option, pin and variant of source, as release
1.3.1
of the compiler states them.
Pins
source with its default options, pins named.Pin functions
| Pin | Side |
|---|---|
negative | left |
positive | right |
A wire names a pin as ID.pin. Rotating the part moves the pins with it; their names stay the same.
Options
Options go in square brackets after the colour, as name=value. Any option not listed here is an error.
Options
| Option | Accepts | Default |
|---|---|---|
type | One of 10 values: voltage-dc,voltage-ac,voltage-pulse,current-dc,current-ac,battery,vcvs,vccs,ccvs,cccs | voltage-dc |
orientation | One of 4 values: right,down,left,up | right |
Variants
Pin names depend on the selected variant. Each drawing labels its own pins.
type=voltage-dc negative (left),positive (right)
type=voltage-ac negative (left),positive (right)
type=voltage-pulse negative (left),positive (right)
type=current-dc negative (left),positive (right)
type=current-ac negative (left),positive (right)
type=battery negative (left),positive (right)
type=vcvs negative (left),positive (right),control-positive (top),control-negative (bottom)
type=vccs negative (left),positive (right),control-positive (top),control-negative (bottom)
type=ccvs negative (left),positive (right),control-positive (top),control-negative (bottom)
type=cccs negative (left),positive (right),control-positive (top),control-negative (bottom)
Writing one
source:V1 at (120, 126) #amber