In the context of climate change and energy crisis around the world, an increasing amount of attention has been paid to developing clean energy and improving energy efficiency. The penetration of distributed generation (DG) is increasing rapidly on the user’s side of an increasingly intelligent power system. This paper proposes an optimization method for industrial task-continuous load management in which distributed generation (including photovoltaic systems and wind generation) and energy storage devices are both considered. To begin with, a model of distributed generation and an energy storage device are built. Then, subject to various constraints, an operation optimization problem is formulated to maximize user profit, renewable energy efficiency, and the local consumption of distributed generation. Finally, the effectiveness of the method is verified by comparing user profit under different power modes.