As pointed out by @in3otd [1], there was a bug in the S11 equation of the attenuator component. It didn't match the docs. See [2] Eq. 9.76. This caused that the attenuator didn't work as expected if Z0 != 50Ohm
I think this fix should be included in the new release, so I targeted this to hotfix-0.0.20.
As pointed out by @in3otd [1], there was a bug in the S11 equation of the attenuator component. It didn't match the docs. See [2] Eq. 9.76. This caused that the attenuator didn't work as expected if Z0 != 50Ohm
I think this fix should be included in the new release, so I targeted this to hotfix-0.0.20.
Before:
After:
https://gist.github.com/andresmmera/a4dacd0f3a698b7c75dcac15e6296b03
[1] https://sourceforge.net/p/qucs/mailman/message/36663139/ [2] http://qucs.sourceforge.net/tech/node51.html