Increased Productivity Example #1
A.C. Motor Design
__________
-
Figure 1 is a case study of re-engineering -- an A.C. motor design
simulation that was reapplied as an optimization program and fully
tested in about an hour. The original program had been used for trial
and error design calculations by a west coast manufacturer.
Restructuring this mature engineering model into a design optimization
program, only required introducing a FIND statement that defined a
constrained optimization problem with 12 unknown parameters and 7
constraints. A FIND statement invokes a solution technique or solver
that consists of automatic differentiation with a numerical algorithm.
The solver involved in this case is a nonlinear programming algorithm
called THOR. Figure 2 (part of output) is a report automatically
generated by the solver, THOR, summarizing the iteration steps. This
partial summary shows initial guesses of the parameters and the final
results.
-
This case study illustrates the economic benefits of AD based software
for reapplying existing application software in a higher-productivity
mode. The existing engineering simulation model was used "as is". It
was automatically elevated to optimization by the hidden differential
arithmetic. There was no mathematical analysis or algorithm design
required. Because this was a re-engineering of an existing program, no
debugging was necessary, and since the optimization solvers are
interchangeable, different algorithms could be substituted to verify
solution correctness.
Increased Productivity Example #1 Source Code:
-
Figure 1. Calculus Code ... A.C. Motor (Optimal) Design
global all
problem acmotor
dimension cns(7)
dynamic botm, bnd
call input
call design
print *, '---------------initial design---------------'
call output
Find coiltrns, ! number of turns per coil
& EPDIAM, ! Separating diameter
& STASLOTW, ! Stator slot opening width
& ROTSLOTW, ! Rotor slot opening width
& AIRGAP, ! Air gap
& STATOOTW, ! Stator tooth width
& STABAKIR, ! Stator back iron
& ROTTOOTW, ! Rotor tooth width
& ROTBAKIR, ! Rotor back iron
& STASLOTO, ! Stator slot opening depth
& ROTSLOTO, ! Rotor slot opening depth
& SLIP ! Slip
& in DESIGN; by thor(TCON);
& with bounds BND; and lowers BOTM;
& holding CNS; to maximize EFF
print *, '----------------optimized design-----------------'
call output
end
|
|
HTML code for linking to this
page:
-
<a
href="http://www.digitalcalculus.com/example/ac-motor.html"><img
align="middle" width="100"
src="http://www.digitalcalculus.com/image/ac-motor.jpg"/>
<strong>AC Motor design</strong> </a> simulated &
tweaked 12 parameters in one run!
Go to top