Skip to content

how to define a variable for frequency-dependnet surface impedance boundary? #5150

Closed Answered by Samuelopez-ansys
ZiadHatab asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ZiadHatab,

I guess you know how to do it manually right?

Just in case, you first need to create a dataset with this information (Zs vs Freq). If the dataset has the name ds1, you just need:

hfss.assign_impedance_to_sheet(rect.name, "TL2", "pwl(ds1, Freq)", 25)

If you do not know how to create a dataset, here you can find an example:

x_datalist = [45, 53, 60, 70]
y_datalist = [0.5, 3, 6, 9]
hfss.create_dataset("PowerDissipationDataset", x_datalist, y_datalist, z=None, v=None, is_project_dataset=False,
                   x_unit="GHz", y_unit="ohm", v_unit="")

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ZiadHatab
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
Labels
None yet
2 participants