The devutils collection

Thermodynamics — heat and energy

Balance electrical input, heat leaving a system and stored energy without confusing watts, joules and temperature.

On this page

Prerequisites

Draw the system boundary

Thermodynamics starts by deciding what belongs to the system. Energy can cross its boundary as heat or work. With work counted positive when done on the system, the first law is change in internal energy = heat in + work in.

Consider a sealed module receiving electrical energy and losing heat to its surroundings. Assume no matter enters or leaves, no mechanical work crosses the boundary, and changes in its bulk motion are negligible. Use positive magnitudes for electrical energy entering and heat leaving:

increase in internal energy = electrical energy in - heat out

Heat leaving reduces the energy inside the boundary, which explains the minus sign.

Balance one interval

For a one-second interval, suppose an external source delivers 4 J of electrical work and the module transfers 1 J of heat outward. Its internal energy rises by 3 J.

Keep those transfers constant for three intervals:

Interval Electrical energy in (J) Heat out (J) Stored-energy increase (J) Cumulative increase (J)
1 4 1 3 3
2 4 1 3 6
3 4 1 3 9

The cumulative column starts at zero added energy, not at zero absolute internal energy. No energy has disappeared from this balance: it either left the chosen system or increased its internal energy.

Distinguish energy from temperature

Energy is measured in joules and power in watts, or joules per second. Temperature is a different quantity. For a stipulated constant heat capacity C, a uniform-temperature body with no phase change has internal-energy increase C × temperature rise. Heat capacity is measured in J/K.

Assume our module behaves as such a body with heat capacity 6 J/K over this interval. A 9 J internal-energy rise then gives:

temperature rise = 9 J / (6 J/K) = 1.5 K

The heat capacity is chosen for this exercise. Without heat capacity and a suitable model, a wattage alone cannot give a temperature rise.

Keep the direction of heat flow

Spontaneous heat transfer from a hotter body to a colder one increases their combined entropy. An isolated whole cannot reduce its total entropy; a subsystem can export entropy. Entropy is not a synonym for energy or an informal measure of messiness.

In a steady state of our simplified module, energy entering and leaving per second would balance. That balance would not make its temperature equal to the surroundings.

Try it yourself

For 2 s, a module receives constant power of 5 W and loses heat at 2 W. Its stipulated constant heat capacity is 3 J/K. Find its internal-energy increase and temperature rise. List an assumption needed for the temperature calculation.

Answers and limits

The net input is 3 W, so the increase is 6 J and the temperature rise is 2 K. We assumed a uniform temperature and constant heat capacity without a phase change. This model does not predict an actual chip's hotspot, cooling performance or maximum operating temperature.

Next: solids and energy bands.

Verification record

  • Sources assessed by Codex (assistant)
  • Example checks recorded
  • Independent human review pending

Selected claims have been assessed against the passages below. This record does not certify every sentence or guarantee correctness.

Inspect claims, evidence and limitations

Source assessment: . 3 of 3 selected claims marked supported by the assessor. This is not a coverage percentage for the article.

  1. The first law balances heat and work entering a system with its internal-energy change.

    Assessor finding: supported · model · Article passage

    The selected statement is source-supported; numerical inputs and teaching scenarios in this article are original assumptions.

  2. Energy and heat use joules, power uses watts and heat capacity uses joules per kelvin.

    Assessor finding: supported · definition · Article passage

    The selected statement is source-supported; numerical inputs and teaching scenarios in this article are original assumptions.

  3. Spontaneous heat transfer is from hotter to colder, and total entropy does not decrease for an isolated whole.

    Assessor finding: supported · model · Article passage

    The selected statement is source-supported; numerical inputs and teaching scenarios in this article are original assumptions.

Reproducible checks

  • Recompute published resistor, force, flux, probability, level, thermal and lattice examples; check the reading prerequisite order.

    Passed on 2026-10-27

    node --test --test-name-pattern='physics examples respect circuit, field, quantum, energy and lattice models and reading prerequisites' src/library/physics.test.ts

Limits and open work

  • Introductory assistant assessment of selected claims; independent human review remains pending.
  • All numerical devices, amplitudes, levels and material parameters are stipulated examples, not measured properties or implementation specifications.

Independent human review

Pending. No independent human reviewer has signed off this version.

Content fingerprint: 35c5ce9082f63756565c687a0b449a5e22ad5526085fbef0e4b4e216be83787d. An article change invalidates this assessment.

Sources

  1. Feynman Lectures, volume I, chapter 44 — sections 44–1, 44–2 and 44–6: energy and entropy
  2. NIST Guide to the SI — chapter 4, tables 3–4: electrical, energy and thermal units

Published by devutils · Updated · Original explanatory text; sources retain their own terms.