Vitalsource Technologies, Inc. Structure Preserving Energy Functions In Power Systems