I am trying to optimize a circuit where I want 4 capacitors to vary but to all be the same. I changed the 4 capacitor values to a variable I created called cap1 (and used an equation to set that to a starting value).
When I optimize the circuit, it allows all 4 values to change independantly and no longer uses the cap1 variable. When I chose the parameters to vary for optimization, I did not see my equation for cap1 as a choice, so I checked each of the 4 capacitor parameters there.
Is there a way to do what I want?
Thanks
Tom Alverson
When I optimize the circuit, it allows all 4 values to change independantly and no longer uses the cap1 variable. When I chose the parameters to vary for optimization, I did not see my equation for cap1 as a choice, so I checked each of the 4 capacitor parameters there.
Is there a way to do what I want?
Thanks
Tom Alverson
- Set the equation variable cap1 tunable
- Set the optimization variables in the optimizer to only tune cap1
- (optional) Set the 4 capacitor parameters to not be tunable
To make an equation variable tunable you need to put a ? after the equal sign. So you will have something like cap1=?450 in the equations.
John