proc SCHEMATIC_test_electrical_ct_opamp_circuits {} {
make name_net -name output_r_gain -origin {390 530}
make constant -name xi3 -consval 0.0 -origin {-720 510}
make constant -name xi0 -consval 0 -origin {-120 620}
make name_net -name input_r_gain -origin {-240 510}
make resistor -orient R90 -name R0 -origin {-150 510}
make resistor -orient R90 -name R1 -resistance 10k -origin {160 310}
make name_net -name neg_term_r_gain -origin {-30 510}
make opamp_basic -orient RY -name xi2 -dc_gain 60 -f_unity 10e6 -voffset 10e-3 -vsat_pos 0.5 -vsat_neg -0.5 -origin {140 530}
make constant -name xi5 -consval 0.0 -origin {-730 1040}
make gain -name xi8 -gain 0.1 -origin {-380 1040}
make capacitor -orient R90 -name C0 -capacitance 100f -origin {160 720}
make capacitor -orient R90 -name C1 -capacitance 1p -origin {-150 930}
make name_net -name input_c_gain -origin {-50 1040}
make name_net -name neg_term_c_gain -origin {-30 930}
make name_net -name output_c_gain -origin {390 950}
make resistor -orient R90 -name R2 -resistance 1000Meg -origin {160 790}
make global -name gnd -origin {-230 960}
make signal_source -name xi7 -stype 1 -freq 10e3 -origin {-590 1060}
make signal_source -name xi4 -stype 1 -freq 10e3 -origin {-580 530}
make gain -name xi1 -gain 0.1 -origin {-370 510}
make opamp_basic -orient RY -name xi9 -dc_gain 60 -f_unity 10e6 -origin {140 950}
  make_wire 60 550 90 550
  make_wire 60 620 -80 620
  make_wire -240 510 -320 510
  make_wire -410 510 -450 510
  make_wire -240 510 -190 510
  make_wire 50 510 90 510
  make_wire 200 310 260 310
  make_wire 260 530 390 530
  make_wire 260 530 220 530
  make_wire 60 550 60 620
  make_wire 260 310 260 530
  make_wire -30 510 50 510
  make_wire -30 510 -110 510
  make_wire 50 310 120 310
  make_wire 50 310 50 510
  make_wire 60 970 90 970
  make_wire 50 930 90 930
  make_wire 200 720 260 720
  make_wire 260 950 390 950
  make_wire 260 950 220 950
  make_wire 60 970 60 1040
  make_wire -30 930 50 930
  make_wire -30 930 -110 930
  make_wire 50 720 120 720
  make_wire 120 790 50 790
  make_wire 200 790 260 790
  make_wire 50 720 50 790
  make_wire 50 790 50 930
  make_wire 260 720 260 790
  make_wire 260 790 260 950
  make_wire -230 960 -230 930
  make_wire -230 930 -190 930
  make_wire -50 1040 -330 1040
  make_wire -50 1040 60 1040
  make_wire -460 1040 -420 1040
}

