Replies: 1 comment 5 replies
-
You need:
Port1 = rf.Circuit.Port(frequency=balun1.frequency, name='Port1')
Port2 = rf.Circuit.Port(frequency=balun1.frequency, name='Port2') # NB: frequency of balun1 and balun2 should be the same
balun2.name = 'balun2'
connexions = [
[(port1, 0), (balun1, 0)],
[(balun1, 1), (balun2, 1)],
[(balun2, 2), (balun1, 2)],
[(balun2, 0), (port2, 0)]
] |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, all,
I am new to scikit-rf. I just got an problem on making new circuits.
I would like to connect differential port of two 1:2 balun, to form a 2 port network.
I tried a connection like this:
and connect it by,
resulting_circuit = rf.Circuit(connexions)
it just raised an error:
AttributeError: A (network, port) node appears twice in the connection description.
I have no ideas on this issue. I didn't see any port being connected twice.
Balun1 and 2 shared the same S3P file, Balun2 was obtained by balun1.copy().
Anyone can help on this issue? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions