TAGGED: pyansys
-
-
August 24, 2026 at 3:09 pm
nijy103
Subscriber我们在使用 PyAEDT 1.0 和 HFSS / AEDT 2026.1 做批量工程导出时,遇到一个稳定复现的问题。
工程本身可以正常打开并求解,
Setup1也能成功 solve,但在导出 Touchstone 或读取解数据时会失败。复现路径大致如下:
- 打开已有
aedt工程 - 运行
analyze_setup("Setup1") - 调用
hfss.export_touchstone(setup="Setup1", sweep="Sweep1", output_file=...) - 导出失败,报错为:
solution data is not available. it was either not solved or was made invalid by subsequent design changes.
- 再尝试
hfss.post.get_solution_data(...)时也失败 - 错误经常落在
GetPropValue - 我们也试过
create_report(...),报告对象能创建,但report.get_solution_data()仍然拿不到有效数据 - 尝试过多个 setup / sweep 组合,包括:
Setup1 : Sweep1Setup1 : LastAdaptiveSetup1report_category="Modal Solution Data"report_category="S Parameter"
结果都一致失败
当前现象是:
- 求解阶段正常
- 导出阶段失败
SolutionData读取失败- 备用 CSV 导出路径也触发过,但仍在 AEDT 导出侧受阻
我们想确认这到底是:
- 当前工程结果树状态异常
- PyAEDT / AEDT 2026.1 的兼容性问题
- 还是某种已知限制或调用方式不正确
- 打开已有
-
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Innovation Space
Trending discussions
Top Contributors
-
6880
-
1906
-
1544
-
1344
-
1217
Top Rated Tags
© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.