Hello! As the title states, I am trying to optimise the positions of LEDs to maximise uniformity while making sure it does not exceed a certain boundary. (i.e In a area of 100 * 100, starting from (0,0), I don’t want the LEDs to translate to a new position (51,51) which exceed (50,0), (-50,0), (0,50), (0,-50). Currently, my merit function is derived from the Optimisation Wizard rSpatial Uniformity equal to 0 & Total Flux greater than x] with the X and Y positions being set to variables. I am scared that after optimisation, the new positions of the LEDs would exceed my detector area which is not part of my objectives. Any advise on how to do so?
Thank you very much and have a nice day!