Describir: Optimal Sizing of Battery Energy Storage Systems Considering Cooperative Operation with Microgrid Components