Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Error when using "add_siwave_dc_analysis" in Dcir_in_3DLayout example (Linux RHEL)

Đang mở
#269 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu với ví dụ Dcir_in_3DLayout và lệnh gọi appedb.siwave.add_siwave_dc_analysis(name="my_setup"). Tái hiện lỗi trên Linux với các phiên bản Ansys, pyaedt, pyedb và Python được báo cáo, sau đó kiểm tra đường dẫn create_siwave_dc_setup được hiển thị trong traceback. Được xem là hoàn tất khi ví dụ tạo được phân tích DCIR của SIwave mà không gặp ATTRIBUTE ERROR được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
🔍 Before submitting the issue
  • I have searched among the existing issues
  • I am using a Python virtual environment
🐞 Description of the bug

Error occurs when running the following example from Ansys: https://aedt.docs.pyansys.com/version/stable/examples/01-HFSS3DLayout/Dcir_in_3DLayout.html

Error occurs when running the line appedb.siwave.add_siwave_dc_analysis(name="my_setup")

Error message:

In [7]: appedb.siwave.add_siwave_dc_analysis(name="my_setup")
PyAEDT ERROR: ATTRIBUTE ERROR on create_siwave_dc_setup
PyAEDT ERROR: RaptorX
PyAEDT ERROR:   File "/opt/ansysem_eval/pyansys/py310/pyaedt/0.9-03/lib/python3.10/site-packages/pyedb/dotnet/edb_core/siwave.py", line 914, in add_siwave_dc_analysis
PyAEDT ERROR:     setup = self._pedb.create_siwave_dc_setup(name)
PyAEDT ERROR:   File "/opt/ansysem_eval/pyansys/py310/pyaedt/0.9-03/lib/python3.10/site-packages/pyedb/dotnet/edb.py", line 3741, in create_siwave_dc_setup
PyAEDT ERROR: Method arguments: 
PyAEDT ERROR:     name = my_setup 
PyAEDT ERROR: Check Online documentation on: https://edb.docs.pyansys.com/version/stable/search.html?q=create_siwave_dc_setup
Out[7]: False
📝 Steps to reproduce

Run the following code:

import os
import pyaedt

local_path = '<path_to_edb>/edb/Galileo.aedb'
appedb = pyaedt.Edb(local_path)

#####################################################################################
# Create pin group on VRM positive pins

gnd_name = "GND"
appedb.siwave.create_pin_group_on_net(
    reference_designator="U3A1",
    net_name="BST_V3P3_S5",
    group_name="U3A1-BST_V3P3_S5")

#####################################################################################
# Create pin group on VRM negative pins

appedb.siwave.create_pin_group_on_net(
    reference_designator="U3A1",
    net_name="GND",
    group_name="U3A1-GND")

#####################################################################################
# Create voltage source between VRM positive and negative pin groups
appedb.siwave.create_voltage_source_on_pin_group(
    pos_pin_group_name="U3A1-BST_V3P3_S5",
    neg_pin_group_name="U3A1-GND",
    magnitude=3.3,
    name="U3A1-BST_V3P3_S5"
)

#####################################################################################
# Create pin group on sink component positive pins

appedb.siwave.create_pin_group_on_net(
    reference_designator="U2A5",
    net_name="V3P3_S5",
    group_name="U2A5-V3P3_S5")

#####################################################################################
# Create pin group on sink component negative pins

appedb.siwave.create_pin_group_on_net(
    reference_designator="U2A5",
    net_name="GND",
    group_name="U2A5-GND")

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Create place current source between sink component positive and negative pin groups
appedb.siwave.create_current_source_on_pin_group(
    pos_pin_group_name="U2A5-V3P3_S5",
    neg_pin_group_name="U2A5-GND",
    magnitude=1,
    name="U2A5-V3P3_S5"
)

###############################################################################
# Add SIwave DCIR analysis

appedb.siwave.add_siwave_dc_analysis(name="my_setup")
💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

2023.2.1 and 2024.1.1
pyaedt 0.9.3

🐍 Which Python version are you using?

3.10

📦 Installed packages
alabaster==0.7.12
annotated-types==0.6.0
ansys-pythonnet==3.1.0rc3
arrow==1.2.3
astroid==2.14.2
asttokens==2.0.5
atomicwrites==1.4.0
attrs==23.1.0
autopep8==2.0.4
Babel==2.11.0
beautifulsoup4==4.12.2
binaryornot==0.4.4
black==24.3.0
bleach==4.1.0
Brotli==1.0.9
certifi==2024.2.2
cffi==1.16.0
chardet==4.0.0
charset-normalizer==2.0.4
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
cloudpickle==2.2.1
clr-loader==0.2.6
colorama==0.4.6
comm==0.2.1
contourpy==1.2.1
cookiecutter==2.6.0
cryptography==42.0.5
cycler==0.12.1
debugpy==1.6.7
decorator==5.1.1
defusedxml==0.7.1
diff-match-patch==20200713
dill==0.3.8
distro==1.9.0
docstring-to-markdown==0.11
docutils==0.18.1
dotnetcore2==3.1.23
et-xmlfile==1.1.0
exceptiongroup==1.2.0
executing==0.8.3
fastjsonschema==2.16.2
fiona==1.9.6
flake8==7.0.0
fonttools==4.51.0
fpdf2==2.7.8
geopandas==0.14.4
idna==3.7
imageio==2.34.1
imagesize==1.4.1
importlib-metadata==7.0.1
inflection==0.5.1
intervaltree==3.1.0
ipykernel==6.28.0
ipython==8.20.0
isort==5.9.3
jaraco.classes==3.2.1
jedi==0.18.1
jeepney==0.7.1
jellyfish==1.0.1
Jinja2==3.1.3
jsonschema==4.19.2
jsonschema-specifications==2023.12.1
jupyter_client==8.6.0
jupyter_core==5.5.0
jupyterlab-pygments==0.2.2
keyring==24.3.1
kiwisolver==1.4.5
lazy-object-proxy==1.10.0
markdown-it-py==2.2.0
MarkupSafe==2.1.3
matplotlib==3.8.4
matplotlib-inline==0.1.6
mccabe==0.7.0
mdurl==0.1.0
mistune==2.0.4
more-itertools==10.1.0
mypy-extensions==1.0.0
nbclient==0.8.0
nbconvert==7.10.0
nbformat==5.9.2
nest-asyncio==1.6.0
networkx==3.3
numpy==1.26.4
numpydoc==1.5.0
openpyxl==3.1.2
osmnx==1.9.3
packaging==23.2
pandas==2.2.2
pandocfilters==1.5.0
parso==0.8.3
pathspec==0.10.3
pexpect==4.8.0
pickleshare==0.7.5
pillow==10.3.0
pip==23.3.1
platformdirs==3.10.0
pluggy==1.0.0
plumbum==1.8.3
ply==3.11
pooch==1.8.1
prompt-toolkit==3.0.43
psutil==5.9.0
ptyprocess==0.7.0
pure-eval==0.2.2
pyaedt==0.9.3
pycodestyle==2.11.1
pycparser==2.21
pydantic==2.7.1
pydantic_core==2.18.2
pydocstyle==6.3.0
pyedb==0.10.0
pyflakes==3.2.0
Pygments==2.15.1
pylint==2.16.2
pylint-venv==3.0.3
pyls-spyder==0.4.0
pyparsing==3.1.2
pyproj==3.6.1
PyQt5==5.15.10
PyQt5-sip==12.13.0
PyQtWebEngine==5.15.6
PySocks==1.7.1
python-dateutil==2.8.2
python-lsp-black==2.0.0
python-lsp-jsonrpc==1.1.2
python-lsp-server==1.10.0
python-slugify==5.0.2
pytomlpp==1.0.13
pytoolconfig==1.2.6
pytz==2024.1
pyvista==0.43.7
pyxdg==0.27
PyYAML==6.0.1
pyzmq==25.1.2
QDarkStyle==3.2.3
qstylizer==0.2.2
QtAwesome==1.2.2
qtconsole==5.5.1
QtPy==2.4.1
referencing==0.30.2
requests==2.31.0
rich==13.3.5
rope==1.12.0
rpds-py==0.10.6
rpyc==6.0.0
Rtree==1.0.1
scikit-rf==1.0.0
scipy==1.13.0
scooby==0.10.0
SecretStorage==3.3.1
setuptools==69.5.1
shapely==2.0.4
sip==6.7.12
six==1.16.0
snowballstemmer==2.2.0
sortedcontainers==2.4.0
soupsieve==2.5
Sphinx==5.0.2
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
spyder==5.5.1
spyder-kernels==2.4.4
SRTM.py==0.3.7
stack-data==0.2.0
text-unidecode==1.3
textdistance==4.2.1
three-merge==0.1.1
tinycss2==1.2.1
toml==0.10.2
tomli==2.0.1
tomlkit==0.11.1
tornado==6.3.3
traitlets==5.14.3
typing_extensions==4.11.0
tzdata==2024.1
ujson==5.4.0
Unidecode==1.2.0
urllib3==2.2.1
utm==0.7.0
vtk==9.2.6
watchdog==2.1.6
wcwidth==0.2.13
webencodings==0.5.1
whatthepatch==1.0.2
wheel==0.43.0
wrapt==1.14.1
wurlitzer==3.0.2
yapf==0.40.2
zipp==3.17.0
Ngôn ngữ chính
KFramework
Star
56
Fork
28
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ansys/example-data

Tất cả issue của ansys/example-data

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.