Title: Optimizing Markets for Energy Stability