December 28, 2022 at 6:24 pm
Ansys Employee
Inverse optimization is an advanced feature. It can be challenge if significnat modification is made.
from this
initial_points_x = np.linspace(-2.5e-6, 2.5e-6, 20)
initial_points_y = np.linspace(0.25e-6, 2e-6, initial_points_x.size)
I am not sure if both use the same point. I would suggest to use
initial_points_x = np.linspace(-2.5e-6, 2.5e-6, initial_points_x.size)
initial_points_y = np.linspace(0.25e-6, 2e-6, initial_points_x.size)
This is to make sure they use the same sampling number. Please check the whole script file and make sure their number of points keeps the same.