Optimal Investment Strategies for Flexible Resources, Considering Pricing and Correlated Demands | Synapse