*4.5. Reputation Management System*

A reputation management system was added to the system to ensure the quality of service. After receiving the charging service, the EV user can leave feedback about the received service. A rating from one to five can be provided, where five (5) indicates the best service and one (1) means the service is the worst possible. The server will calculate the mean of overall ratings for each HCS, and when suggesting nearby HCSs to the EVs, HCSs with relatively higher ratings will get priority on the list. Additionally, the EV users will be able to provide a comment describing the service received. After receiving the feedback from the EV, all the fields of the transaction are completed, and the server will generate the block from the transaction.

This will help HCSs to decide on their pricing, as they have the authority to fix their service rates; an HCS with a higher rating may ask for a higher price, and a newcomer may ask for a lower price to get good review scores. In this way, the reputation system will also be useful to create competition between the service providers, i.e., HCSs.
