A Sankey diagram is a type of flow diagram where the width of the arrows is proportion to the flow quantity. Sankey diagrams are often used to represent primary energy flow in and out of a system, while illustrating losses, recovery streams, the final useful energy.