TAGGED: EME, optimization
-
-
December 7, 2023 at 6:47 am
Yeolheong Seong
SubscriberHi.
I'm using the latest Lumerical solver and have a problem with using optimization with EME.
In optimization, I can select 'user s parameter' as a figure of merit, but it does not optimize the value that I want.
So I used FOM script like below:
(T_fom2 is user s matrix, 3-port configuration)
T1 = abs(T_fom2(1, 2))^2;
T2 = abs(T_fom2(1, 3))^2;
a1 = T1 + T2;
a2 = abs(T1 - T2);
fom = a1 - a2;
it looked like it worked, but after the simulation ended,Â
I found that the 'best FOM during the optimization' and 'FOM from manual calculation(after EME propagate) in the best solution'
are different from each other.
I also found that in FOM script, I could not use 'emepropagate' neither 'getresult("eme", "user s matrix")'.
Also, I made the same result in model analysis and used it for FOM, but it had the same problem.
I think EME with optimization has some bugs especially for user s parameter, like no updating or whatever.
Is there any solution I can do?Â
-
January 12, 2024 at 10:53 pm
Amrita Pati
Ansys EmployeeHi Yeolheong,
I apologize for the delay in response. We seemed to have miss some posts in December. If I understand you correctly, when you look at the FOM from the optimized geometry and then do the EME calculation for the same geometry, they seem to be different. And you suspect that the user s-matrix is not being updated properly during the optimization?Â
From the code you have shared, I don't think anything is wrong and that it should work properly. But let me run some tests and get back to you on this.Regards,
Amrita
-
- The topic ‘optimization(particle swarm) with EME has an issue’ is closed to new replies.
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.