Mastering Ees

Once you master EES, you stop fighting convergence errors and start exploring engineering trade-offs in minutes that once took days.

Use single quotes for comments. Example: 'This is the compressor work' W_c = m_dot * (h2 - h1)

EES allows If-Then-Else and Repeat-Until loops in the — but only inside a Function or Procedure . Mastering EES

In manual calculations, finding a state (e.g., steam at a specific pressure and enthalpy) often requires tedious interpolation or iteration.

Always start with the $UnitSystem directive. Type $UnitSystem SI kPa C kJ at the top of your equations window. This makes EES default to pressures in kPa, temperatures in Celsius, and energy in kJ—the standard for thermodynamics. Once you master EES, you stop fighting convergence

Before diving into keystrokes, you must understand the philosophy. EES uses to solve simultaneous equations automatically. In Excel, you must rearrange your equations to fit a single cell or use circular references. In EES, you just type them as you see them on paper.

Warning: This is an anti-pattern in EES. Only use if the Newton solver fails completely. In manual calculations, finding a state (e

'Pump and Turbine Efficiencies eta_pump = 0.85 eta_turbine = 0.88

Even experts need a reference. Memorize these:

If a variable should never go below 0 (e.g., quality x ), use: $MinMax x min 1e-6 max 0.999 This sets bounds that protect the solver from physical nonsense like negative specific volume.