r/rfelectronics • u/mr-_-unknown_ • May 20 '26
Hfss port assignment and simulation help
Was simulating the rf pcb board which has 16 layer stack up and around 500 ports in one layer
So now if I have to draw a rectangle with one end gnd and the other edge at trace and then assign lumped ports is too long job
Any suggestions?
Pls help!!!!!!
7
Upvotes
6
u/AnotherSami May 20 '26
That's a crazy problem. 500 ports Sounds unrealiatic. Hopefully none of those parts are too close together or you'll suffer some bad port to port coupling.
Your best bed is to learn how to use scripts in hfss. Ask Google how to import a text file (which has the coordinates of your ports) and code a script to do it for you.
The age old trade of. Time it takes to code the problem vs the time it takes brute force the problem. You can record scripts, so the code for making thr port is simple.
4
u/DragonicStar May 20 '26
A 16 layer board????? With 500 ports?
Is your assignment to validate designs in the ODB++ file or are you legitimately being asked to simulate the entire signal path? Hell in a 16 layer PWB there are probably many different channels.....
Start by getting the import into HFSS 3d layout with the correct layer map, take the cutouts you want to isolate what you actually need to look at and go from there.
2
u/BaronBrigg May 20 '26
What are you hoping to achieve? 500 ports is a ludicrous amount, you need to scale back.
1
u/HuygensFresnel May 21 '26
This is a board with 500 RF traces? Or does your boss want to model the entire PCB stack with all 500 ports on that layer and compute the RF coupling between all of them? This is an incredibly dumb thing to do. you design PCB's in a way that parts are RF decoupled. Add vias etc. There is absolutely no point in doing this exercise. Its going to take forever to solve. You'll spend hours of your time and simulation time to figure out an answer. Those have to be charged as well. At this point you just build the board and measure it.
But honestly I can't believe that there is any 16 layer PCB that is worth simulating in that way. Usually the actual RF signal paths are very isolated.