TAGGED: design-optimization, inverse-design, optimization
-
-
July 13, 2023 at 1:28 pmZiyao ZhangSubscriber
I 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 pmZiyao ZhangSubscriber
Hi 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 pmDevAnsys Employee
As 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
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Issues with getting result from interconnent analysis script
- Absorption cross-section of AuNR excited by prism-based TIR
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
-
1406
-
599
-
591
-
555
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.