TAGGED: design-optimization, inverse-design, optimization
-
-
July 13, 2023 at 1:28 pm
Ziyao Zhang
SubscriberI am using FDTD paritcle swarm optimization, and the optimization process needs a lot of time, however the optimization was interrupted because of the windows update. Is it possible to continue the optimization? I tried to click the continue button but it shows error obtaining parameter sweep info.
Besides, I also want to give intial parameters to the particle swarm optimization, according to the Lumerical introduction of optimization, this can be realized by edit the "advanced-first generation scrip", however I can not write anything in the "first generation script" window, may I ask are there anyway to change the initial parameters of the optimization please?
Thank you so much for the help!
-
July 13, 2023 at 11:34 pm
-
July 14, 2023 at 12:05 pm
Ziyao Zhang
SubscriberHi Devika,
Many thanks for the reply. The initial parameters I meant is the exact value. For example, I had the best solution parameters of the interrupted optimization, but it is still not the best structure, so I want to use the parameters as the first generate parameters of the new PSO process to avoid totally random initial parameter, for saving time. Hope I expained it clearly.
-
July 14, 2023 at 4:41 pm
Dev
Ansys EmployeeAs mentioned before initial parameters can be changed by altering values at edit optimization –>Setup.
If you are using random starting values: Select Algorith "Particle Swarm" from drop down option. If you like to choose cutom values choose "User defined"
If you choose User defined, then only you will be able to upate "frist generation script".
First generation script is used to define initial parameters rather choosing random numbers. Those initial parametrs are assigned over setup-parameters window (see the screenshots above). If you click “test” on the script winow(bottom right corner of next generation script) you will be able to see all the asigned paramters. If you chage Min and Max value it will reflect in the 1st generation script values.
eg: If I am optimizing length and I want to use length between 0.2 – 0.4microns rather using random starting values
To make sure the values are changed in 1st gen script, I am running test
As ou can see the initial parameters changed
You can find more information here :Optimization utility – Ansys Optics
Hope this helps
-
- The topic ‘FDTD optimization interrupted, and first generation script.’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Import material .txt file with script
- Errors Running Ring Modulator Example on Cluster
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- TE Polarization Fraction + Waveguide TE/TM Fraction
- Edge Coupler EME Example Issue
- Lumerical Python API Topology Optimization Error 2025 R1
- FDE : Simulation waveguides with electrodes
-
2122
-
918
-
599
-
591
-
483
© 2025 Copyright ANSYS, Inc. All rights reserved.