This study presents an optimization approach for sizing photovoltaic (PV) and battery energy storage systems (BESSs) within a DC microgrid, aiming to enhance cost-effectiveness, energy reliability, and environmental sustainability. Industrial micro-grid refers to the micro-grid in which the main source of power supply in an industrial factory or park is a low-carbon power source. It is composed of distributed power sources, industrial power loads, necessary power distribution and transformation facilities, and energy storage. NLR has been involved in the modeling, development, testing, and deployment of microgrids since 2001. A microgrid is a group of interconnected loads and distributed energy resources that acts as a single controllable entity with respect to the grid. PV generation is modeled based on environmental parameters such as. The goal of the DOE Energy Storage Program is to develop advanced energy storage technologies, systems and power conversion systems in collaboration with industry, academia, and government institutions that will increase the reliability, performance, and sustainability of electricity generation and. The UC San Diego Microgrid is one of the most advanced, resilient, and sustainable energy systems in the world. Designed as a real-world testbed for cutting-edge energy technologies, it supplies 92% of the campus's annual electricity needs and integrates a diverse mix of renewable energy, energy. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE.