Electric vehicles (EVs) have been gaining popularity around the world as a sustainable transportation option. In Sweden, a country known for its commitment to environmentally friendly practices, there is a growing interest in vehicle-to-grid (V2G) technology. This innovative concept allows EVs to not only consume electricity but also to feed it back into the grid, creating a two-way flow of energy.