Objective: The rapid adoption of electric vehicles has highlighted the urgent need for efficient and reliable recharging infrastructure. Battery swapping technology offers advantages over traditional plug-in charging, including faster turnaround times, grid-friendliness, and improved space efficiency, and has garnered increasing attention. A centralized-charging battery swapping network comprising swapping stations (BSS) for battery replacement and centralized-charging stations (CCS) for dedicated battery charging can optimize grid load distribution and reduce infrastructure costs. Nonetheless, existing planning approaches focus on facility siting and construction costs, largely overlooking spatiotemporal resource constraints caused by battery distribution and its impact on network operation costs. This oversight results in suboptimal resource allocation, increased operational costs, and conflicts between operator investments and user service quality. To address these challenges, this study proposes a joint planning method for centralized-charging battery swapping networks. This approach integrates dynamic battery logistics with infrastructure siting, aiming to minimize the total cost, which comprises infrastructure, operational expenses, and user time losses. Methods: This study develops a mixed-integer optimization model to formalize the co-location and capacity planning of BSSs and CCSs. The objective function minimizes the annual comprehensive cost, which includes construction and equipment costs for CCSs and BSSs, battery procurement and logistics costs, and user-related costs such as taxi operational losses due to travel, queuing, and swapping times. Constraints include proximity-based demand allocation using Voronoi partitioning, maximum queue length limits to ensure service quality, and a CCS-BSS linkage that ensures each BSS is served by its nearest CCS. A nested simulation framework couples planning with dynamic operations to capture the operational intricacies. Battery logistics are modeled as a multi-vehicle routing problem with hard time windows, which is solved using insertion heuristics after virtual-node transformations to accommodate dynamic delivery requests. Delivery costs include distance-based fuel and lease expenses. CCS charging follows the "shortest time charge first" scheduling, with charger counts derived from daily demand and charging rates. Battery inventories are updated through the operational simulation of BSS and CCS, which calculates minimum procurement thresholds based on non-negative stock levels. The model utilizes an elite-preserving genetic algorithm to optimize siting decisions, iteratively refining planning based on simulation feedback, including delivery costs and battery inventory requirements. Results: The framework was applied to a case study in Tianjin Binhai New Area, where the optimal configuration consisted of 7 BSSs and 2 CCSs. The cost breakdown revealed that battery procurement was the dominant expense, followed by infrastructure and user time losses, while logistics costs were minimal. Model validation against static logistics baselines demonstrated a 13.60% reduction in battery procurement and a 5.98% decrease in total cost, resulting from the integration of planning and dynamic logistics. Sensitivity analysis revealed that the battery configuration at swap stations, including battery reserve quantity and delivery request thresholds, had a significant impact on the operation of the entire battery swapping network. Additionally, the maximum queue length constraint balanced service level and station construction cost; a smaller queue length required more stations and higher costs, while the total battery purchase quantity varied with queue length to maintain service levels. Conclusions: This paper integrates the operation and planning of battery swapping and CCS into a unified model that dynamically links site selection with battery delivery costs and user time loss. This approach addresses the shortcomings of traditional planning, which often overlooks delivery costs and the quantity of batteries purchased. Experimental results show a reduction in battery purchases and compressed cost compared to plans that ignore dynamic battery delivery, demonstrating its effectiveness in resource optimization and cost control. Additionally, this study's detailed co-simulation model, which captures battery charging, swapping, and delivery processes, enables multidimensional coordination of charging scheduling, battery reserves, and delivery route planning. Moreover, sensitivity analysis confirms that considering dynamic delivery guides reasonable site selection and resource allocation, while further controlling the scale of battery purchases and reducing comprehensive costs.