Logo : Hfss

Hfss

Organisation
svd-ai-lab
hfss

Work with Ansys HFSS 3D through PyAEDT, AEDT, sim-plugin-hfss, or solver-native workflows. Use when the user asks an agent to inspect, build, edit, run, monitor, export, or debug HFSS 3D models.

Add to TypingMind

Présentation

Éditeursvd-ai-lab
Dépôtsim-cli
Nom de la compétencehfss
Étoiles
242
Forks
23
Fichiers inclus
Instructions uniquement
LicenceApache-2.0
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par svd-ai-lab sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Hfss dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/svd-ai-lab/sim-cli/tree/main/plugins/hfss/src/sim_plugin_hfss/_skills/hfss
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/svd-ai-lab/sim-cli.git /tmp/sim-cli
mkdir -p .claude/skills
cp -r /tmp/sim-cli/plugins/hfss/src/sim_plugin_hfss/_skills/hfss .claude/skills/hfss
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Hfss dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Hfss dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Hfss n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

HFSS Skill

Use this skill for Ansys HFSS 3D work.

This plugin targets HFSS 3D through PyAEDT and AEDT. It does not yet cover HFSS 3D Layout, Maxwell, Icepak, Q3D, Circuit, or generic AEDT workflows.

sim-cli is a control and observability layer, not the only valid execution path. Use sim check, sim connect, sim inspect, and bounded sim exec snippets when they add discovery, session control, or structured evidence. Use plain PyAEDT scripts, AEDT executables, vendor batch flows, or GUI operation when those are the narrower reliable primitive. The evidence standard is the same for every path.

Required Protocol

  1. Run an HFSS/AEDT availability probe before launch or solve.
    • Use sim check hfss when sim-cli is available.
    • Acceptable alternatives: a PyAEDT import/version probe, AEDT executable path probe, Windows Registry/default-install probe, or environment variable probe.
    • When probing nested Python packages such as ansys.aedt.core, catch ModuleNotFoundError; a missing top-level ansys package is evidence that the control package is absent, not a reason to launch AEDT for discovery.
    • Do not use -help on ansysedt.exe, ansysedtsv.exe, or hfss.exe as an availability probe. AEDT Student can open a modal Electronics Desktop Student Help window and block automation when launched this way.
    • Missing sim-cli is not evidence that AEDT/HFSS is missing.
  2. If no AEDT installation is found, stop and ask for an AEDT installation or SIM_HFSS_AEDT_ROOT path. Do not invent install paths.
  3. Prefer no-GUI operation unless the user needs visual review or the workflow cannot expose the required state programmatically.
  4. Before setup, solve, export, or result interpretation, inspect the active project/design using the best available path:
bash
sim inspect session.versions
sim inspect session.summary
sim inspect hfss.project.identity
sim inspect hfss.design.summary
sim inspect hfss.model.summary
sim inspect hfss.boundaries.summary
sim inspect hfss.setups.summary

Use release-specific API guidance only when session.versions reports version_source: active_runtime. A newer AEDT installation detected on the same host does not establish the version of the connected HFSS session.

If you are not using sim-cli, collect equivalent project, design, object, boundary, port, setup, and sweep information through PyAEDT or AEDT APIs. 5. Run one bounded step at a time. After each mutation, inspect the changed state and capture last.result, script output, or equivalent logs. 6. Treat process success as transport success only. Engineering acceptance must come from HFSS results, exported data, convergence, S-parameters, fields, far-field quantities, or another domain-specific criterion requested by the user. 7. Keep failed evidence. If a solve/export fails, capture AEDT messages, stdout/stderr, generated files, and the exact step that failed.

Common Workflows

Offline AEDT Project Probe

When the user only needs quick inventory or triage from a saved project and AEDT may not be installed, use the experimental offline inspector before launching AEDT:

bash
python -m sim_plugin_hfss.aedt_inspect path/to/project.aedt

It can report best-effort project/design hints, variables, setup and sweep names, port/boundary names, lock-file status, and .aedtresults sidecar progress. It does not solve, read field data, extract mesh connectivity, or provide authoritative geometry/boundary semantics. When accuracy matters, validate the same file through PyAEDT/AEDT inspections.

Connect Through sim-cli

bash
sim check hfss
sim connect --solver hfss --ui-mode no_gui
sim inspect session.summary
sim inspect hfss.project.identity
sim inspect hfss.design.summary

Use GUI mode only when the user needs to watch or interact with AEDT:

bash
sim connect --solver hfss --ui-mode gui

Run a PyAEDT Script

Use this for a complete script that constructs or opens an HFSS project:

bash
sim lint --solver hfss path/to/script.py
sim run --solver hfss path/to/script.py

Direct execution is also acceptable when it is clearer:

bash
python path/to/script.py

In either case, preserve the AEDT project, logs, exported reports, and numeric acceptance results.

Execute a Bounded Snippet

After sim connect, snippets can use the live hfss object:

python
{
    "project": hfss.project_name,
    "design": hfss.design_name,
    "setups": list(hfss.setup_names),
}

Prefer JSON-serializable results. Use sim inspect last.result after each snippet.

Control-plane snippets are bounded by the HFSS driver by default. To tighten or disable that bound for a session, pass an explicit driver option:

bash
sim connect --solver hfss --ui-mode no_gui --driver-option exec_timeout_s=60

Use short bounds for inspection, setup edits, and exporter snippets. Do not use a fixed wall-clock timeout as the failure signal for real solves; solve-like snippets such as analyze_setup(...) are not given the driver's default control timeout unless you explicitly set exec_timeout_s. If a snippet returns hung: true, treat the Python control handle as quarantined. Inspect session.health for the tracked AEDT PID and liveness, drop only the quarantined control session, then reattach the existing PID through the ordinary composable commands before more HFSS work:

bash
sim inspect session.health
sim disconnect
sim connect --solver hfss --ui-mode no_gui \
  --driver-option new_desktop=false \
  --driver-option aedt_process_id=<tracked-pid>

Do not interpret the control timeout as solver failure and do not start a duplicate solve while the preserved PID or solution artifacts still advance.

Export and Parse S-Parameters

When Touchstone export is available, export .sNp and parse it directly for acceptance metrics. The connector exposes a best-effort helper in snippets:

python
touchstone_summary("path/to/result.s1p", target_frequencies_ghz=[5.8], threshold_db=-10)

Do not require scikit-rf just to compute minimum S-parameter, target-frequency values, or threshold bandwidth.

Long Solves, Sweeps, and Multi-Physics Coupling

There is no dedicated resumable-sweep primitive and no automatic HFSS-to-Icepak coupling API, and none is planned. Drive both yourself with the generic primitives above instead of waiting for a purpose-built one:

  • Multi-point sweeps: run one point at a time through bounded run() / sim exec calls. Use session.health / hfss.solution.progress between points to tell "still converging" from "actually hung." A stuck point does not require restarting the whole sweep — the AEDT project retains completed points, so reconnect and continue from the next point.
  • HFSS-to-Icepak coupling: there is no supported automatic EM-Loss link. Read per-object/per-frequency loss from HFSS through the same run(code) scripting used for inspection, then feed the computed value into Icepak's own (manual) heat-source assignment call. See sim-cookbook/hfss/examples/cpw_thermoelectric_rf_power_sensor/ for the staged recipe (RF baseline -> manual heat source -> loss-driven heat source).

Ask for a new driver primitive only when a generic gap actually blocks progress (for example, no timeout guard existed before v0.1.1) — not merely because a specific workflow would be more convenient with a dedicated shortcut.

Monitoring and Evidence

Use these inspections when available:

  • hfss.model.summary for object names, sheet/solid grouping, materials, and bounding boxes when PyAEDT exposes them.
  • hfss.boundaries.summary for boundaries, excitations, ports, and associated objects when available.
  • hfss.setups.summary for setup and sweep names/properties.
  • hfss.messages for AEDT errors/warnings/info.
  • hfss.solution.progress for best-effort solved frequency progress from .aedtresults files.
  • session.health for PyAEDT/AEDT liveness, tracked owned AEDT PIDs, recent timeout cleanup, recent messages, and best-effort solve progress.

If an inspection is unavailable, report that honestly and use a solver-native fallback. Do not fabricate status.

Modeling Gotchas

  • AEDT Student installs use the student launcher and may expose version strings such as 2025.2SV. The connector patches PyAEDT 0.26.x startup handling for this case, but direct scripts may need the same care.
  • If an Electronics Desktop Student Help dialog appears during automation, close it, record the exact command, and remove -help from the probe path. Use Registry/path/import checks for discovery, or run a real script invocation when the task needs AEDT execution.
  • For small antenna feeds between curved conductors, do not rely on lumped_port(..., create_port_sheet=True) until the generated sheet has been visually or solver-message validated. HFSS can create a non-planar port sheet between round objects, which fails during port refinement. Prefer an explicit planar sheet plus an explicit two-point integration line.
  • Save the project before a real solve smoke, and capture hfss.odesktop.GetMessages(...) immediately after analyze_setup(...) returns false. Reopening the project later can lose the most useful failure context.
  • For GUI evidence on Windows, inspect the screenshot after taking it. If a full-desktop capture is black, capture the AEDT window by handle instead of treating the file's existence as visual proof.

First-Version Limits

  • Direct .aedt and .aedtz solving through sim run is not validated yet.
  • Real HFSS release validation is opt-in and must be recorded separately from ordinary no-AEDT unit tests.
  • Do not claim solver correctness from plugin unit tests alone.

Troubleshooting

  • Driver not discovered: only when using sim-cli, reinstall the plugin in the same environment as sim-cli and rerun sim check hfss.
  • AEDT not detected: set SIM_HFSS_AEDT_ROOT to the directory containing an AEDT launcher, or rely on Registry/default discovery for common install layouts. A permanent global PATH change is optional, not required.
  • PyAEDT import error: install pyaedt>=0.26.3,<1 in the active environment.
  • Script not detected: make sure it constructs HFSS through PyAEDT, for example from ansys.aedt.core.hfss import Hfss followed by Hfss(...).

Foire aux questions

À quoi sert la compétence IA Hfss ?

Work with Ansys HFSS 3D through PyAEDT, AEDT, sim-plugin-hfss, or solver-native workflows. Use when the user asks an agent to inspect, build, edit, run, monitor, export, or debug HFSS 3D models.

Pourquoi utiliser Hfss sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Hfss se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Hfss dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/svd-ai-lab/sim-cli/tree/main/plugins/hfss/src/sim_plugin_hfss/_skills/hfss. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Hfss ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Hfss ?

Autant que vous le souhaitez. Vous pouvez utiliser Hfss avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Hfss est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par svd-ai-lab sous licence Apache-2.0. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇