Optimization Formulations for Storage Devices with Disjoint Operating Modes - BizPub.ai