Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#269 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
python
Domaine
tooling

Piste de recherche

Commencez par l’exemple Dcir_in_3DLayout et l’appel appedb.siwave.add_siwave_dc_analysis(name="my_setup"). Reproduisez l’échec sous Linux avec les versions d’Ansys, pyaedt, pyedb et Python indiquées, puis inspectez le chemin create_siwave_dc_setup affiché dans le traceback. Le travail est terminé lorsque l’exemple crée l’analyse DCIR de SIwave sans l’ATTRIBUTE ERROR signalée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
KFramework
Étoiles
57
Forks
28
Merge moyen
2 j 13 h
PR mergées (30 j)
4

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de ansys/example-data

Toutes les issues de ansys/example-data

Issues similaires

Plus d'issues DevTools

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.