Theory and Computation for Efficient Utilization of Energy and Resources