Open rauppvictor opened 1 week ago
@rauppvictor I will need to test this in the current version of pyAEDT and AEDT. This toolkit was built and tested using a much older version of pyAEDT and AEDT
Thanks for the quick response @ariensligar. We are with a customer trying to use a toolkit and he is having problems.
Please let me know if you have any news.
Thanks again
@rauppvictor I have made some changes, if you can try the current version. I wasn't able to re-create the exact issue you were having but I did update to more recent version of pyAEDT and tested using AEDT 2024R1.
Hello @ariensligar
I'm going to do some tests.
The customer would like to get the worst case Power Density graphically considering the different Codebook beams. Is this possible using a script? He was using the Toolkit tool, but apparently the Power Density graph generated by the tool doesn't show the worst case.
Thanks.
@rauppvictor
The output from the toolkit shows max PD for each beam. For example, you can see from this output report, the worst case PD is beam index 2, the PD plot will also be created on this same page for that beam.
Hello @ariensligar
I'm have a issue when use the 5G Wizard Toolkit with Codebook using the Paired Beams. Using the attached Codebook file the "PD_Total" graph
I used the AEDT 2024.1 and Array_4_1 simulation example in these testes.
CodebookExample.csv
PowerDensitySummary_AllBeams_on_5mm_Surface.csv
🔍 Before submitting the issue
🐞 Description of the bug
Hello dear
When trying to run the 5G Wizard script, some errors are appearing. Could you tell me what could be happening? I'm using version 2024.1 and my PyAEDT is 0.9.1. The error is shown below:
File "C:\Users\vraupp\Python\Lib\site-packages\pyaedt\generic\grpc_plugin.py", line 120, in Invoke
return _retry_ntimes( ^^^^^^^^^^^^^^ File "C:\Users\vraupp\Python\Lib\site-packages\pyaedt\generic\general_methods.py", line 825, in _retry_ntimes raise AttributeError("Error in Executing Method {}.".format(function.name)) AttributeError: Error in Executing Method InvokeAedtObjMethod.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "d:\vraupp\Estudo\gihub_\5G-Wizard-main\5GWizard.py", line 456, in
myApp = MainWindow(aedtapp)
^^^^^^^^^^^^^^^^^^^
File "d:\vraupp\Estudo\gihub \5G-Wizard-main\5GWizard.py", line 41, in init
self.initGUI()
File "d:\vraupp\Estudo\gihub\5G-Wizard-main\5G_Wizard.py", line 48, in initGUI
project_names = self.gui_params.get_projectnames()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\vraupp\Estudo\gihub\5G-Wizard-main\Lib\Populate_GUI.py", line 15, in get_project_names
return list(self.aedtapp.odesktop.GetProjectList())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vraupp\Python\Lib\site-packages\pyaedt\generic\grpc_plugin.py", line 133, in DynamicFunc
return self.Invoke(funcName, args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vraupp\Python\Lib\site-packages\pyaedt\generic\grpc_plugin.py", line 124, in Invoke
raise GrpcApiError("Failed to execute grpc AEDT command: {}".format(funcName))
pyaedt.generic.general_methods.GrpcApiError: Failed to execute grpc AEDT command: GetProjectList
PS C:\Users\vraupp>
📝 Steps to reproduce
I run the 5G Wizard code in VS Code and the errors appeared instantly.
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2024.1
🐍 Which Python version are you using?
3.12
📦 Installed packages