-
-
April 16, 2024 at 3:29 pm
nicolas.peters
SubscriberIÂ am trying to use the S11 at a particular frequency as an output variable in an optislang setup with HFSS. However, I keep getting 'value is not a scalar' error. I have already tried using 'mag' and dB, as well as trying equivalent options like VSWR. I still get the error. The value show itself in the format [1:1], so I think it is defaulting to [Freq, Value]?
Any tips on how to extract just the magnitude value so I can use it in Optislang?
-
June 5, 2024 at 11:08 am
Mrinmoy Bharadwaj
Ansys EmployeeHello Nicolas,
You need to first plot this single value of S11 in HFSS in a plot by selecting the specific frequency at which you want your S11. Save the design and close AEDT. Open Optislang, import the AEDT solver wizard and specify the path to the project. Once you see your plot name in the "Outputs" section in optislang, click and drag the plot to the "Responses" section like:

Go to the Variables section, and you should see your output as a [1:1] array as seen below:
To see the value of your variable, you may add an additional variable and in the expression section just use the function "$SIG_MAX_Y()" and press enter. You should now see the value of the S11 parameter in your response. 
-
- The topic ‘S11 as an output in Optislang’ is closed to new replies.
- Three-Phase Voltage Imbalances in dual stator electric generator
- Co-simulation in Q3D, Icepak – meshing problem
- Classic Icepak – clarifications on Boundary condition
- Link the Circuit to 3D Terminals
- Magnetic Dipole moment calculation
- Integration lines or U Axis Line for circular and rectangular ports
- Core Loss in ANSYS MAXWELL Eddy Current solution
- exporting and importing my Netlist for my external circuit
- Error of Metal Fraction in Icepak Classic.
- The unit of theta in Is*sin(2*pi*fre*Time+theta-2*pi/3)
-
4597
-
1495
-
1386
-
1209
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.