Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to simulate and optimize chips with multiple light sources at the same time? #19

Open
ROSSI-49 opened this issue Nov 17, 2022 · 5 comments

Comments

@ROSSI-49
Copy link

When using LumOpt for simulation optimization, I noticed that when setting the optimizer, only one 'source name' can be set. So, if I want to input two different light sources at the same time in the script, how can I do it?

@Aminshafiee24-eng
Copy link

I have the same issue when using lumopt to design directional couplers. I appreciate the help!

@ROSSI-49
Copy link
Author

ROSSI-49 commented Dec 9, 2022

Luckily, I've found a possible workaround.In the document "optimization.py",we use Init() to initialize the optimizer,in it the code provide an available extension parameter calld "source_name".
Following the use of this variable in the function and adding the parameter interface provided by the function, you can initialize multiple light sources.

@Aminshafiee24-eng
Copy link

Thanks, I am looking for a way to design a 2X2 DC, it seems that the design tool for each simulation completely ignores the other output. Do you have any suggestions for this?

Many Thanks

@aj-adkins
Copy link

Thanks, I am looking for a way to design a 2X2 DC, it seems that the design tool for each simulation completely ignores the other output. Do you have any suggestions for this?

Many Thanks

I am also trying to do something similar, did you end up having any success?

@Pantszhang1997
Copy link

Luckily, I've found a possible workaround.In the document "optimization.py",we use Init() to initialize the optimizer,in it the code provide an available extension parameter calld "source_name". Following the use of this variable in the function and adding the parameter interface provided by the function, you can initialize multiple light sources.

can you tell me more details about how to "adding the parameter interface"? if you can update your source codes to your github,i will be very very very appreciate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants