
    Given the current number of waiting passengers at a bus stop, determine the next perfect square capacity needed to efficiently allocate buses, where the capacity must be greater than the current passenger count. This optimization ensures buses are dispatched with ideal passenger capacities that align with the transit system's square-based planning model.
    

    
import math

def next_Perfect_Square(N):
    """
    Given the current number of waiting passengers at a bus stop, determine the next perfect square capacity needed to efficiently allocate buses, where the capacity must be greater than the current passenger count. This optimization ensures buses are dispatched with ideal passenger capacities that align with the transit system's square-based planning model.
    

    """
import math

def next_Perfect_Square(N):
    """
    Given the current number of waiting passengers at a bus stop, determine the next perfect square capacity needed to efficiently allocate buses, where the capacity must be greater than the current passenger count. This optimization ensures buses are dispatched with ideal passenger capacities that align with the transit system's square-based planning model.
    

    """
    nextN = math.floor(math.sqrt(N)) + 1
    return nextN * nextN