🐍 Interactive Jupyter Notebook: lecture_03_problem_solving.ipynb
📥 Download Page as .ipynb (Python Notebook) 📑 Download Blank Slides (PDF)

3. Engineering Problem Solving Methodology and Energy Flow Diagrams

Term: Spring 2026
Instructor: Mukhamad Suhermanto
Primary References:


Learning Objectives:

  1. Apply the structured engineering problem-solving methodology (Known, Find, Schematic, Assumptions, Analysis, Discussion).
  2. Adopt the symbolic-first analytical approach for error prevention, dimensional checking, and physical insight.
  3. Ensure dimensional homogeneity and perform accurate conversions between SI and US Customary units including gc.
  4. Construct precise Energy Flow Diagrams (EFDs) with defined control boundaries and energy/mass transfer interactions.

3.1 The Engineering Approach to Problem Solving

Professional engineering practice requires solving complex thermal-fluid problems in an organized, transparent, and reproducible manner (Moran et al. 2014), (Wassgren 2025).

3.1.1 The Standard 7-Step Solution Architecture

Every homework, exam, and design problem should follow this rigorous structure:

  1. Known: State concisely what physical system is given and summarize numerical values with units.
  2. Find: Explicitly list the target quantities to be determined.
  3. Schematic & Given Data: Sketch the physical apparatus, identify state points, and draw the system boundary.
  4. Assumptions / Idealizations: List all simplifying engineering approximations (e.g., steady state, ideal gas behavior, negligible kinetic/potential energy changes, well-insulated adiabatic boundary).
  5. Physical Laws / Governing Equations: State the fundamental governing conservation principles in general form before substituting specific terms.
  6. Analysis / Symbolic Derivation: Rearrange equations algebraically to obtain closed-form symbolic expressions for unknown variables before substituting numerical values.
  7. Discussion / Sanity Check: Check dimensional consistency, evaluate the order of magnitude of the result, and discuss physical implications.

3.2 Symbolic vs. Numeric Analysis & Dimensional Homogeneity

A hallmark of expert engineering analysis is symbolic derivation prior to numerical evaluation (Wassgren 2025).

Key Idea: Symbolic First, Numbers Last

  1. Dimensional Verification: Every term in an algebraic relation must possess identical physical dimensions (dimensional homogeneity). An algebraic error is immediately detected if dimensions do not match.
  2. Physical Insight & Sensitivity: Symbolic expressions reveal parameter dependencies (e.g., how doubling pressure or quadrupling mass impacts power output).
  3. Error Mitigation & Reusability: Carrying numbers through multi-step arithmetic compounds rounding errors; a symbolic formula is easily implemented in Python without intermediate truncation.

3.2.1 Dimensions and Units

3.2.2 Newton’s Second Law and the Gravitational Proportionality Constant (\(g_c\))

In Newton’s Second Law, \(\vec{F} = m \vec{a}\). In the US Customary system, mass is expressed in pounds-mass (\(\text{lbm}\)) and force in pounds-force (\(\text{lbf}\)). One \(\text{lbf}\) accelerates a mass of \(1\text{ lbm}\) at \(32.174\text{ ft/s}^2\):

\[ F = \frac{m a}{g_c} \tag{3.1} \]

where the gravitational proportionality constant is:

\[ g_c = 32.174 \, \frac{\text{lbm}\cdot\text{ft}}{\text{lbf}\cdot\text{s}^2} \tag{3.2} \]

Weight \(W\) on the surface of a celestial body with local gravitational acceleration \(g\) is:

\[ W = \frac{m g}{g_c} \tag{3.3} \]

In SI units, \(1\text{ N} = 1\text{ kg}\cdot\text{m/s}^2\), meaning \(g_c = 1\text{ kg}\cdot\text{m}/(\text{N}\cdot\text{s}^2) \equiv 1\) (dimensionless unity).

Caution: Unit Conversion Pitfalls and \(g_c\)

In US Customary calculations, never confuse \(\text{lbm}\) and \(\text{lbf}\). When calculating kinetic energy (\(\frac{1}{2} m \mathcal{V}^2\)) or potential energy (\(m g z\)), you must divide by \(g_c\) to obtain energy in \(\text{ft}\cdot\text{lbf}\), then convert to \(\text{Btu}\) (\(1\text{ Btu} = 778.17\text{ ft}\cdot\text{lbf}\)).

3.3 Energy Flow Diagrams (EFDs)

An Energy Flow Diagram (EFD) is a schematic representation of a thermodynamic system illustrating all mass flows and energy transfers across the system boundary (Wassgren 2025).

3.3.1 Rules for Constructing EFDs

  1. System Boundary: Draw the system boundary as a distinct dashed line enclosing the matter or region of interest.
  2. Mass Flow Streams: Draw solid lines with directional arrows for mass inlet (\(\dot{m}_i\)) and exit (\(\dot{m}_e\)) ports.
  3. Heat Transfer (\(\dot{Q}\)): Represent heat transfer with an arrow crossing the boundary. The standard convention is an arrow pointing into the system for heat addition (\(\dot{Q}_{\text{in}} > 0\)).
  4. Work Transfer (\(\dot{W}\)): Represent work interaction with an arrow pointing out of the system for work performed by the system (\(\dot{W}_{\text{out}} > 0\)).
  5. Positive Magnitudes: When assigning values to arrows on an EFD, label the arrow with a positive magnitude and let the arrow direction define the sign in the governing equations.

Example 3.1: Complete Structured Problem with EFD

A stationary closed cylinder fitted with a frictionless piston contains \(m = 2.5\text{ kg}\) of nitrogen gas. During an expansion process, the gas does \(W_{\text{by}} = 45.0\text{ kJ}\) of boundary work while losing \(Q_{\text{out}} = 15.0\text{ kJ}\) of heat to the surroundings. Determine the change in internal energy \(\Delta U\).

Solution / Analysis

  • Known: Closed system, \(m = 2.5\text{ kg}\), \(W_{\text{by}} = 45.0\text{ kJ}\), \(Q_{\text{out}} = 15.0\text{ kJ}\) (\(Q_{\text{into}} = -15.0\text{ kJ}\)).

  • Find: Change in total internal energy \(\Delta U\) (\(\text{kJ}\)).

  • Schematic & Assumptions: System = nitrogen gas inside cylinder; closed system (\(\Delta m = 0\)); stationary system (\(\Delta KE = \Delta PE = 0\)).

  • Governing Equation: First Law for closed system: \(\Delta E = Q_{\text{into}} - W_{\text{by}}\).

  • Symbolic Solution: Since \(\Delta E = \Delta U + \Delta KE + \Delta PE = \Delta U\), we have: \(\Delta U = Q_{\text{into}} - W_{\text{by}} = -Q_{\text{out}} - W_{\text{by}}\).

  • Numeric Calculation: \(\Delta U = -15.0\text{ kJ} - 45.0\text{ kJ} = -60.0\text{ kJ}\).

  • Discussion: Internal energy decreases by \(60.0\text{ kJ}\) because the gas simultaneously transfers heat to the surroundings and performs work on the piston.

from kilojoule.units import Quantity

# Problem 3.1: Weight calculations in US Customary and SI units
m = Quantity(250.0, 'pound') # pound mass
g_earth = Quantity(32.174, 'ft/s^2')
g_moon = Quantity(5.32, 'ft/s^2')

# In kilojoule / Pint, multiplying mass by acceleration automatically handles gc
W_earth = (m * g_earth).to('lbf')
W_moon = (m * g_moon).to('lbf')

# Convert to SI units
m_SI = m.to('kg')
W_moon_SI = W_moon.to('N')

print(f"Payload Mass: {m.magnitude:.1f} lbm = {m_SI:~.2f}")
print(f"Weight on Earth: {W_earth:~.2f}")
print(f"Weight on Moon (US Customary): {W_moon:~.2f}")
print(f"Weight on Moon (SI): {W_moon_SI:~.2f}")
Payload Mass: 250.0 lbm = 113.40 kg
Weight on Earth: 250.00 lbf
Weight on Moon (US Customary): 41.34 lbf
Weight on Moon (SI): 183.88 N
from kilojoule.units import Quantity

# Verify power conversions and dimensional consistency
# Electrical power input to a compressor
P_electric = Quantity(15.0, 'kW')
P_hp = P_electric.to('hp')
P_btu_hr = P_electric.to('Btu/hour')

# Mechanical rate of work: force x velocity
force = Quantity(2500.0, 'N')
velocity = Quantity(15.0, 'm/s')
power_mech = (force * velocity).to('kW')

print(f"Electrical Power Input:")
print(f"  SI (kW):            {P_electric:~.2f}")
print(f"  US Customary (hp):  {P_hp:~.2f}")
print(f"  Thermal (Btu/h):    {P_btu_hr:~.2f}")
print(f"Mechanical Power (F x V): {power_mech:~.2f}")
Electrical Power Input:
  SI (kW):            15.00 kW
  US Customary (hp):  20.12 hp
  Thermal (Btu/h):    51182.12 Btu / h
Mechanical Power (F x V): 37.50 kW

Engineering Practice Problems (Self-Study Exercises)

Try each problem on paper first using the principles from this chapter, then expand the step-by-step solution to check your derivation.

Practice Problem 1 — Mass vs. Weight Across Planetary Gravitational Fields (\(g_c\) Consistency)

An autonomous Mars rover heat-rejection radiator assembly has a mass of \(m = 340\text{ lbm}\). (a) Calculate its weight in \(\text{lbf}\) on Earth (\(g_{\text{Earth}} = 32.174\text{ ft/s}^2\)) and on the Martian surface (\(g_{\text{Mars}} = 12.17\text{ ft/s}^2\)) using the US customary conversion constant \(g_c = 32.174\text{ lbm}\cdot\text{ft}/(\text{lbf}\cdot\text{s}^2)\). (b) Convert the rover assembly mass to \(\text{kg}\) (\(1\text{ lbm} = 0.45359\text{ kg}\)) and verify its Martian weight in Newtons using \(g_{\text{Mars}} = 3.711\text{ m/s}^2\).

🔍 Click to View Complete Step-by-Step Solution
  1. US Customary Weight Formula: Weight is \(W = m g / g_c\) so units cancel cleanly to \(\text{lbf}\): \[W_{\text{Earth}} = \frac{(340\text{ lbm})(32.174\text{ ft/s}^2)}{32.174\text{ lbm}\cdot\text{ft}/(\text{lbf}\cdot\text{s}^2)} = 340.0\text{ lbf}\] \[W_{\text{Mars}} = \frac{(340)(12.17)}{32.174} = 128.6\text{ lbf}\]

  2. SI Conversion Check: Mass is invariant across gravity fields: \[m = (340\text{ lbm})(0.453592\text{ kg/lbm}) = 154.22\text{ kg}\] \[W_{\text{Mars,SI}} = m g_{\text{Mars}} = (154.22)(3.711) = 572.3\text{ N}\]

  3. Cross-Unit Verification: Converting \(128.6\text{ lbf} \times 4.44822\text{ N/lbf} = 572.1\text{ N}\), matching the SI direct calculation. Final Answers: \(W_{\text{Earth}} = 340.0\text{ lbf}\), \(W_{\text{Mars}} = 128.6\text{ lbf}\) (\(\mathbf{572.3\text{ N}}\)).


Practice Problem 2 — Dimensional Homogeneity Audit of an Empirical Gas Compression Formula

A turbomachinery handbook proposes an empirical polytropic power correlation for an air blower: \[\dot{W} = \frac{k}{k - 1}\, P_1 \dot{V}_1 \left[ \left(\frac{P_2}{P_1}\right)^{(k-1)/k} - 1 \right] + C\,\rho_1 \mathcal{V}_1^2 D^2\] where \(P_1, P_2\) are pressures (\(\text{Pa}\)), \(\dot{V}_1\) is volumetric flow rate (\(\text{m}^3/\text{s}\)), \(k = c_p/c_v\) is dimensionless, \(\rho_1\) is density (\(\text{kg/m}^3\)), \(\mathcal{V}_1\) is inlet velocity (\(\text{m/s}\)), and \(D\) is impeller diameter (\(\text{m}\)). Using primary dimensions \([M, L, t]\), verify whether the first term has units of power, and determine the exact SI units and primary dimensions required for the empirical constant \(C\) so the equation is dimensionally homogeneous.

🔍 Click to View Complete Step-by-Step Solution
  1. Check Dimensions of the Leading Term: Pressure has \([P] = [F/L^2] = [M L^{-1} t^{-2}]\) and volumetric flow has \([\dot{V}] = [L^3 t^{-1}]\), while \(k/(k-1)\) and the bracketed ratio are dimensionless: \[[P_1 \dot{V}_1] = (M L^{-1} t^{-2})(L^3 t^{-1}) = M L^2 t^{-3} = \text{J/s} = \text{W}\]

  2. Determine Dimensions of the Trailing Kinetic Term (without \(C\)): \[[\rho_1 \mathcal{V}_1^2 D^2] = (M L^{-3})(L t^{-1})^2 (L^2) = M L^1 t^{-2} = \text{kg}\cdot\text{m}/\text{s}^2 = \text{N} \text{ (Force!)}\]

  3. Enforce Dimensional Homogeneity for Constant \(C\): Because the LHS has dimensions of Power (\(M L^2 t^{-3} = \text{N}\cdot\text{m/s}\)) and the base trailing factor has dimensions of Force (\(\text{N}\)), \(C\) cannot be dimensionless—it must carry dimensions of velocity: \[[C] = \frac{M L^2 t^{-3}}{M L t^{-2}} = L t^{-1} \quad (\mathbf{\text{m/s}})\] Physically, \(C\) represents a characteristic leakage/tip-speed velocity scale.


Practice Problem 3 — Energy Flow Diagram (EFD) Accounting for a Microturbine Cogeneration Unit

A natural-gas microturbine cogeneration system receives fuel chemical energy at \(\dot{E}_{\text{fuel}} = 480\text{ kW}\) at steady state. It generates \(\dot{W}_{\text{elec}} = 144\text{ kW}\) of net electrical power while recovering \(\dot{Q}_{\text{CHP}} = 216\text{ kW}\) of hot water for campus building heating. The remaining thermal energy leaves unrecovered in the flue exhaust stack and casing heat loss. Construct the Energy Flow Diagram balance to compute: (a) the unrecovered exhaust/casing loss rate \(\dot{Q}_{\text{loss}}\), (b) the pure electrical conversion efficiency \(\eta_{\text{elec}}\), and (c) the overall cogeneration utilization factor \(\eta_{\text{CHP}}\).

🔍 Click to View Complete Step-by-Step Solution
  1. Steady-State EFD Conservation Balance (\(\dot{E}_{\text{in}} = \dot{E}_{\text{out}}\)): \[\dot{E}_{\text{fuel}} = \dot{W}_{\text{elec}} + \dot{Q}_{\text{CHP}} + \dot{Q}_{\text{loss}}\] \[\dot{Q}_{\text{loss}} = 480 - 144 - 216 = 120.0\text{ kW}\]

  2. Electrical Efficiency: Ratio of net shaft/electrical power to fuel input: \[\eta_{\text{elec}} = \frac{\dot{W}_{\text{elec}}}{\dot{E}_{\text{fuel}}} = \frac{144}{480} = 0.300 \; (30.0\%)\]

  3. Cogeneration Utilization Factor: Combines both useful power and recovered heating: \[\eta_{\text{CHP}} = \frac{\dot{W}_{\text{elec}} + \dot{Q}_{\text{CHP}}}{\dot{E}_{\text{fuel}}} = \frac{144 + 216}{480} = 0.750 \; (75.0\%)\] Final Answers: \(\dot{Q}_{\text{loss}} = 120.0\text{ kW}\), \(\eta_{\text{elec}} = 30.0\%\), \(\eta_{\text{CHP}} = 75.0\%\).


Practice Problem 4 — Pascal’s Law Force Amplification vs. Energy Conservation in a Hydraulic Press

An incompressible hydraulic-fluid forging press connects a small plunger (\(D_1 = 3.2\text{ cm}\)) to a large forming ram (\(D_2 = 24.0\text{ cm}\)). An actuator applies \(F_1 = 180\text{ N}\) downward on the plunger over a stroke \(s_1 = 25\text{ cm}\). Neglecting seal friction and elevation differences: (a) compute the generated hydraulic fluid gauge pressure \(\Delta P\) in \(\text{kPa}\), (b) compute the upward forging force \(F_2\) on the ram in \(\text{kN}\) and its upward displacement \(s_2\) in \(\text{mm}\), and (c) verify quantitatively that mechanical energy is conserved (\(W_{\text{in}} = W_{\text{out}}\)).

🔍 Click to View Complete Step-by-Step Solution
  1. Hydraulic Gauge Pressure: Apply \(P = F/A\) at the small plunger (\(A_1 = \pi D_1^2/4\)): \[A_1 = \frac{\pi (0.032)^2}{4} = 8.042477e-04\text{ m}^2 \implies \Delta P = \frac{180}{8.042477e-04} = 223.81\text{ kPa}\]

  2. Ram Force and Displacement (Incompressible Volume Conservation): \[F_2 = F_1 \left(\frac{D_2}{D_1}\right)^2 = 180\left(\frac{24.0}{3.2}\right)^2 = 10125.0\text{ N} = 10.125\text{ kN}\] \[A_1 s_1 = A_2 s_2 \implies s_2 = s_1 \left(\frac{D_1}{D_2}\right)^2 = 250\text{ mm} \left(\frac{3.2}{24.0}\right)^2 = 4.44\text{ mm}\]

  3. Work Check: Hydraulic force amplification trades distance for force: \[W_{\text{in}} = F_1 s_1 = (180)(0.25) = 45.00\text{ J}, \qquad W_{\text{out}} = F_2 s_2 = (10125.0)(0.004444) = 45.00\text{ J}\] Final Answers: \(\Delta P = 223.81\text{ kPa}\), \(F_2 = 10.125\text{ kN}\), \(s_2 = 4.44\text{ mm}\), \(W = 45.00\text{ J}\).

Summary & Key Takeaways


References, Suggested Reading & Video Lectures

Moran, Michael J., Howard N. Shapiro, Daisie D. Boettner, and Margaret B. Bailey. 2014. Fundamentals of Engineering Thermodynamics. 8th ed. Hoboken, NJ: John Wiley & Sons.
Waitz, Ian A., and Zoltan S. Spakovszky. 2008. 16.unified: Thermodynamics and Propulsion. Cambridge, MA: MIT OpenCourseWare, Massachusetts Institute of Technology.
Wassgren, Carl. 2021. Thermodynamics I (ME 200) Video Lecture Series. School of Mechanical Engineering, Purdue University. https://www.youtube.com/@cw2306/playlists.
———. 2025. Notes on Thermodynamics, Fluid Mechanics, and Gas Dynamics. West Lafayette, IN: School of Mechanical Engineering, Purdue University. https://engineering.purdue.edu/~wassgren/notes/NotesOnThermodynamicsFluidMechanicsAndGasDynamics_Wassgren.pdf.
Yan, Claire Yu. 2022. Introduction to Engineering Thermodynamics. BCcampus Open Education. https://open.umn.edu/opentextbooks/textbooks/introduction-to-engineering-thermodynamics.