Skip to content

Unexpected behavior with transmisssion line #940

Answered by jhillairet
Patarimi asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @Patarimi ,

Indeed, by default, DefineGammaZ0 uses a lossless propagation constant (1j).

If you want to describe a physical transmission line with a frequency dependant propagation constant, you have to specify the parameter gamma (the imaginary part for the propagation part)

Also, pay attention to plot the same quantity : z_in is complex, so if you plot z_mag you should plot abs(z_in)

NB : while it's perfectly fine to build the circuit using the Circuit class, scikit-rf also comes with some convenient functions to cascade simple Networks, so your code can be simplified to:

import skrf as rf
from numpy import tan, abs
import matplotlib.pyplot as plt
rf.stylely()

Z_0 = 50
Z_L = 75
L = 

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jhillairet
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #939 on July 26, 2023 15:56.