On the theory of type I X-ray bursts - The energetics of bursts and the nuclear fuel reservoir in the envelope