does HFSS work with the EXCEL Solve optimizer?

kato01

Full Member level 2
Joined
Dec 2, 2002
Messages
123
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Activity points
831
I am trying to run HFSS from EXCEL and use the SOLVE optimizer.
I created amodule tht opens HFSS, change variables, runs HFSS, export results and calculate a goal function.
Say, this function is

function Fun(x)

Then in sheet1, i have in cell C3=Fun(B3)
Even though the Fun(B3) is a number, the C3 cell gives me an error (#Value). So I can't use the solver

If anybody has a working example I would appriciate
 

Cookies are required to use this site. You must accept them to continue using the site. Learn more…