You are on page 1of 3

# EES Tutorial

ME 435

1. Place both the ees.dft and setup_ees.exe in the same folder.
a) Locate that folder.
b) Run setup_ees.exe. A whole bunch of files will expand out. When you run it, it will
ask you where you want to put the files: Tell it where you would like to put it.
c) Copy the ees.dft file into the folder you told it to use in part b)
d) To run EES: run the program-i.e. run the file ees.exe
2. You will see some startup stuff, and it will leave you in the middle of the hello.ees file. You
can either exit out of it or read it as you choose.
3. Let’s start by doing a couple of easy problems.
a) solving easy simultaneous algebraic equations:
i) click on file:new
ii) type in the following: y^2 + 2*x = 5
x^2 + 5*y = 29
iii) click on calculate:check/format-----the program will check your syntax and
count up your equations and unknowns.
iv) click on calculate:solve. The program will solve the problem and let you
know how long it takes, plus the residual error in your numbers. Hit continue

v) Now take a look at several features:
a) Click on options:variable info a table will pop up with your variables
listed (x and y in this case), as well as the limits on the variables that it
used when it calculated the solution.
b) On the variable info table, click on update. This will update the
guesses on x and y to the answers that were calculated when you ran
the solution. This table is where you can set to use exponential
notation (under the Display section), and also give your variables units.
Give x and y both units of kg/s, and make them fixed decimal with
three places. You can also print this table from here. Hit OK to close
the table.

You want to minimize the costs over 20 years. (1) Options:function info will give you a list of all the functions (such as ARCCOS. n.) . or change the limits on the numerical convergence criteria. etc.. It also lists all the thermophysical properties (such as h. etc. (3) You can customize the appearance. c) There are a lot of choices under the Options heading. Maint. and tells you how to call them!!! (2) You can also deal with units. what you want to minimize. b) Click on Calculate: min/max a box will pop up asking whether you want to minimize or maximize (tell it min).) that are available. but I usually don’t bother unless I have trouble getting a solution. (tell it Cost) and what you what to be your independent variable (tell it n). and Salvage) and only 4 equations. it won’t be able to solve it and will tell you so.) what they are and how to call them.e. or make it converge more quickly or more easily. Run the program again and see if the answers are the same as the first time. Cp. Go to Options:Stop Criteria and make the “Change in Variables” less than 10-10.) Assume that the equations that you can use are the following (n is the number of years you will own the car): Cost = (20/n)*Initial + Maint . (Note (20/n) is the number of cars you will own in the 20 year period. you can make it either come closer to the actual answer. (You can play with the Search method if you want. (i.5* (n-1)*500*n Salvage = (Initial/(n+1))*(20/n) a) Click on Calculate: solve Since you have 5 variables (Cost. Now let’s look at doing a min/max problem: erase the equations that you were typing.Salvage Initial = 20000 Maint = (20/n) * 0. etc. by using Options:Preferences vi) Now let’s try another set of equations: y^2 + 2*x = 5 x^3 + 5*y = 29 Check and then solve this set of equations……What happens???????? Try to figure out what happened and why! (You will likely need to look at it by hand…) 4. and type in the following: You are to find how often you want to buy a new car. Initial. So what we will do instead is let n vary to get our minimum cost over the 20 years. LN.

and you don’t want to buy one more than once a year). Click on the Bounds box.9. and your cost over the 20 years will be \$79443. Give it a guess for n of 2. c) Once you have completed the bounds description. . click on OK and it will calculate the minimum for you. and a maximum of 20 (you want to buy at least one car.The box will also require you to set the bounds of your independent variable (n in this case) before it will run a minimization. a minimum of 1. Click on OK to close this box. You should get a minimum Cost for n = 7.