Linear programming approach for the transition from market-generated hourly energy programs to feasible power generation schedules