Four contract models for energy storage