-
-
February 21, 2019 at 6:00 pm
NathanS
SubscriberHello Everyone,Â
   I am trying to run an optimization (using sequential nonlinear programming). I am running a magnetic transient simulation. In the simulation, I am linearly sweeping the current in a coil, and plotting the x component of the magnetic field at a particular point. I want the design parameters of the device to be such that it gives me the largest change in magnetic field over time at that point. To calculate the change in magnetic field, I created an output variable DeltaBx = integ(deriv(Bx)). NOTE: The magnetic field when the current through the coil is zero is not a non-zero value, so I can't just use the magnitude to indicate change in magnetic field. Â
However, I run into a problem when I try to use sequential nonlinear programming to maximize the variable:Â
Is there any way to use the optimizer to maximize a variable that depends on two different magnetic field values at different times?Â
Any advice/suggestions would be appreciated! Thanks!Â
-
- The topic ‘Optimization Error: Maximizing change in magnetic field over time’ is closed to new replies.
-
4893
-
1587
-
1386
-
1242
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.
