Development and applications of a coarse-grained protein energetics model