From 36da24e251a6abb6bcc286e3c769cecea31488d8 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 14 Jan 2022 18:33:01 +0100 Subject: [PATCH] Add another RF example, drawn from fig. 13.2 of https://qucs-help.readthedocs.io/en/spice4qucs/RF.html --- examples/sp/sp2.cir | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 examples/sp/sp2.cir diff --git a/examples/sp/sp2.cir b/examples/sp/sp2.cir new file mode 100644 index 000000000..eea833d2b --- /dev/null +++ b/examples/sp/sp2.cir @@ -0,0 +1,24 @@ +Example of VSRC as voltage ports +* https://qucs-help.readthedocs.io/en/spice4qucs/RF.html fig. 13.2 +* +* +V1 in 0 dc 0 ac 1 portnum 1 z0 50 ; pwr 0.001 freq 2.3e9 + +C1 in 0 318.3n +L1 in out 1.592m +C2 out 0 318.3n + +V2 out 0 dc 0 ac 0 portnum 2 z0 50 ; pwr 0.002 freq 3.2e9 + +.sp dec 100 1 1e6 0 + +.control +run +display +set xbrushwidth=2 +plot mag(S_1_1) mag(S_1_2) mag(S_2_1) mag(S_2_2) +plot S_1_1 smithgrid +plot S_1_2 polar +.endc + +.end