You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deriving the solution data in HFSS with explicit expresssions like dB(S(1,1)) the plotted graph always adds a "mag()" to the expression. So the resulting plot was mag(dB(S(1,1))).
The data vectors which are available in the solution like solution.data_db20() do also contain a magnitude representation of the values. Means for example, that negative values are displayed as positiv values.
This did not show up in previous versions. Current Workaround is to only derive the data as S(1,1) expression and add the logarithmic function via the formula option in the solution.plot() function.
Hi @FgPy93 I've fixed it. This was a regression I've introduced to improve the plot when solution data without formula are taken from the AEDT results.
In the future I'll see if we can implement a logic which detects if there is a formula or those are data without formula
Before submitting the issue
Description of the bug
When deriving the solution data in HFSS with explicit expresssions like dB(S(1,1)) the plotted graph always adds a "mag()" to the expression. So the resulting plot was mag(dB(S(1,1))).
The data vectors which are available in the solution like solution.data_db20() do also contain a magnitude representation of the values. Means for example, that negative values are displayed as positiv values.
This did not show up in previous versions. Current Workaround is to only derive the data as S(1,1) expression and add the logarithmic function via the formula option in the solution.plot() function.
@Samuelopez-ansys
Steps To Reproduce
Create a simple HFSS Project with a coaxial transmission geometry, solve and derive the data.
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
ansys.aedt.core
The text was updated successfully, but these errors were encountered: