Cost-benefit analysis for multiple agents considering an electric vehicle charging/discharging strategy and grid integration