Abstract: Effective integration of battery energy storage systems (BESS) in active distribution network's (ADN) communities entails optimal charge/discharge rate scheduling in the day ahead market.