Text this: Distributed Dual Horizon Energy Management Framework for Battery Sizing Forecasting and Market Aware Scheduling