diff options
| author | Clément Zrounba <6691770+clement-z@users.noreply.github.com> | 2023-09-30 23:06:01 +0200 |
|---|---|---|
| committer | Clément Zrounba <6691770+clement-z@users.noreply.github.com> | 2023-09-30 23:26:46 +0200 |
| commit | ff9b8bb838ecdfbfc1dc81038fcf3b2a87636982 (patch) | |
| tree | 21f27be782ce11c6d00b96ce100a2bff88141b2e /circuits/add_drop_pyspecs.cir | |
| download | specs-ff9b8bb838ecdfbfc1dc81038fcf3b2a87636982.tar.gz specs-ff9b8bb838ecdfbfc1dc81038fcf3b2a87636982.zip | |
Initial release
Diffstat (limited to 'circuits/add_drop_pyspecs.cir')
| -rw-r--r-- | circuits/add_drop_pyspecs.cir | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/circuits/add_drop_pyspecs.cir b/circuits/add_drop_pyspecs.cir new file mode 100644 index 0000000..cc724d4 --- /dev/null +++ b/circuits/add_drop_pyspecs.cir @@ -0,0 +1,28 @@ +* An Add-drop filter + +* Circuit parameters +.assign lambda0 = 1.55e-6 + +* Circuit definition +;cwsrc1 in wl=1.55e-6 power=1 +vlsrc1 in values=[[0.5e-9,1,{lambda0}],[2e-9,0,{lambda0}]] + +coupler1 in 1 out 2 k=0.15 +coupler2 add 3 drop 4 k=0.15 + +wg_ring_l 4 1 length=300e-6 neff=3.999 +wg_ring_r 2 3 length=300e-6 neff=3.999 + +probe1 out +probe2 drop +probe3 in + +* Simulator options +.options abstol=1e-6 reltol=1e-8 timescale=-12 traceall=1 + +* Analysis parameter +.assign dlambda = 1e-12 + +* Analysis +;.dc /cwsrc1/WL 1549.9e-9 1550.1e-9 {dlambda} +.tran 3e-9 |
