International audienceIn this paper, we investigate the use of the scalability property of RMS to reduce the energy cost during the production. The corresponding optimization problem is a new Bilevel Optimization problem which combines a line balancing problem with a planning problem. A heuristic based on a simulated annealing algorithm and a linear program is proposed. An illustrative example is presented to highlight the potential of this new approach compared to the cost obtained with a classic production line