Skip to content

Latest commit

 

History

135 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team Header

Table of Contents

Team

Overview

About MobilityCorp

MobilityCorp is a one stop last mile eco friendly transport rental company operating in Europe. They rent out E-Bikes, E-Scooters, Electric Vans and Cars. Currently operating mostly in cities, they are aiming to expand coverage into suburban areas. While currently successful, MobilityCorp has a big challenge ahead if they want to scale and expand their business. They are unsure of how to manage a potential surge in vehicle and battery inventory, how to manage effectively charge their batteries and make sure the vehicles do not run out of charge during rental and how to minimize loss of vehicles as they look to expand their operations across European cities. They are looking to re-architect their mobile application and backend software to meet these challenges.

Challenges

Challenge Details Desired Outcome
Anticipate Need Right vehicles are not in the right place
  • Right vehicle type at right location/time
  • Proactive fleet repositioning
    Minimize battery outage Electric vehicles running out of charge
    • Predit / suggest battery inventory at service centers/and locations
    • Optimize service technician problem-solving capabilities
      Increase User Base Customers to use our service more frequently and for daily commutes
      • Increase user base by 15% YoY
      • Market right product to right customer segments
      • Offer competitive pricing to attract new customers and retain existing customers, thereby increasing customer lifetime value (CLV)
      • Offer extended services including search, booking, calendar event management, etc.

        High Level Functional Requirements

        Booking

        • Ability to browse and reserve vehicles
          • Choose pick up and drop off locations
          • Ensure that users drop vehicles off at the selected drop off location
        • Cars and Vans can be booked 7 days in advance for specific duration
        • Bikes and scooters can be booked 30 mins in advance and no specific duration
        • Max duration of booking bikes and scooters booking is 12 hours
        • Cars and vans should not be made available for booking if they do not have enough charge
        • Ability to pre-authorize credit cards prior to booking

        Payments

        • Payment is per minute of rental
        • Customers should see the rate of vehicles at booking time
        • Vehicles being returned at the incorrect location incur fines

        Tracking

        • Ability to track where our vehicles are (GPS tracking)
        • Ability to remotely lock and unlock vehicles
        • Ability for customer to unlock the booked vehicle via NFC device
        • Enforce speed limits

        Returning

        • Ability to capture photos as proof of return
        • Customers should be shown the return location
        • Ability to 'force/prompt' customers to plug cars and vans in upon return
        • Ability to collect customer feedback on the rental

        Maintenance

        • Ability for staff to know which parking bays to visit to swap battery packs for bikes and scooters
        • Ability for staff to be notified to move vehicles to popular spots (anticipate need)
        • Ability for customers to swap battery during their rental period for extra charge

        Non-Functional Requirements

        • The system must receive data from vehicles at least every 30 seconds; if a different interval is proposed, the team must explain why it's more appropriate.
        • The platform must support multiple languages for user interfaces.
        • The platform must support multiple currencies for international payments.
        • Each country will start with approximately 5,000 bikes, 5,000 scooters, 200 cars, and 200 vans, with most vehicles concentrated around city centers.
        • Service will operate through out EU, we need to plan for scaling up

        Solution

        • Low Latency: The system must provide an estimated hourly rate for a rental request within 30 seconds of the user's query.
        • Strong Consistency (or Reservation Lock): A single rental request must be matched with exactly one available vehicle. This match must be exclusively held (or locked) for that user for 1 minute, during which time the user can accept or decline the offer.
        • Scalability: The system must be capable of processing 100 transactions per second (TPS), specifically for location updates. It must also be designed to support a 15% growth in this capacity annually for the next five years.

        Architecture Diagram

        Solutions to Challenges

        Desired Outcome Solution
        Right vehicles at the right location Vehicle Inventory Prediction
        Proactve Fleet Repositioning Fleet Repositioning Prediction
        Predict and suggest battery swap Battery Swap Prediction
        Optimize service technician problem-solving capabilities Agentic Chatbots for Internal Work
        Market Right Products to Right Customers Customer Segmentation
        Offer Competitive Pricing Pricing Model
        Offer extended services including search, booking, calendar event management, etc. Agentic Chatbots for Customer Service
        Simplify how riders discover, plan, and book their journeys Customer Engagement

        AI Components

        Pricing Model

        When MobilityCorp starts, we can build a simple interface to guide the rental flow so that we can build up a customer base and collect data. The data collected in the first three months will be used to train an ML model for price prediction. The pricing model will dynamically calculate prices based on a base rate and any adjustments based on user profile, time of day, day of the week, time of year, etc.

        Inventory Management Prediction

        Inventory Management

        Use of AI in the solution

        The inventory management prediction model will be built as an aid to the back office to solve the "Anticipate Need" challenge. This model will help predict what vehicle types, their quantities, locations at which they need to be stationed along with the date and time.

        The model will be trained on booking information (vehicle types, locations, date and time of pick up) and related dimensions like weather and events at the time of pick up and during the duration of the rental. When a return is initiated, this information is pulled and used to train the model.

        To predict future demand, the prediction service will query future booking information, events and weather information and use the model to predict which vehicles need to be located where and when.

        Battery Swap Prediction Model

        Battery Swap

        Use of AI in the solution

        The battery swap model is created to predict which vehicle's batteries need to be swapped out. The output of this model will help service technicians understand what batteries need to be carried for which vehicles and the locations they need to be at. The model will help back office route battery inventory to the right location at the right time to minimize renting out vehicles with low batteries and thus reducing vehicles being abandonded due to battery outage.

        The model takes past trip information, related weather during these trips, battery nad vehicle information, future bookings and vehicle inventory prediction (how many vehicles at what locations and dates/times) and predicts which batteries need to be swapped for what vehicles.

        The model learns from "actual" swap data from technicians to improve its prediction

        Fleet Management Model

        Fleet Management

        Use of AI in the solution

        Fleet is the vehicles that MobilityCorp uses to move their rental vehicles and batteries around to pick up locations. The Fleet Management Model will be trained on fleet's predicted and actual routes to predict fleet routes and which service centers to move the fleet to based on inventory forecast and past fleet routes taken. The model will also consider abandoned vehicles data to indicate to the driver to pick up any vehicles that have been left at non drop off spots due to malfunction, battery outage etc.

        Customer Segmentation

        Understanding our customers is the key to increasing our user base. This information drives our targeted marketing, allows us to provide personalized customer services, and helps us increase market share. When we first start, we can use customer demographic information to anticipate their needs.

        Here are two target customer groups we can start with:

        Customer Segment Population(EU) Age Perk Usage Times Preferred Vehicle Type
        Budget Backpackers 8 - 12 mill 18 - 28 May-September, Holidays Bikes, Scooters, Cars
        Urban Millennials 20-30 mill 25-40 Weekends, IKEA runs Scooters, Cars, Vans

        As we collect more customer data, we can use unsupervised learning algorithms such as k-means clustering to identify underlying characteristics that provide better signals. There is the risk that we may introduce discrimination in our approach. It is critical that we make sure our model can be interpreted to mitigate such risk.

        Agentic Chatbots for Customer Service and Internal Work

        As we continue to accumulate data from our business, we can implement chatbots for internal and external users. The internal chatbot helps our employees with onboarding and learning our business. The external chatbot can be part of customer service to help answer users' questions and guide them through the rental journey. These chatbots will be agents that have access to both the vector database of our context and other public APIs to enhance the user journey. For instance, once a user asks a question, the agent can search Google to get information, call our pricing API to get a price estimation for a rental, and call the Google Calendar API to add the booking as an event in the user's calendar.

        Agentic Chatbots Components

        Context

        Pre-trained LLMs are trained on general text, primarily publicly available data. They don’t have knowledge of your private context that is not publicly available. You have the option to retrain them with your private context, which can be time-consuming and expensive. They also become outdated quickly once the next versions of the LLMs are released. RAG is a great way to incorporate your context into the context window of LLMs by indexing your content into a vector database. You can also build an AI agent to call your APIs to get access to your information.

        Customer Engagement

        MobilityCorp’s Customer Engagement Module is designed to simplify how riders discover, plan, and book their journeys across multiple transportation modes—while staying connected through personalized, AI-driven experiences. The engagement ecosystem is powered by three integrated systems: Trip Planning & Dispatch, Identity & Subscription Management, and Marketing & Retention Platform.

        1. Channels of Engagement

        Customer engagement begins through two primary offerings:

        Custom-Built MobilityCorp App - a standalone, feature-rich mobile application that enables users to explore available vehicles, plan trips, and manage subscriptions end-to-end.

        Embedded Rider Options in Third-Party Apps — a lightweight integration model where MobilityCorp services are embedded within local transportation apps (e.g., a city train or public transit app). This allows customers to discover connected mobility options—such as last-mile bike or car rentals—directly from the apps they already use.

        Together, these channels ensure customers can begin their engagement journey seamlessly, regardless of where they start.

        1. Core Systems and Intelligent Services

        The customer experience within these channels is driven by three interconnected systems embedded in the application layer:

        a. Trip Planning and Dispatch The trip-planning engine integrates real-time maps, vehicle availability, and multimodal routing to create end-to-end journeys that combine public transport and MobilityCorp’s rental services. This system is powered by an AI-driven inventory prediction model, which continuously forecasts vehicle availability by analyzing demand signals—such as booking patterns, return times, and historical usage—across multiple data sources. This ensures customers always see accurate, real-time options and can confidently plan routes that include nearby bikes or cars.

        b. Social Login and Subscription Management Customers authenticate via federated identity providers such as Google, Meta, or Apple, ensuring frictionless sign-in and secure transactions. Once authenticated, users can subscribe to personalized mobility plans directly within the app, enabling flexible payment, auto-renewal, and reward-based loyalty features. Booking and return data are continuously fed back into the inventory prediction model, allowing for near real-time demand calibration and smarter ride availability across regions.

        c. Marketing and Retention Platform The marketing platform, powered by machine learning, identifies and re-engages lapsed or at-risk customers through the Customer Data Platform (CDP). Advanced segmentation models analyze behavioral patterns and churn indicators to deliver personalized offers and notifications, all aligned with user consent and privacy preferences. This continuous feedback loop between AI insights and customer engagement ensures sustained usage and supports MobilityCorp’s goal of expanding its customer footprint.

        1. AI-Driven Engagement Loop

        At the heart of this architecture lies an intelligent, data-driven feedback cycle:

        Inventory Prediction Model ensures vehicle availability and optimized routing.

        Subscription Data & Ride History enrich the demand model for precision forecasting.

        Marketing ML Segmentation keeps customers engaged through relevant offers and loyalty incentives.

        Together, these systems create a unified, AI-powered ecosystem—turning every customer interaction into a learning opportunity that refines MobilityCorp’s engagement and growth strategy.

        Customer Engagement and growth model

        About

        No description, website, or topics provided.

        Resources

        Stars

        1 star

        Watchers

        0 watching

        Forks

        Releases

        Packages

        Contributors