Simulation of Value Stream Mapping and Discrete Optimization of Energy Consumption in Modular Construction