(kicad_sch (version 20211123) (generator eeschema)
  (paper "A4")
  (lib_symbols
    (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "#PWR" (id 0) (at 0 -6.35 0))
      (property "Value" "GND" (id 1) (at 0 -3.81 0))
      (property "Footprint" "" (id 2) (at 0 0 0))
      (property "Datasheet" "" (id 3) (at 0 0 0))
      (property "ki_keywords" "power-flag" (id 4) (at 0 0 0))
      (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0))
      (symbol "GND_0_1"
        (polyline
          (pts
            (xy 0 0)
            (xy 0 -1.27)
            (xy 1.27 -1.27)
            (xy 0 -2.54)
            (xy -1.27 -1.27)
            (xy 0 -1.27)
          )
          (fill (type none))
        )
      )
      (symbol "GND_1_1"
        (pin power_in line (at 0 0 270) (length 0) hide
          (name "GND")
          (number "1")
        )
      )
    )
    (symbol "pyopus:INCLUDE" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
      (property "Reference" "A" (id 0) (at -10.16 1.27 0))
      (property "Value" "INCLUDE" (id 1) (at 0 -2.54 0))
      (property "Footprint" "" (id 2) (at 0 0 0))
      (property "Datasheet" "" (id 3) (at 0 0 0))
      (property "Filename" "<file name>" (id 4) (at -10.16 -6.35 0))
      (property "Position" "top" (id 5) (at 10.16 1.27 0))
      (property "ki_description" "Include file" (id 6) (at 0 0 0))
      (symbol "INCLUDE_0_1"
        (rectangle (start -10.16 0) (end 10.16 -5.08)
          (fill (type none))
        )
      )
    )
    (symbol "pyopus:ISRC" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "I" (id 0) (at -3.81 0 90))
      (property "Value" "ISRC" (id 1) (at -6.35 0 90))
      (property "Footprint" "" (id 2) (at -6.858 -19.05 90))
      (property "Datasheet" "" (id 3) (at -5.08 -19.05 90))
      (property "Specification" "dc=0" (id 4) (at 3.81 0 90))
      (property "ki_description" "Built-in independent current source" (id 5) (at 0 0 0))
      (symbol "ISRC_0_0"
        (polyline
          (pts
            (xy 0 1.143)
            (xy 0 -1.143)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0 -1.143)
            (xy -0.254 -0.381)
            (xy 0.254 -0.381)
            (xy 0 -1.143)
          )
          (fill (type none))
        )
        (circle (center 0 0) (radius 1.905)
          (fill (type none))
        )
      )
      (symbol "ISRC_1_1"
        (pin passive line (at 0 3.81 270) (length 1.905)
          (name "P")
          (number "1")
        )
        (pin power_out line (at 0 -3.81 90) (length 1.905)
          (name "N")
          (number "2")
        )
      )
    )
    (symbol "pyopus:NPN" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "Q" (id 0) (at 3.81 1.27 0))
      (property "Value" "NPN" (id 1) (at 5.08 3.81 0))
      (property "Footprint" "" (id 2) (at 5.08 3.81 0))
      (property "Datasheet" "" (id 3) (at 0 0 0))
      (property "Model" "<model name>" (id 4) (at 3.81 -1.27 0))
      (property "ki_description" "Built-in NPN transistor" (id 5) (at 0 0 0))
      (symbol "NPN_0_1"
        (polyline
          (pts
            (xy 0.635 0.635)
            (xy 2.54 2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.635 -0.635)
            (xy 2.54 -2.54)
            (xy 2.54 -2.54)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 0.635 1.905)
            (xy 0.635 -1.905)
            (xy 0.635 -1.905)
          )
          (fill (type none))
        )
        (polyline
          (pts
            (xy 1.27 -1.778)
            (xy 1.778 -1.27)
            (xy 2.286 -2.286)
            (xy 1.27 -1.778)
            (xy 1.27 -1.778)
          )
          (fill (type outline))
        )
      )
      (symbol "NPN_1_1"
        (pin passive line (at 2.54 5.08 270) (length 2.54)
          (name "C")
          (number "1")
        )
        (pin input line (at -5.08 0 0) (length 5.715)
          (name "B")
          (number "2")
        )
        (pin passive line (at 2.54 -5.08 90) (length 2.54)
          (name "E")
          (number "3")
        )
      )
    )
    (symbol "pyopus:OUTPUT_FILE" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
      (property "Reference" "A" (id 0) (at -10.16 1.27 0))
      (property "Value" "OUTPUT_FILE" (id 1) (at 0 -2.54 0))
      (property "Footprint" "" (id 2) (at 0 0 0))
      (property "Datasheet" "" (id 3) (at 0 0 0))
      (property "Name" "<file name>" (id 4) (at -10.16 -6.35 0))
      (property "ki_description" "Define subcircuit" (id 5) (at 0 0 0))
      (symbol "OUTPUT_FILE_0_1"
        (rectangle (start -10.16 0) (end 10.16 -5.08)
          (fill (type none))
        )
      )
    )
    (symbol "pyopus:RES" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
      (property "Reference" "R" (id 0) (at -2.54 0 90))
      (property "Value" "RES" (id 1) (at -5.08 0 90))
      (property "Footprint" "" (id 2) (at -1.778 0 90))
      (property "Datasheet" "" (id 3) (at 2.032 0 90))
      (property "r" "<resistance>" (id 4) (at 2.54 0 90))
      (property "ki_keywords" "r res resistor" (id 5) (at 0 0 0))
      (property "ki_description" "Built-in resistor" (id 6) (at 0 0 0))
      (symbol "RES_0_1"
        (rectangle (start -1.016 -2.54) (end 1.016 2.54)
          (fill (type none))
        )
      )
      (symbol "RES_1_1"
        (pin passive line (at 0 3.81 270) (length 1.27)
          (name "~")
          (number "1")
        )
        (pin passive line (at 0 -3.81 90) (length 1.27)
          (name "~")
          (number "2")
        )
      )
    )
    (symbol "pyopus:SUPPRESS_END" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
      (property "Reference" "A" (id 0) (at -10.16 1.27 0))
      (property "Value" "SUPPRESS_END" (id 1) (at 0 -2.54 0))
      (property "Footprint" "" (id 2) (at 0 0 0))
      (property "Datasheet" "" (id 3) (at 0 0 0))
      (property "ki_description" "Suppress adding .end to netlist" (id 4) (at 0 0 0))
      (symbol "SUPPRESS_END_0_1"
        (rectangle (start -10.16 0) (end 10.16 -5.08)
          (fill (type none))
        )
      )
    )
    (symbol "pyopus:VSRC" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
      (property "Reference" "V" (id 0) (at -3.81 0 90))
      (property "Value" "VSRC" (id 1) (at -6.35 0 90))
      (property "Footprint" "" (id 2) (at -6.858 -19.05 90))
      (property "Datasheet" "" (id 3) (at -5.08 -19.05 90))
      (property "Specification" "dc=0" (id 4) (at 3.81 0 90))
      (property "ki_description" "Built-in independent voltage source" (id 5) (at 0 0 0))
      (symbol "VSRC_0_0"
        (circle (center 0 0) (radius 1.905)
          (fill (type none))
        )
        (text "+" (at 0 1.27 0))
        (text "-" (at 0 -1.27 0))
      )
      (symbol "VSRC_1_1"
        (pin passive line (at 0 3.81 270) (length 1.905)
          (name "P")
          (number "1")
        )
        (pin power_out line (at 0 -3.81 90) (length 1.905)
          (name "N")
          (number "2")
        )
      )
    )
  )
  (junction (at 113.03 95.25) (diameter 0) (color 0 0 0 0))
  (junction (at 93.98 104.14) (diameter 0) (color 0 0 0 0))
  (wire (pts (xy 107.95 95.25) (xy 113.03 95.25)))
  (wire (pts (xy 113.03 95.25) (xy 113.03 99.06)))
  (wire (pts (xy 113.03 83.82) (xy 113.03 78.74)))
  (wire (pts (xy 93.98 115.57) (xy 93.98 118.11)))
  (wire (pts (xy 105.41 104.14) (xy 93.98 104.14)))
  (wire (pts (xy 134.62 104.14) (xy 134.62 106.68)))
  (wire (pts (xy 113.03 91.44) (xy 113.03 95.25)))
  (wire (pts (xy 93.98 104.14) (xy 93.98 107.95)))
  (wire (pts (xy 100.33 95.25) (xy 93.98 95.25)))
  (wire (pts (xy 113.03 95.25) (xy 116.84 95.25)))
  (wire (pts (xy 93.98 95.25) (xy 93.98 104.14)))
  (wire (pts (xy 113.03 109.22) (xy 113.03 111.76)))
  (wire (pts (xy 134.62 78.74) (xy 134.62 96.52)))
  (wire (pts (xy 113.03 78.74) (xy 134.62 78.74)))
  (global_label "out" (shape input) (at 116.84 95.25 0) (fields_autoplaced)
    (property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 0 0 0))
  )
  (symbol (lib_id "pyopus:NPN") (at 110.49 104.14 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "Q1" (id 0) (at 114.3 102.87 0))
    (property "Value" "" (id 1) (at 115.57 100.33 0))
    (property "Footprint" "" (id 2) (at 115.57 100.33 0))
    (property "Datasheet" "" (id 3) (at 110.49 104.14 0))
    (property "Model" "2n3510" (id 4) (at 114.3 105.41 0))
    (pin "1")
    (pin "2")
    (pin "3")
  )
  (symbol (lib_id "pyopus:RES") (at 113.03 87.63 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "R1" (id 0) (at 110.49 87.63 90))
    (property "Value" "" (id 1) (at 107.95 87.63 90))
    (property "Footprint" "" (id 2) (at 111.252 87.63 90))
    (property "Datasheet" "" (id 3) (at 115.062 87.63 90))
    (property "r" "{r1}" (id 4) (at 115.57 87.63 90))
    (pin "1")
    (pin "2")
  )
  (symbol (lib_id "pyopus:RES") (at 104.14 95.25 270) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "R2" (id 0) (at 104.14 92.71 90))
    (property "Value" "" (id 1) (at 104.14 90.17 90))
    (property "Footprint" "" (id 2) (at 104.14 93.472 90))
    (property "Datasheet" "" (id 3) (at 104.14 97.282 90))
    (property "r" "{r2}" (id 4) (at 104.14 97.79 90))
    (pin "1")
    (pin "2")
  )
  (symbol (lib_id "pyopus:ISRC") (at 93.98 111.76 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "I1" (id 0) (at 90.17 111.76 90))
    (property "Value" "" (id 1) (at 87.63 111.76 90))
    (property "Footprint" "" (id 2) (at 87.122 130.81 90))
    (property "Datasheet" "" (id 3) (at 88.9 130.81 90))
    (property "Specification" "dc=0" (id 4) (at 97.79 111.76 90))
    (pin "1")
    (pin "2")
  )
  (symbol (lib_id "pyopus:VSRC") (at 134.62 100.33 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "Vcc1" (id 0) (at 130.81 100.33 90))
    (property "Value" "" (id 1) (at 128.27 100.33 90))
    (property "Footprint" "" (id 2) (at 127.762 119.38 90))
    (property "Datasheet" "" (id 3) (at 129.54 119.38 90))
    (property "Specification" "dc={vcc}" (id 4) (at 138.43 100.33 90))
    (pin "1")
    (pin "2")
  )
  (symbol (lib_id "power:GND") (at 93.98 118.11 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "#PWR?" (id 0) (at 93.98 124.46 0))
    (property "Value" "" (id 1) (at 93.98 121.92 0))
    (property "Footprint" "" (id 2) (at 93.98 118.11 0))
    (property "Datasheet" "" (id 3) (at 93.98 118.11 0))
    (pin "1")
  )
  (symbol (lib_id "power:GND") (at 113.03 111.76 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "#PWR?" (id 0) (at 113.03 118.11 0))
    (property "Value" "" (id 1) (at 113.03 115.57 0))
    (property "Footprint" "" (id 2) (at 113.03 111.76 0))
    (property "Datasheet" "" (id 3) (at 113.03 111.76 0))
    (pin "1")
  )
  (symbol (lib_id "power:GND") (at 134.62 106.68 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "#PWR?" (id 0) (at 134.62 113.03 0))
    (property "Value" "" (id 1) (at 134.62 110.49 0))
    (property "Footprint" "" (id 2) (at 134.62 106.68 0))
    (property "Datasheet" "" (id 3) (at 134.62 106.68 0))
    (pin "1")
  )
  (symbol (lib_id "pyopus:INCLUDE") (at 80.01 64.77 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "A1" (id 0) (at 69.85 63.5 0))
    (property "Value" "" (id 1) (at 80.01 67.31 0))
    (property "Footprint" "" (id 2) (at 80.01 64.77 0))
    (property "Datasheet" "" (id 3) (at 80.01 64.77 0))
    (property "Filename" "2n3510.inc" (id 4) (at 69.85 71.12 0))
    (property "Position" "top" (id 5) (at 90.17 63.5 0))
  )
  (symbol (lib_id "pyopus:SUPPRESS_END") (at 80.01 76.2 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "A2" (id 0) (at 69.85 74.93 0))
    (property "Value" "" (id 1) (at 80.01 78.74 0))
    (property "Footprint" "" (id 2) (at 80.01 76.2 0))
    (property "Datasheet" "" (id 3) (at 80.01 76.2 0))
  )
  (symbol (lib_id "pyopus:OUTPUT_FILE") (at 80.01 87.63 0) (unit 1)
    (in_bom yes) (on_board yes)
    (property "Reference" "A3" (id 0) (at 69.85 86.36 0))
    (property "Value" "" (id 1) (at 80.01 90.17 0))
    (property "Footprint" "" (id 2) (at 80.01 87.63 0))
    (property "Datasheet" "" (id 3) (at 80.01 87.63 0))
    (property "Name" "bjtamp.inc" (id 4) (at 69.85 93.98 0))
  )
  (sheet_instances
    (path (page "1"))
  )
  (symbol_instances
    (path
      (reference "#PWR?") (unit 1) (value "GND") (footprint "")
    )
    (path
      (reference "#PWR?") (unit 1) (value "GND") (footprint "")
    )
    (path
      (reference "#PWR?") (unit 1) (value "GND") (footprint "")
    )
    (path
      (reference "A1") (unit 1) (value "INCLUDE") (footprint "")
    )
    (path
      (reference "A2") (unit 1) (value "SUPPRESS_END") (footprint "")
    )
    (path
      (reference "A3") (unit 1) (value "OUTPUT_FILE") (footprint "")
    )
    (path
      (reference "I1") (unit 1) (value "ISRC") (footprint "")
    )
    (path
      (reference "Q1") (unit 1) (value "NPN") (footprint "")
    )
    (path
      (reference "R1") (unit 1) (value "RES") (footprint "")
    )
    (path
      (reference "R2") (unit 1) (value "RES") (footprint "")
    )
    (path
      (reference "Vcc1") (unit 1) (value "VSRC") (footprint "")
    )
  )
)
