A framework for flexible peak storm surge prediction