I have a basic question about setting up variables. I would like to optimize a device by maximizing abs(S21)^2. However, I don’t know how to set abs(S21)^2 as a figure of merit. The S-parameter I can set up in the optimization window is ::model:EME:user s-matrix. I tried to search for some tutorial online, but I couldn’t find anything that is useful. I really appreciate if anyone can show me how to do this.