Bring Your Own Battery: An Ideal-Storage-Based Optimization Metric for Cost-Informed Generation and Storage Planning | Synapse