Calculations with context
Steady-flow energy-balance calculator
Evaluate a one-inlet, one-outlet steady-flow energy balance from supplied heat, enthalpy, velocity and elevation; inspect shaft-work signs and units.
THERMODYNAMICS · 1.0.0
Steady-flow energy balance
Follow heat, stream energy and shaft work through one inlet and one outlet. Enthalpies are supplied by you, on the same reference basis.
Ẇout = Q̇in + ṁ [(h₁ − h₂) + (C₁² − C₂²)/2000 + g(z₁ − z₂)/1000]
Heat into the control volume is positive. Shaft work out is positive. A negative result is a work-input requirement.
Current calculation
Enable JavaScript to calculate. The lesson and worked example remain available.
Calculations and CSV generation stay in this page. No input is sent or stored.
Method and symbols
Draw a fixed control surface around the chosen device. Steady operation means no stored mass or energy changes with time. Equal inlet and outlet mass flow leaves heat, shaft work and transported stream energy in the balance.
Enthalpy h = u + pv already contains flow work. Do not add a separate inlet/outlet pv term. Use properties from one valid source and reference; this tool does not identify the fluid or calculate properties from temperature.
Write Q̇ − Ẇ = ṁ [Δh + Δ(C²/2)/1000 + gΔz/1000], where Δ means outlet minus inlet. Rearranging gives the displayed shaft-power equation. The result table uses inlet-minus-outlet contributions to shaft power.
Velocity-squared and gz have units J/kg. Divide by 1000 to combine with kJ/kg. Then kg/s × kJ/kg = kJ/s = kW. The standard-gravity value used is g = 9.80665 m/s².
Changing both enthalpies by the same reference offset leaves the result unchanged. A common shift of both elevations also cancels. A first-law balance is necessary; it does not establish second-law feasibility.
| Quantity | Value | Unit |
|---|---|---|
| ṁ | Mass flow rate | kg/s |
| h₁, h₂ | Specific enthalpy at inlet/outlet | kJ/kg |
| C₁, C₂ | Stream speed magnitudes | m/s |
| z₁, z₂ | Elevations from one datum | m |
| Q̇in | Heat-transfer rate into control volume | kW |
| Ẇout | Shaft-work rate out of control volume | kW |
A maritime teaching example
Synthetic shipboard auxiliary-expander exercise. These prescribed enthalpies are teaching inputs, not a steam table or measured machinery record. Use ṁ = 2 kg/s, Q̇ = −12 kW, h₁ = 600, h₂ = 450 kJ/kg, C₁ = 30, C₂ = 80 m/s, z₁ = 4 and z₂ = 8 m.
- Enthalpy: 2 × (600 − 450) = +300 kW.
- Kinetic: 2 × (30² − 80²)/2000 = −5.5 kW.
- Potential: 2 × 9.80665 × (4 − 8)/1000 = −0.0784532 kW.
- Ẇout = −12 + 300 − 5.5 − 0.0784532 = 282.4215468 kW.
- q = −12/2 = −6 kJ/kg; w = 282.4215468/2 = 141.2107734 kJ/kg.
| Quantity | Value | Unit |
|---|---|---|
| Heat into control volume | -12 | kW |
| Enthalpy contribution | 300 | kW |
| Kinetic contribution | -5.5 | kW |
| Potential contribution | -0.0784532 | kW |
| Net shaft power out | 282.4215468 | kW |
Assumptions and limits
- One inlet and one outlet, with equal mass flow and no accumulation; not a filling vessel, start-up or multi-stream heat exchanger.
- Enthalpies must share a reference and compatible fluid/composition basis. Negative enthalpy values are not automatically invalid; the zero of enthalpy is reference-dependent.
- The shaft term represents all work other than flow work. Any other work transfer must be explicitly included in that interpretation.
- Zero mass flow is an algebraic limiting case only. No q or w is reported at zero flow. No inverse flow sizing is offered because zero or tiny energy differences can make it indeterminate or unstable.
- No efficiencies, turbine performance map, pipe-loss model, property database or equipment approval are inferred. Large velocities require a separately justified flow/property model.
These are numerical scope limits, not permissible equipment operating limits or proof that an ideal-gas approximation is suitable.
Check your understanding
If both enthalpies rise by 500 kJ/kg, does shaft power change?
No. Only h₁ − h₂ enters this balance.
Why does a higher outlet speed reduce shaft output with the other inputs fixed?
More energy leaves as kinetic energy, leaving less for shaft work.
Does Ẇout < 0 make the calculation invalid?
No. It indicates required work input under this sign convention.
Primary references
Curriculum link: bounded teaching applications of first-law and energy-balance topics in İTÜ GMI 213 Thermodynamics. Official course catalogue
The calculation interface could not load. The example and explanation below remain readable; reload the page to recalculate.
Related context
The method explanation and worked example are on this page. The articles below provide additional context.
All calculators