Assignment 1 EES Tutorial - HVAC Systems | ME 414, Assignments of Mechanical Engineering

Material Type: Assignment; Class: HVAC Systems; Subject: Mechanical Engineering; University: University of Idaho; Term: Unknown 2008;

Typology: Assignments

Pre 2010

Uploaded on 08/18/2009

koofers-user-cr1
koofers-user-cr1 🇺🇸

9 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
EES Tutorial
ME 414/514 HVAC Systems
1. Download your copy of EES from the class Internet site into a temporary folder on your PC.
Download all three files (ees.dft, EES_manual.pdf, and setup_ees .exe).
a) Double click on setup_ees.exe and follow through on the setup process.
b) The setup wizard guides you. It will ask you where you want to put the files: give it
a path and name, for example, C:\EES-2008
2. To run EES: run the program-i.e. run the file ees.exe
3. You will see some startup stuff, and it will leave you in the middle of an equations window.
4. 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
and check your answers.
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.
pf3

Partial preview of the text

Download Assignment 1 EES Tutorial - HVAC Systems | ME 414 and more Assignments Mechanical Engineering in PDF only on Docsity!

EES Tutorial

ME 414/514 HVAC Systems

  1. Download your copy of EES from the class Internet site into a temporary folder on your PC. Download all three files (ees.dft, EES_manual.pdf, and setup_ees .exe). a) Double click on setup_ees.exe and follow through on the setup process. b) The setup wizard guides you. It will ask you where you want to put the files: give it a path and name, for example, C:\EES-
  2. To run EES: run the program-i.e. run the file ees.exe
  3. You will see some startup stuff, and it will leave you in the middle of an equations window.
  4. 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 + 2x = 5 x^2 + 5y = 29 iii) click on C alculate: 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 and check your answers.

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.

c) There are a lot of choices under the Options heading. (1) Options: FunctionIinfo will give you a list of all the functions (such as ARCCOS, LN, etc.) what they are and how to call them. It also lists all the thermophysical properties (such as h, Cp, etc.) that are available, and tells you how to call them!!! (2) You can also deal with units, or change the limits on the numerical convergence criteria. (i.e., you can make it either come closer to the actual answer, or make it converge more quickly or more easily. Go to Options: Stop Criteria and make the “ Change in Variables ” less than 10 -10^. Run the program again and see if the answers are the same as the first time. (3) You can customize the appearance, etc. by using Options: Preferences

  1. Now let’s look at doing a min/max problem: erase the equations that you were typing, and type in the following: You are to find how often you want to buy a new car. You want to minimize the costs over 20 years. (Note (20/n) is the number of cars you will own in the 20- year period.) 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 - Salvage Initial = 20000 Maint = (20/n) * 0.5 (n-1)500n Salvage = (Initial/(n+1))*(20/n) a) Click on Calculate: Solve Since you have 5 variables (Cost, n, Initial, Maint, and Salvage) and only 4 equations, it won’t be able to solve it and will tell you so.

So what we will do instead is let n vary to get our minimum cost over the 20 years. b) Click on Calculate: Min/max a box will pop up asking whether you want to minimize or maximize (tell it min), what you want to minimize, (tell it Cost) and what you what to be your independent variable (tell it n). (You can play with the Search method if you want, but I usually don’t bother unless I have trouble getting a solution.)