TAGGED: fdtd, Lumerical-FDTD, optimization
-
-
September 22, 2022 at 4:43 pm
sagar
SubscriberI am optimizing my structure's parameters, diameter, height, etc to gate maximum absorption. Is it possible to optimize the parameters of the photonic structures for two wavelengths in a single optimization process? In optimizations, I am only able to maximize the absorption for a single wavelength. Please suggest if it is possible with lumerical fdtd?Â
-
September 22, 2022 at 8:06 pm
Guilin Sun
Ansys EmployeeThe Particle Swarm optization Lumerical developed is for one FOM. When you have two results to be optiized, it is doable, provided that you design a FOM to contain both of them in one value. For example if you want mimize 1-T1/T2, where T1 is the transmission for wavelewngth 1 and T2 is the transmission for wavelength 2.
Â
You can design other FOM to better realize your optimization goal, as one value of FOM.
Â
Â
-
September 26, 2022 at 4:09 pm
sagar
SubscriberThis 1-T1/T2 will be minimized when T1~T2, not likely when both are maximum. I want to do the optimization in such a way that T1 and T2 would maximum corresponds to two wavelengths and transmission corresponding to other wavelengths will be a minimum. The actual goal is to build a structure that supports resonance for two wavelengths.Â
Â
Sometime after optimization, I get diverged FOM; there is no saturation value. Should I go for more generation?Â
-
September 26, 2022 at 4:39 pm
Guilin Sun
Ansys EmployeeUnfortunately many optimizatio algorithms do not provide vectorial FOMs. The Particle Swarm Optimization Lumerical developed is a scalar optization, so you cannot direct optimize two FOMs. The suggestion I proposed can have both T1 and T2 about the same. You may need to figure it out where the loss goes, reflection or absorption? You can also invent your own FOM formulation and try if it works.
You could also borrow 3rd party vectorial optimization algorithm, or write your own.
If the FOM does not converge, it means you will need more number of generations. Yes, it needs to reach more parameter space in order to converge.
Â
-
February 15, 2023 at 5:51 pm
sagar
SubscriberCan you help me to get transmission at a particular wavelength in the analysis script?Â
m="x2"; Â Â # monitor name
f=getdata(m,"f");
T=transmission(m); plot(c/f*1e6,T,"wavelength(um)","transmission");
How do I modify this one that T will collect the transmisison value for a particular wavelength? -
February 16, 2023 at 6:04 pm
Guilin Sun
Ansys EmployeeIf you know that wavelength is inside the frequency sampling points, then you can first search that frequency:
https://optics.ansys.com/hc/en-us/articles/360034405874-find-Script-command
find the index from "f", and using the same index to get T.
rg, fn=find(f,f0) where f0 is what you want f0=c/wavelength
then ?T(fn) is its transmission. If f0 is not at the sampling point, it interpolate it.
If you want extact value, you can specify the wavelength in the monitor using "custom" frequency points. Or you can add another monitor with that specific wavelength.
But this question is not within this topic. Please write a new post whenever you have questions.
Â
Â
-
- The topic ‘Optimisation of parameters for two wavelengths’ is closed to new replies.
-
3492
-
1057
-
1051
-
971
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.