Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add full functionality for report creation #5417

Open
FgPy93 opened this issue Nov 12, 2024 · 1 comment
Open

Add full functionality for report creation #5417

FgPy93 opened this issue Nov 12, 2024 · 1 comment
Labels
enhancement New features or code improvements

Comments

@FgPy93
Copy link

FgPy93 commented Nov 12, 2024

Description of the feature

I got imported solution data in HFSS and Circuit. The solutions are imported from a table.

To generate a report currently the IronPython API needs to be used:

title = "Plot_title"
solution_data_type = "Modal Solution Data"
oreport = pyaedt_app.oreportsetup
oreport.CreateReport(title,
solution_data_type,
"Rectangular Plot",
solution_name,
[],
[
"Tb(Time in s):=" , ["All"]
],
[
"X Component:=" , "Tb(Time in s)",
"Y Component:=" , ["Tb(Impedance in Ohm)"]
])

The solution to plot was imported from a table. It contains a time and magnitude vector. The solution itself is available and is listed for example in HFSS: hfss.post.available_report_solutions().

When I try to create the report with the hfss.post.create_report_function and I give the solution name into the setup_sweep_name property of the function I got just an error that the solution does not exist.

Because it was imported there is no internal sweep for it and the domain is not available for example if creating the graph manually.

Please implement the functionality given from the IronPython function into the create report method.

Furthermore I found it not really intuitive that the solution name was the setup_sweep_name in the function. Maybe I would it implement more general here because if now sweep was available e. g. for imported data this methodology does not work.

Steps for implementing the feature

Rewrite the functionality for all kind of available solution data.

Useful links and references

No response

@FgPy93 FgPy93 added the enhancement New features or code improvements label Nov 12, 2024
@FgPy93
Copy link
Author

FgPy93 commented Nov 12, 2024

@Samuelopez-ansys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

No branches or pull requests

1 participant