Modern factories will become more and more directly connected to intermittent energy sources like solar systems or wind turbines as part of a smart grid or a self-sufficient supply. However, solar systems or wind turbines are not able to provide a continuous energy supply over a certain time period. In order to enable an effective use of these intermittent energy sources without using temporary energy storages, it is necessary to rapidly and flexibly adapt the energy demand of the factory to the constantly changing requirements of the energy supply. The adaption of the energy demand to the intermittent supply results in different energy-related objectives for the production system of the factory, such as reducing energy consumption, avoiding power peaks, or achieving a power use within the available power supply. Shop Floor Scheduling can help to pursue these objectives within the production system. For this purpose, a solution methodology based on a meta-heuristic will be described for Flexible Job Shop Scheduling taking into account different energy- as well as productivity-related objectives