-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEAT: change symbol pin locations #4896
Conversation
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
for more information, see https://pre-commit.ci
@HaiwenZhang It seems that the problem is in AEDT API Command. It expects the Terminal Arguments in the correct order. Try the following: comment the Terminal args assignments in left_pins and right_pins for loop and add this right after. It worked for me.
|
@maxcapodi78 Thank you very much. I will experiment on my side and do enough case tests. I will optimize my code implementation and commit my code. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
@maxcapodi78 I don't know why my PR fails in the automated tests in Github CI CD. Maybe you need to git cherry-pick. |
Cherry picked : #4956 |
Pull request was closed
Hi pyaedt Teams,
I want to use change Sparameter pin locations in Designer, but I can't find any API in pyaedt. So I implement change pin locations API in pyaedt according to IronPython oSymbolManager.EditSymbolAndUpdateComps API. But I met a problem in the implementation.
The Pin location of the S parameter I imported through pyaedt's create_touchstone_component is shown in the figure below.
![屏幕截图 2024-07-09 142210](https://private-user-images.githubusercontent.com/10794968/346836893-2522d627-14f6-4753-818f-cadda9b5abb4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTQ1NjcsIm5iZiI6MTczOTE5NDI2NywicGF0aCI6Ii8xMDc5NDk2OC8zNDY4MzY4OTMtMjUyMmQ2MjctMTRmNi00NzUzLTgxOGYtY2FkZGE5YjVhYmI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEzMzEwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwNGQ5ZGQ1MDEyNGIwMzQ1Yjk5MzRiMzIyZTA5OWVmZTQ5MzM4N2QzNzQ5NjFmZDc1YjMyMjRjOTRhNWFhZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b-6z7dig9SWS4-tnC6iIN6WPGmfQvX0Fbobza1EZ-FA)
After calling my change_symbol_pin_locations API, the pin locations of the S parameters are as shown below.
![屏幕截图 2024-07-09 142234](https://private-user-images.githubusercontent.com/10794968/346836968-b36ce3f6-a0cb-43b6-bcba-216a003c5423.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTQ1NjcsIm5iZiI6MTczOTE5NDI2NywicGF0aCI6Ii8xMDc5NDk2OC8zNDY4MzY5NjgtYjM2Y2UzZjYtYTBjYi00M2I2LWJjYmEtMjE2YTAwM2M1NDIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEzMzEwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ0M2IyNTQxYTNhMzdhZWRjYWQ2YjZhMjQyYzIwMDMzMjg5YjFiMjI1NDZlOGZmOTRiMzUwNGI5ODY1MTFjNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nmn_2X1znnIyNLKPdUlgLYgQirWqzsekWP2nir1PyZQ)
From the circuit diagram of Designer, changing the pin locations of S parameters is successful. However, when I add port1 to the pin name "DDR_DM_DBI0_BGA_BE47" and port2 to the pin name "DDR_CH3_DM_DBI0_DIE_7976", and do Linear Network Analysis. It seems that there is something wrong with the expression of S parameters
The graph of S(port1, port2) should show the characteristics of insertion loss, but the simulation results show that it does not.
Therefore, I would like to ask you guys to help see where I am going wrong in my implementation.
Here is my demo code, the compressed file is the S parameter file.
connector_model.zip