Professional Documents
Culture Documents
Abstract—Students typically use small calculators or personal The choice, in this case, was between MATLAB and
computer applications such as MATLAB or MATHCAD to per- MATHCAD. A very good introduction to MATLAB from
form basic electrical engineering calculations. From the experience the electrical engineering perspective is presented in [3].
of teaching several power engineering courses, the author noted
that when using computer software to solve problems, students MATLAB is known for being reliable and fast. In addition, a
tend to lose the meaning of the equations, concentrating solely large user community, especially in the electrical engineering
on typing variables and numbers. Some programs are especially area, provides support and many example files. In many areas
inviting for making this error. MATLAB, for instance, does not of electrical engineering, several toolboxes are available at a
use any built-in units of measurement, leaving the management of professional level. For instance, the control toolbox integrated
such units to the user. The user’s attention shifts from the problem
to the units. Although not as powerful and fast as MATLAB, in Simulink and developed in the MATLAB environment re-
MATHCAD, on the other hand, has a great potential to help mains a preferred choice in any control course in the electrical
students better understand introductory courses. There are two engineering curriculum. However, in this paper, the concern
most important features. First, the screen appearance of the is with choosing a tool for students following an applied
equations matches as closely as possible to the traditional form of curriculum rather than a theoretical one. These students are
the equations and helps the students to become familiar with the
concepts. Although a bit difficult to type, the equations written not likely to take an in-depth control course that would entail
in their natural form help avoid errors. A second feature, the use sophisticated simulations requiring a professional tool, such
of built-in measurement units, is particularly helpful because the as MATLAB. Even for electrical engineering students who do
students can concentrate on the meaning of what they learn and not continue their studies to graduate school, the high-perfor-
know the transformation will be done properly. A technique for mance simulations available in MATLAB will remain out of
representing magnetization curves in MATHCAD (and the corre-
sponding calculations) is also presented. The technique allows for reach. However, these students would undoubtedly face needs
a computer simulation of “graphical calculations” traditionally not met by MATLAB. One need is for an easy-to-use tool
used in electrical machine design. The class-related experience for performing basic calculations in a natural way. From this
has shown that even the simple examples presented in this paper perspective, MATLAB is a programming language requiring
could prove to be difficult for students, especially when choosing a special training. Even if mastered, any simple problem to be
programming language to help with the calculations.
solved requires “translation” into MATLAB. Even simple
Index Terms—Circuit analysis, educational technology, elec- mathematical formulas (abundant in a power engineering class)
trical engineering education, magnetic circuits, simulation will therefore be “encrypted” in MATLAB and will require a
software, software tools.
continuous effort of understanding and deciphering. In addi-
tion, the numerical results of the calculations will also need to
I. INTRODUCTION be interpreted and assessed with proper units of measurement.
For example, if the student is calculating the current in a simple
T HE POWER engineering introductory courses in the elec-
trical engineering curriculum have remained traditional in
many ways during the years. Usually, the first course in power
circuit, the numerical result could be in ampere (A), mil-
liampere (mA), or any other subdivision of the basic unit. This
engineering is dedicated to an introduction in electrical ma- result depends on how the formulas for calculating the result
chines and transformers. Several textbooks are available, such as were written and how the input was introduced. Although this
[1] and [2]. A typical course would start with a review of circuit problem may seem trivial for an experienced engineer, from
theory and the basic laws of electromagnetism, continue with the perspective of teaching, any instructor would recognize
principles of electromechanical energy conversion, then present its importance. Too often, students obtain “amazing” results,
transformers, direct-current generators and motors, and finally failing to identify basic errors.
synchronous motors, generators, and induction motors. The alternative is to use MATHCAD (for an introduction, see
This paper is concerned with a discussion of the software used [5] and [6]). Although not as fast as MATLAB, and less pow-
in such a course. The intent is to provide the students with a tool erful at running large simulations, it comes with certain advan-
to help them solve their homework and understand the subject tages. The most important is the interface that tries to mimic the
matter better. It is desirable that this software be reasonably fast natural way used to write mathematical formulas. Although the
and user friendly. student will have to learn to use the interface, it is much easier
than learning a programming language. The basic idea is to du-
plicate on the screen the mathematical formulas from the text-
Manuscript received May 12, 2003; revised June 2, 2004. book (paper). In general, (although not entirely true) if a formula
The author is with the Graduate Programs in Software Engineering, Uni- does not look like one in the textbook, then it was erroneously
versity of St. Thomas, St. Paul, MN 55105-1079 USA (e-mail: cdomnisoru@
stthomas.edu). typed and needs editing. In contrast, a programming language
Digital Object Identifier 10.1109/TE.2004.837043 lacks this visual feedback.
0018-9359/$20.00 © 2005 IEEE
158 IEEE TRANSACTIONS ON EDUCATION, VOL. 48, NO. 1, FEBRUARY 2005
110 V 10
11 A
B. The Solution
408.042 kW
The input data is simply introduced as
324.19 kW
220.464 kW
100
150 Thus, the total power delivered is
50
13.8 kV 136.612 kW
DOMNISORU: USING MATHCAD IN TEACHING POWER ENGINEERING 159
1) given the flux, calculate the current in the coil and 2) given
the current in the coil, find the flux.
The geometry of the magnetic core could be more com-
plicated, but for the goal here, it is better to use this simple
configuration.
Again, for numerical values, an example is used from [1].
B. The Solution
This problem is somehow more complicated because of the
nonlinear nature of the magnetization characteristic. However,
The numerical results are the same. However, the lack of sup- students will have to handle numerous nonlinear relationships in
port for units of measurement creates problems. The student has their studies. A method to handle these relationships is presented
to get involved in programming issues, such as preparing the an- next. The idea is to create a function that will return the non-
gles and the variables in appropriate units. linear value given by the characteristic. To obtain the function,
two vectors (containing the nonlinear relationship) are created
D. Observations
first, and then the function is defined using a spline interpolation.
The most common error made by students in problems of this For the soft steel casting magnetization curve in this problem,
kind is to assume the active power delivered to an impedance the magnetization curve is given by
is the product between the voltage and the current amplitudes
and the cosine of the angle between the two corresponding pha-
sors. Then, they need to distinguish whether the load is acting
as a sink, absorbing energy, or as a source, delivering energy. A
simple way of solving this problem is to carefully consider the
A
sign of the cosine in the power calculation formula. An equiv- T
alent way is to take into consideration whether the current is m
lagging or leading the corresponding voltage phasor. Unfortu-
nately, this last consideration is often forgotten. For a load, in
the sink convention, “reactive” energy is being generated when
the current is leading the load and absorbed when the current
is lagging. In calculations, a negative sign indicates the energy A graph of the magnetization curve is presented in Fig. 3.
is generated, while a positive sign (for power) indicates the en- For defining the interpolation function to find the magnetic-
ergy is being absorbed. (For a detailed discussion of sign con- field intensity in the core , as a function of the magnetic
ventions, see [4].) flux density , the MATHCAD relations are
The classroom experience has shown that when using
MATHCAD and the definition formulas for these types of and
problems, students are less likely to confuse generator branches
To test that this function performs properly, one can simply ask
with sinks, and vice versa, than when using other programs,
for the field intensity for a specific flux density
such as MATLAB.
A
T
III. SIMPLE MAGNETIC CIRCUITS m
A. The Problem The parameters for this problem are as follows:
Another type of problem, in an introductory course in power Number of turns 500
engineering, is the basic calculation of a simple magnetic cir-
Cross-sectional area m
cuit. A picture of a circuit with a uniform cross section is shown
in Fig. 2. The geometry of the circuit is known (geometrical di- Length of the average flux path 0.4 m
mensions including the air gap ). The two typical problems are Air gap length 2 mm
160 IEEE TRANSACTIONS ON EDUCATION, VOL. 48, NO. 1, FEBRUARY 2005