Resource Availability Effects on Cost Optimization for Battery Storage Systems