Manage your Energy solutions

Manage your Energy was solved using MATLAB by 7 contestants. Solution sizes: average 949 bytes (shortest: 496; longest: 1585).