Local Energy And Planned Ramping Product Joint Market Based On A Distributed Optimization Method 21 7