Reinforcement learning-based exergetic analysis and assessment of a novel cogeneration system for smart urban energy applications | Synapse