Modeling and Optimization of AI-Based Centralized Energy Management for a Community PV-Battery System Using PSO | Synapse