# Power and energy conversion # Scope: Constant-power energy over a stated duration. # Status: illustrative worked example; engineering review pending. # Inputs are example values. Checks are editable example requirements, not standards. power = 100 W duration = 2 h energy := power * duration [Wh] joules := energy [J] check energy budget: energy <= 250 Wh scenario alternative: power = 80 W