The energy in a closed system, where there is no mass flow across the system boundary, is balanced such that:

In rate form:

The total energy of the system, is the sum of 3 components:

Often, we only consider the internal energy, , since much of the time the system is stationary, such that . In this case, we write:

The sign convention is to assume that heat, , is being transferred into the system and work is done by the system.

Note that in the full form with kinetic and potential energy, we have:

where the left side is the rate at which system energy changed, is the rate of heat addition, and is the rate of work done (power).

Steady-state

At a steady state such that , we have

One inlet, one outlet and steady

Extrinsic form

Intrinsic form