.title sch-rnd export using export_spice

*** sch-rnd/export_spice: model card: _spice_model_card_bc817 ***
* (C) 2023 Tibor 'Igor2' Palinkas
* License: CC0 (no rights reserved): https://creativecommons.org/publicdomain/zero/1.0/
* Source: based on Vishay's datasheet: https://archive.org/details/bc817_spice_vishay
*
.MODEL schrnd__spice_model_card_bc817 npn (
+ IS=2.43485e-13 VAF=10 BF=270 IKF=1.12487 NE=1.84302 ISE=7.17747e-12
+ IKR=0.149889 ISC=2.42047e-12 NC=3.94859 NR=1.04566 BR=2.51332 RC=0.407107
+ CJC=5.516e-11 FC=0.8 MJC=0.529364 VJC=0.4 CJE=5.10473e-11 MJE=0.412728
+ VJE=0.561234 TF=7.1424e-10 ITF=0.175457 VTF=1.86025 XTF=1.09929 RB=6.50128
+ IRB=0.1 RBM=0.1 RE=0.0814215 TR=1e-07
+ )



*** circuit ***
V1 in 0 SINE(0 0.01 1k)
C1 in int_b 10u
C2 int_c out 10u
V2 Vcc 0 dc 5
Q1 int_c int_b 0 schrnd__spice_model_card_bc817
R1 Vcc int_b 87k
R2 int_b 0 10k
R3 Vcc int_c 33k
R4 out 0 100k

*** sch-rnd/export_spice: commands ***
.control

tran 1u 10m
plot v(out) v(in)

.endc
.end
