Introduction to AI-assisted HFSS simulation
In one working day, on a laptop, I had an AI agent build, validate, solve and post-process a complete installed-antenna study in Ansys HFSS. I used about 20 plain-English prompts and didn’t write a single line of code. From six photos, it modelled a VHF antenna on a platform, validated modeling assumptions, swept the mounting position, and produced results.

The speed alone surprised me. What impressed me more was that the agent even caught unconverged results, fixed it on its own, and then turned everything it had learned into reusable skills for the next study.
Here’s how it went in four main steps:
- Start with a baseline. The agent validated the antenna on its own against an independent solver, hand calculations and manufacturers’ data, and caught a common boundary rule of thumb that gives physically impossible gain.
- Build the installation from photos. With no CAD available, it built the model from photos and checked it by rendering the model from each photo’s viewpoint. I added the details only an owner would know.
- Validate every simplification. Each simplification that let a laptop handle a 12 m structure was checked against a full reference run, and a duplicated solve exposed one wrong result that produced no warning.
- Practical presentation of data. Results came out as a percentage of range in each direction. The bracket choice barely matters, a 20° tilt costs far more, and the matching network limits how far down the antenna can go.
The agent compressed days of scripting and post-processing into hours. I asked for validation at every step to eliminate modeling errors and improve the quality of results. The rest of this post walks through each step and shares the lessons learned.
The problem: an antenna is only as good as where you put it
Antennas are designed and specified in isolation, then bolted onto something metal. The something might be a vehicle roof, a rail car, a ship’s mast, a telecom tower, a piece of heavy equipment, or an enclosure full of electronics. Once installed, the structure becomes part of the antenna. It shifts the impedance, reshapes the pattern and casts shadows. Nearby cables and brackets pick up current and re-radiate it.
Some of the questions that come up are:
- Where should the antenna go, and how much does a few centimetres matter?
- Which nearby parts actually affect performance, and which can be ignored?
- How much range or coverage are we losing, and in which directions?
HFSS can answer these questions. The bottleneck is rarely the solver. It’s the engineering time spent building geometry, setting up and checking the model, running variations and turning field data into something a decision-maker can use.
I can’t share customer models, so for this experiment I applied these tools to a hobby: a VHF whip antenna (156–162 MHz) mounted near the top of an aluminum sailboat mast. I had noticed that the antenna on this old boat was mounted about 15cm lower than it could be and wanted to evaluate the effect on performance. The physics, workflow and checks are the same as for a vehicle, a vessel, a tower or an enclosure.
How to conduct an AI-assisted HFSS simulation
The setup is basic: Ansys Electronics Desktop 2026 R1 (HFSS) on a laptop with 4 cores and 64 GB of RAM. The agent was Claude Code running the Opus 5.5 model. It connected to HFSS through the PyAEDT MCP server, which lets an AI agent open projects, run PyAEDT scripts and read results in a live AEDT session.
I didn’t perform any actions inside HFSS during this study, I didn’t modify the setup myself in any way. I just reviewed the models that the AI had created. Each step started with a plain-English prompt. For example:
Create an HFSS model of the antenna in an ideal configuration. Validate the model setup against published best practices, then validate the results against published performance data or hand calculations.
The agent wrote PyAEDT scripts, ran them, inspected the results and reported back to me. It saved every script and a running set of model notes in the project folder, so I can review and re-run the work like any other study. My role was to provide guidance, fill in details, and ask for validation until I was satisfied in the results.
I ran the study in four stages, and each one had to pass its own validation before the next stage built on it.

Step 1: Prove the baseline before using it
Before modelling the installation, I asked for the antenna on its own, in free space, and asked the agent to prove it was right. It validated three things.
The setup, against published best practice. The agent checked boundary placement, port size, convergence criteria and the adaptive frequency against Ansys documentation, Ansys forum guidance and SimuTech’s own antenna design blog post.
The physics, against independent methods. It modelled a reference half-wave dipole and wrote its own independent moment-method solver to check it. HFSS and the independent solver agreed on resonance to within 0.05 MHz and on input resistance to within 0.6% (72.9 Ω against 72.5 Ω). For the whip itself, HFSS gave 574 Ω at the feed and a hand calculation gave 568 Ω. A power-balance check of the far field closed to within about 1%.
The result, against real products. The whip’s resonant length came out at 930 mm (36.6 in) without being forced, which sits inside the 34–39 in range of commercial antennas in this class. Simulated VSWR was consistent with four manufacturers’ data sheets.
The validation also caught something in the model setup. It’s pretty common (though not always correct) to use a radiation boundary a quarter-wavelength away but this gave an input resistance 9% too low. It also gave gain higher than directivity, which is physically impossible. This was flagged during the AI-assisted HFSS simulation, and the agent explained the cause and switched to an FE-BI boundary, which removed the error.

Step 2: Build the installed model, and check it against reality
There was no CAD for this installation, which is common for retrofits and field installs. To build the geometry for my AI-assisted HFSS simulation, I gave the agent six photos. It estimated the dimensions by scaling from parts of known size, such as the antenna base and the coax connector, and stated an uncertainty of 20–30%. It then looked up the structure’s published cross-section to tighten the estimate.
Next came the decision every installed-antenna model needs: what to include. The agent screened every visible part with explicit rules. A part went into the model if it was a conductor and at least one of these was true:
- it was larger than about a twentieth of a wavelength (95 mm here);
- it sat on the antenna’s ground path, like the bracket;
- it was long and close enough to couple to the antenna.
| Part | In the model? | Why |
|---|---|---|
| Aluminium structure (mast) | Yes | Largest conductor, bonded to the antenna ground. It acts as the counterpoise. |
| Mounting bracket and connector | Yes | On the feed path |
| Support wires (stays) | Yes | Long conductors bonded right beside the antenna base |
| Shielded sensor cable in a plastic arm | Yes, as a conductor plus a port | 0.7 m of conductor passing 0.12 m from the feed |
| Plastic housings, light lens, sensor arm | No | Low-permittivity dielectrics |
| Bolts, rivets, small fittings | No | Far smaller than a twentieth of a wavelength |
| Cables inside the structure | No | Shielded by the aluminium wall |
Validation: render the model from the photographer’s viewpoint. I asked the agent to check its geometry against the photos. It exported the HFSS geometry and rendered it from each photo’s camera position, matching perspective and field of view, then compared each render with the photo side by side. That check resulted in the agent finding a mirror-image error that would have put the antenna on the wrong side of the structure. It also caught a bracket modelled upside down and a base that was too long. I again used plain word prompts to describe some features not visible in the pictures and it corrected the geometry on its own.

Step 3: Justify every shortcut, and catch the errors that don’t announce themselves
My laptop can’t brute-force a 12 m metal structure, so the study needed some appropriate simplifications. I asked it to validate each one with a reference run rather to make sure the model was still accurate.
| Shortcut | Reference it was checked against | Difference | Saving |
|---|---|---|---|
| Structure cut off 3 m below the antenna | Full 11.9 m structure, solved once (75 min, 11.5 GB peak) | Average horizon gain within 0.05 dB | Every later model solved in minutes instead of over an hour |
| Tight, conformal FE-BI boundary | A conventional box boundary | Impedance within 2%, VSWR within 0.02, gain within 0.05 dB | About 6× faster |
| Curved surfaces faceted on the long parts | True-curved surfaces stalled the initial mesher for over 25 minutes; the agent stopped it and changed approach | Antenna and feed stayed true-curved | Initial mesh in under a minute |
I told the agent my hardware limits once, and it planned around them. It ran one solve at a time on the large model, chose a single-frequency adaptive mesh at the top of the band, and reported peak memory for every run.
I also spotted an error in the workflow. The agent had been re-optimising the antenna’s matching network for each installation. Hardware doesn’t re-tune itself after it’s bolted on, so I had the model perform placement studies using one fixed match. Decisions about how the product behaves in the real world are where an engineer is needed in the process.
Step 4: Make results understandable and actionable
Engineers think in dBi. The people who approve a mounting change think in coverage and range. So I asked the agent to translate the results of my AI-assisted HFSS simulation into something non-engineers could understand. With some suggestions, the agent offered to split the horizon into 20° sectors and report the estimated percentage change in range for each sector. The agent performed some research and converted gain differences into range estimates using a standard propagation model for links over flat ground or water.

| Question | Answer (realistic range) |
|---|---|
| Is the alternative mounting bracket worth changing to? | Under 1% more range on average, about 3% in the weakest direction |
| What does mounting on the structure cost, compared with an ideal antenna? | 3% on average, 11% in the direction the structure shadows |
| What does a 20° platform tilt cost? | 5–6% on average, about 17% in the worst direction |
| Drop in range vs height? | Almost nothing for the first 100 mm; at 200 mm, about 6% on average and 12% in the weakest direction |
The tilt result mattered more than the range of positions studied. This is a useful thing to know for any antenna on a platform that rolls or pitches, such as a vessel, a vehicle on uneven ground or a structure that sways.

The parametric sweep. One sentence from me set up the last part of the study: make the mounting height a parameter, sweep it from 0 to 200 mm, save the fields and animate how the pattern changes.
As the antenna drops, current spreads from its base onto the face of the structure beside it, and the pattern dents on the opposite side. The sweep also showed me that the fixed matching network is the earlier limit: VSWR at the top of the band passes 2:1 at about 75 mm, well before the pattern loss becomes significant.


Automatic error checking. The first run of the parametric sweep on a coarse mesh came back with one bad result. It produced no warning, it hit convergence targets, and the result was only slightly off but noticeably different from the trend in the dataset.

The agent noticed it during the solve and without stopping, it looked into the root cause and implemented a correction. The cause was that the solver had hit convergence targets too early because two sequential passes coincidentally had similar results. It corrected the setup, re-ran the sweep, and presented the smoother data with an explanation of what it had found and how it corrected it.
This really surprised me. I wasn’t expecting the agent to automatically do this level of data validation, root cause analysis, and correction on its own.
Decisions made from this AI-assisted HFSS simulation study
The answer is that even with the drop in performance at the installed height, the radio reaches further than line of sight given the height of the mast and the curvature of the earth. So there’s no need to drill new holes in the mast and move the antenna to the top. The original installation is just fine and there’s one less project to do.
Engineers can perform similar studies on moving or stationary platforms to predict the effect of antenna placement on the performance of communication. This can include the effect of conductive structures, plastic housings, and interference from another nearby antenna for example.
Tips: how to work with an AI agent for simulation results you can trust
The agent did the tedious parts of the HFSS simulation well: scripting, hand calculations, unit conversions, sweeps, plots and animations. The quality of the result still depended on how I directed it. These are the habits that made the difference for me.
- Ask for validation before results. Make the agent prove the baseline against hand calculations, an independent method and published data before it builds anything on top.
- Give it your constraints up front. Hardware, licences, solve-time budget, deadlines. The agent planned meshing, parallelism and model size around a 4-core laptop because I told it about my laptop once.
- Supply what only you know. Physical details, how parts are bonded, how the product behaves after installation.
- Validate each simplification with one expensive reference run. Truncated geometry, tighter boundaries and coarser faceting are fine, once a single full model shows they don’t move the answer.
- Bound unknowns instead of guessing them. Turn an uncertain connection into a port and sweep it, or run the best and worst cases.
- Build in checks that catch silent errors. Duplicate solves, power balance, smoothness against the swept variable, solver iteration audits.
- When something looks off, ask for the root cause, the fix and how to prevent it. A workaround solves today’s problem; a root cause improves every future study.
- Ask for results in the decision-maker’s units. Percentage of range by direction is far easier to act on than a polar plot in dBi.
- Keep everything reviewable. Scripts, notes, simulation models, and results saved in the project folder mean a colleague can check the work, re-run it or extend it, exactly as they would for a person’s study.
What this means for engineering teams
Time! Model building, validation, a parametric sweep, post-processing and animations took me a couple of hours plus unattended overnight solves, on a laptop. Done manually, I’d expect the model setup, checking, and post-processing to take several days.
In my view, the more important change is where the engineer’s time goes. Less of it goes to pre and post-processing. More goes to judgement: what to model, whether a result is physically believable, what the product really does after installation, and what level of confidence is good enough for the decision.
For HFSS users, my message is that AI-assisted HFSS simulation works today, with the tools you already have. Start with a model you know well, ask for validation first, and treat the agent like a capable new colleague: fast and thorough, but checked.
Installed antennas are one example. The same approach applies wherever simulation work is limited by setup, scripting and post-processing time rather than by the solver.
Want to talk about applying this to your own simulations? Contact SimuTech. Our antenna and high-frequency engineers can help you set up AI-driven simulation workflows that your team can trust.

Nick Rapolti
Director of Engineering, Electromagnetics & Optics
Nick Rapolti is Director of Engineering, Electromagnetics & Optics at SimuTech, with more than 20 years of experience in engineering simulation and technical consulting. He leads a multidisciplinary team specializing in electromagnetics, antennas and wireless systems, high-speed electronics, photonics, and optical simulation. His expertise spans Ansys HFSS, Maxwell, Lumerical, and Zemax OpticStudio, with a focus on helping engineering teams solve complex design challenges and improve simulation workflows. Nick is also exploring the integration of AI into engineering automation, simulation, and design optimization.






