<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3-mathml3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="1.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Mar. Sci.</journal-id>
<journal-title-group>
<journal-title>Frontiers in Marine Science</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Mar. Sci.</abbrev-journal-title>
</journal-title-group>
<issn pub-type="epub">2296-7745</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fmars.2025.1754484</article-id>
<article-version article-version-type="Version of Record" vocab="NISO-RP-8-2008"/>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Distributionally robust battery investment and replacement for AGV battery swapping stations with demand uncertainty in automated container terminals</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Li</surname><given-names>Xingchun</given-names></name>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="conceptualization" vocab-term-identifier="https://credit.niso.org/contributor-roles/conceptualization/">Conceptualization</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Data curation" vocab-term-identifier="https://credit.niso.org/contributor-roles/data-curation/">Data curation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Funding acquisition" vocab-term-identifier="https://credit.niso.org/contributor-roles/funding-acquisition/">Funding acquisition</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Li</surname><given-names>Mingze</given-names></name>
<xref ref-type="corresp" rid="c001"><sup>*</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/3293782/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Formal analysis" vocab-term-identifier="https://credit.niso.org/contributor-roles/formal-analysis/">Formal analysis</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="methodology" vocab-term-identifier="https://credit.niso.org/contributor-roles/methodology/">Methodology</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; original draft" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-original-draft/">Writing &#x2013; original draft</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Chen</surname><given-names>Zhicheng</given-names></name>
<uri xlink:href="https://loop.frontiersin.org/people/3307688/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="investigation" vocab-term-identifier="https://credit.niso.org/contributor-roles/investigation/">Investigation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="validation" vocab-term-identifier="https://credit.niso.org/contributor-roles/validation/">Validation</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
<contrib contrib-type="author">
<name><surname>Zeng</surname><given-names>Qingcheng</given-names></name>
<uri xlink:href="https://loop.frontiersin.org/people/2099438/overview"/>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Project-administration" vocab-term-identifier="https://credit.niso.org/contributor-roles/project-administration/">Project administration</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="supervision" vocab-term-identifier="https://credit.niso.org/contributor-roles/supervision/">Supervision</role>
<role vocab="credit" vocab-identifier="https://credit.niso.org/" vocab-term="Writing &#x2013; review &amp; editing" vocab-term-identifier="https://credit.niso.org/contributor-roles/writing-review-editing/">Writing &#x2013; review &amp; editing</role>
</contrib>
</contrib-group>
<aff id="aff1"><institution>School of Maritime Economics and Management, Dalian Maritime University</institution>, <city>Dalian</city>,&#xa0;<country country="cn">China</country></aff>
<author-notes>
<corresp id="c001"><label>*</label>Correspondence: Mingze Li, <email xlink:href="mailto:limz@dlmu.edu.cn">limz@dlmu.edu.cn</email></corresp>
</author-notes>
<pub-date publication-format="electronic" date-type="pub" iso-8601-date="2026-01-21">
<day>21</day>
<month>01</month>
<year>2026</year>
</pub-date>
<pub-date publication-format="electronic" date-type="collection">
<year>2025</year>
</pub-date>
<volume>12</volume>
<elocation-id>1754484</elocation-id>
<history>
<date date-type="received">
<day>26</day>
<month>11</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>23</day>
<month>12</month>
<year>2025</year>
</date>
<date date-type="rev-recd">
<day>20</day>
<month>12</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2026 Li, Li, Chen and Zeng.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>Li, Li, Chen and Zeng</copyright-holder>
<license>
<ali:license_ref start_date="2026-01-21">https://creativecommons.org/licenses/by/4.0/</ali:license_ref>
<license-p>This is an open-access article distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License (CC BY)</ext-link>. The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</license-p>
</license>
</permissions>
<abstract>
<p>As the maritime industry accelerates its transition toward decarbonization, electric automated guided vehicles utilizing battery swapping stations (BSSs) have emerged as a critical solution for green automated container terminals. However, the adoption of this low-carbon technology faces dual challenges: high capital investment and significant demand uncertainty. Traditional replacement strategies, often relying on fixed cycles or empirical judgment, fail to adequately account for battery performance degradation and demand fluctuations, leading to resource mismatches and hindering the economic sustainability of electrification. To address these issues, this paper proposes a multi-period decision-making model for optimizing battery investment and replacement strategies under uncertainty. The model manages batteries in age-based groups and optimizes procurement timing and usage allocation to minimize the total operational cost in net present value, ensuring a cost-effective transition to green logistics. To handle demand uncertainty without relying on precise distributional information, we establish distributionally robust chance constraints based on the Wasserstein distance. Furthermore, we propose an approximation method using Conditional Value-at-Risk (CVaR) and derive its closed-form expression through duality theory. Numerical experiments validate the model&#x2019;s effectiveness. Comparative analysis demonstrates that the CVaR method exhibits superior robustness in extreme demand scenarios compared to expectation-based approaches, providing a theoretical foundation for reliable and resilient energy management in decarbonized terminals.</p>
</abstract>
<kwd-group>
<kwd>AGV battery swapping station</kwd>
<kwd>automated container terminal</kwd>
<kwd>battery investment strategy</kwd>
<kwd>conditional value-at-risk</kwd>
<kwd>distributionally robust optimization</kwd>
</kwd-group>
<funding-group>
<award-group id="gs1">
<funding-source id="sp1">
<institution-wrap>
<institution>National Key Research and Development Program of China</institution>
<institution-id institution-id-type="doi" vocab="open-funder-registry" vocab-identifier="10.13039/open_funder_registry">10.13039/501100012166</institution-id>
</institution-wrap>
</funding-source>
<award-id rid="sp1">2023YFE0113200</award-id>
</award-group>
<award-group id="gs2">
<funding-source id="sp2">
<institution-wrap>
<institution>National Natural Science Foundation of China</institution>
<institution-id institution-id-type="doi" vocab="open-funder-registry" vocab-identifier="10.13039/open_funder_registry">10.13039/501100001809</institution-id>
</institution-wrap>
</funding-source>
<award-id rid="sp2">U2572201</award-id>
</award-group>
<funding-statement>The author(s) declared that financial support was received for this work and/or its publication. This work was supported by the Development Plan of Dalian Northeast Asia International Logistics Center.</funding-statement>
</funding-group>
<counts>
<fig-count count="7"/>
<table-count count="3"/>
<equation-count count="25"/>
<ref-count count="28"/>
<page-count count="15"/>
<word-count count="8371"/>
</counts>
<custom-meta-group>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Marine Affairs and Policy</meta-value>
</custom-meta>
</custom-meta-group>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>The maritime industry is currently undergoing a transformation driven by the need for decarbonization and sustainable development. With the International Maritime Organization setting ambitious targets to reduce greenhouse gas emissions, green ports have become a strategic priority for global port corporations (<xref ref-type="bibr" rid="B4">Chen et&#xa0;al., 2023</xref>; <xref ref-type="bibr" rid="B9">Miao et&#xa0;al., 2025</xref>; <xref ref-type="bibr" rid="B17">Xu et&#xa0;al., 2025</xref>). In this context, automated container terminals (ACTs) are spearheading the transition to zero-emission operations. As the core component of the terminal&#x2019;s horizontal transport system, carrying vehicles are shifting from diesel-powered trucks to electric automated guided vehicles (AGVs), serving as a critical measure to eliminate carbon emissions at the terminal (<xref ref-type="bibr" rid="B23">Zhang et&#xa0;al., 2025b</xref>; <xref ref-type="bibr" rid="B14">Tadros et&#xa0;al., 2023</xref>).</p>
<p>Battery replacement mode has been widely used in high-intensity port environments. Unlike plug-in charging, which often necessitates prolonged downtime for energy replenishment and requires a high charger-to-vehicle ratio, the battery swapping mode physically exchanges depleted batteries for fully charged ones within minutes. This rapid replenishment capability significantly improves AGV utilization rates, effectively decoupling energy replenishment from transport operations (<xref ref-type="bibr" rid="B27">Zhen et&#xa0;al., 2025</xref>; <xref ref-type="bibr" rid="B19">Zhang et&#xa0;al., 2025a</xref>).</p>
<p>However, despite its operational merits, the widespread adoption of this technology is impeded by significant economic and operational challenges, primarily revolving around the management of batteries. The BSS faces a yet intensified &#x201c;supply-demand balance&#x201d; dilemma under the pressure of cost-effective decarbonization. On the one hand, batteries are expensive assets subject to performance degradation; excessive inventory leads to substantial capital tie-up and resource waste, undermining the economic feasibility (<xref ref-type="bibr" rid="B20">Zhang et&#xa0;al., 2021a</xref>). On the other hand, the demand for battery swapping is highly uncertain, fluctuating dynamically with shipping schedules and terminal throughput (<xref ref-type="bibr" rid="B16">Xin et&#xa0;al., 2023</xref>). Insufficient inventory risks service interruptions, which not only paralyze terminal operations but may also cause vessel congestion, leading to increased emissions and reputational damage (<xref ref-type="bibr" rid="B18">Xu et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B7">Goldstein et&#xa0;al., 2022</xref>).</p>
<p>Therefore, formulating a scientifically sound battery investment and replacement strategy&#x2014;one that minimizes operating costs while ensuring service reliability under uncertainty&#x2014;is crucial for the sustainable operation of green terminals. A review of existing literature reveals limitations across three dimensions. First, studies predominantly focus on short-term AGV scheduling and path planning (<xref ref-type="bibr" rid="B3">Che et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B28">Zhou et&#xa0;al., 2024</xref>), often treating BSS capacity as a fixed constraint. Second, investment optimization of ACTs has largely targeted YCs and trucks (<xref ref-type="bibr" rid="B15">Tan et&#xa0;al., 2022</xref>; <xref ref-type="bibr" rid="B21">Zhang et&#xa0;al., 2024a</xref>), failing to address the unique lifecycle dynamics of circulating battery assets. Third, current strategies often rely on deterministic forecasts or stochastic programming with assumed distributions (<xref ref-type="bibr" rid="B11">Peng et&#xa0;al., 2016</xref>). These gaps collectively expose port operators to financial risks and operational vulnerabilities.</p>
<p>This paper establishes a distributionally robust optimization (DRO) model for the battery investment and replacement strategy of a BSS. Unlike traditional stochastic programming that relies on precise probability distributions, our data-driven approach constructs an ambiguity set based on the Wasserstein distance to capture demand uncertainty. This method allows us to minimize the net present value (NPV) of costs while satisfying demand under worst-case scenarios. By optimizing the timing of procurement and the allocation of batteries across their lifecycle, our model provides a robust roadmap for port operators to navigate the financial and operational complexities of going green. The contributions of this study are as follows:</p>
<list list-type="order">
<list-item>
<p>Proposing a multi-period decision model based on battery age groups for the optimization problem of the battery investment and replacement strategy in container terminal BSSs. This model systematically considers the full operating costs of battery procurement and holding, significantly reducing the model size compared to battery-based modeling methods.</p></list-item>
<list-item>
<p>We utilized real port data. Employing a data-driven DRO approach to handle the uncertainty of battery swapping demand. An ambiguity set is constructed based on the Wasserstein distance, avoiding the reliance on distributional assumptions of traditional stochastic optimization.</p></list-item>
<list-item>
<p>Proposing an approximation method based on Conditional Value-at-Risk (CVaR) to handle the distributionally robust chance constraints. This method focuses on risk under extreme scenarios, and its closed-form expression is derived, allowing the model to be efficiently solved directly by solvers.</p></list-item>
<list-item>
<p>In the numerical experiment section, the expectation method with Wasserstein distance ambiguity set is introduced as a baseline for comparison, verifying the necessity of considering tail risk, and providing scientific theoretical support and practical guidance for the investment decisions of terminal BSSs.</p></list-item>
</list>
<p>The remainder of this paper is organized as follows. Section 2 reviews the related literature on AGV operation optimization, terminal equipment investment, and uncertainty methodologies. Section 3 defines the battery investment and replacement problem in ACT. Section 4 constructs the age-based DRO model aimed at minimizing the NPV of operating costs. Section 5 details the solution methodology, where we derive a closed-form CVaR approximation to transform the intractable distributionally robust chance constraints into a tractable mixed-integer linear programming (MILP) formulation. Section 6 reports the numerical experiment results for both short-term and long-term planning, and conducts a comparative analysis between the CVaR and expectation value methods. Finally, Section 7 concludes the paper and discusses directions for future research.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Literature review</title>
<p>The optimization of battery investment and replacement strategies for BSSs in ACTs sits at the intersection of three research streams: operational scheduling of AGV, sustainable infrastructure investment, and decision-making methodologies under uncertainty. This section reviews the relevant literature in these areas to identify the research gaps that this paper aims to bridge.</p>
<sec id="s2_1">
<label>2.1</label>
<title>Operational optimization of electric AGVs</title>
<p>As the core equipment of the horizontal transport system in ACTs, the stable and efficient operation of AGVs is paramount. The AGV scheduling problem, which focuses on optimally allocating limited vehicle resources to pending container transport tasks, has been extensively studied. Traditional research primarily targets the minimization of makespan or delay time through various methodological approaches, including mathematical programming and heuristic algorithms. For instance, scholars have conducted in depth research from the perspectives of job assignment and scheduling optimization (<xref ref-type="bibr" rid="B3">Che et&#xa0;al., 2024</xref>; <xref ref-type="bibr" rid="B8">Guan et&#xa0;al., 2025</xref>), as well as conflict-free path planning (<xref ref-type="bibr" rid="B2">Cao et&#xa0;al., 2023</xref>). These studies established the foundational framework for AGV operations but often treated batteries as perpetually available resources, overlooking the constraints imposed by energy replenishment.</p>
<p>With the maritime industry&#x2019;s paradigm shift toward green logistics and decarbonization, energy management has become a critical area in AGV operations. Recent literature has moved beyond simple efficiency objectives to incorporate energy constraints and carbon emission reduction. For example, <xref ref-type="bibr" rid="B23">Zhang et&#xa0;al. (2025b)</xref> proposed low-carbon scheduling methods for electric transportation vehicles, emphasizing the trade-off between operational efficiency and energy consumption. <xref ref-type="bibr" rid="B28">Zhou et&#xa0;al. (2024)</xref> modeled the charging decision as a Markov decision process to manage AGV charging sequences. Furthermore, for the infrastructure level, <xref ref-type="bibr" rid="B27">Zhen et&#xa0;al. (2025)</xref> highlighted the operational advantages of the battery swapping mode over traditional plug-in charging, noting its ability to maximize vehicle availability through rapid energy replenishment. <xref ref-type="bibr" rid="B26">Zhao and Liang (2025)</xref> proposed a novel shallow charge and shallow discharge charging strategy based on idle time, which significantly moves beyond simple full charge and full discharge cycles to preserve battery life.</p>
<p>However, despite the rich literature on short-term operational scheduling, there is a disconnect between daily operations and long-term asset management. Most existing studies treat the capacity of BSS and the number of batteries as fixed parameters or infinite resources during the scheduling phase. Systematic research on the strategic level remains relatively scarce.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Sustainable terminal equipment investment</title>
<p>Regarding terminal equipment investment and asset management, significant work has focused on the electrification and retrofitting of yard cranes (YCs), which are major contributors to terminal emissions. To actively respond to the green port initiative, scholars have developed optimization models to balance the trade-off between capital expenditure and environmental benefits. For instance, <xref ref-type="bibr" rid="B15">Tan et&#xa0;al. (2022)</xref> proposed a strategic decision method for YC transformation, constructing a model to minimize the total investment and operation costs while meeting specific carbon emission reduction targets. Similarly, <xref ref-type="bibr" rid="B5">Ding et&#xa0;al. (2021)</xref> addressed the transition from diesel-powered to electric-driven rubber-tyred gantry cranes. They emphasized that retrofitting decisions must be integrated with operational planning, developing a model to determine the optimal investment timing and deployment to maintain yard handling capabilities during the transition period. <xref ref-type="bibr" rid="B11">Peng et&#xa0;al. (2016)</xref> explored the optimal allocation of resources for YC networks. Rather than focusing on individual equipment, they modeled the energy replacement problem at a network level to minimize total carbon dioxide emissions, demonstrating the importance of systemic resource planning.</p>
<p>In addition to YCs, the investment and configuration of horizontal transport equipment have also attracted attention, particularly under complex operational constraints. <xref ref-type="bibr" rid="B21">Zhang et&#xa0;al. (2024a)</xref> investigated the retrofitting and deployment of yard trucks for hazardous material transportation. Their study highlights the complexity of managing a mixed fleet&#x2014;comprising diesel, electric, and LNG trucks&#x2014;where investment decisions must satisfy strict safety regulations alongside environmental goals.</p>
<p>Despite these advancements in equipment investment, a critical gap remains regarding the energy infrastructure itself, specifically BSS. Existing research primarily treats equipment (like cranes and trucks) as independent assets to be purchased or retrofitted. However, BSS investment involves a set of multi-period challenges. It requires managing a pool of circulating assets subject to performance battery degradation.</p>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Methodologies for uncertainty and robustness</title>
<p>From a methodological perspective, mathematical programming is the dominant approach in terminal equipment investment research. Deterministic optimization models, such as those employed by <xref ref-type="bibr" rid="B15">Tan et&#xa0;al. (2022)</xref> and <xref ref-type="bibr" rid="B5">Ding et&#xa0;al. (2021)</xref>, effectively handle scenarios with fixed parameters, determining optimal investment timing and configuration schemes through exact or heuristic algorithms. However, given that investment problems often span long time horizons, handling uncertainty is crucial. Neglecting these stochastic factors may lead to rigid strategies that fail to adapt to actual demand variations, resulting in either substantial capital waste from over-investment or service interruptions due to supply shortages. To address this, stochastic programming has been widely applied. For example, <xref ref-type="bibr" rid="B24">Zhang et&#xa0;al. (2024b)</xref> constructed a two-stage stochastic MILP model to handle uncertainties in workloads and carbon quotas. Similarly, <xref ref-type="bibr" rid="B11">Peng et&#xa0;al. (2016)</xref> combined mathematical resource allocation models with simulation to cope with high uncertainties in the terminal transportation network. These stochastic programming methods often rely on precise assumptions about probability distributions of uncertain parameters, which are difficult to obtain accurately in practice. This reliance can lead to suboptimal decisions if the assumed distribution is different from reality.</p>
<p>To overcome these limitations, DRO has recently received widespread attention due to its robustness against distribution deviation (<xref ref-type="bibr" rid="B10">Mohajerin Esfahani and Kuhn, 2018</xref>). The DRO method constructs an ambiguity set for uncertain parameters, possessing both the interpretability of mathematical models and the generalizability of statistical methods. It has been widely applied in fields such as transportation systems (<xref ref-type="bibr" rid="B22">Zhang et&#xa0;al., 2018</xref>; <xref ref-type="bibr" rid="B6">Ghosal and Wiesemann, 2020</xref>; <xref ref-type="bibr" rid="B25">Zhang et&#xa0;al., 2021b</xref>) and terminal operations. For instance, <xref ref-type="bibr" rid="B1">Agra and Rodrigues (2022)</xref> pioneered its application in berth allocation using a Wasserstein-based ambiguity set to address vessel handling time uncertainty. Subsequently, <xref ref-type="bibr" rid="B13">Rodrigues and Agra (2024)</xref> extended this methodology to quay crane scheduling, proving that robust models can effectively balance operational costs and reliability.</p>
<p>Motivated by these advancements, this paper adopts the DRO method to handle the uncertainty of battery swapping demand. This method summarizes the patterns of battery swapping demand from historical data, which can effectively prevent the overfitting of theoretical models and improve the generalizability of the model. The method proposed in this paper provides scientific support for the long-term investment decision of battery assets in BSSs, bridging the gap between theoretical robustness and practical application.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Problem description</title>
<p>The BSS serves as a critical energy infrastructure for the AGV fleet, ensuring the continuity of terminal operations. We consider a discrete planning horizon <inline-formula>
<mml:math display="inline" id="im1"><mml:mrow><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>, where the terminal operator must formulate sequential decisions on battery procurement and usage allocation to minimize the total operating cost. In each period <inline-formula>
<mml:math display="inline" id="im2"><mml:mi>t</mml:mi></mml:math></inline-formula>, two key decisions are required: the quantity of new batteries to purchase, denoted as <inline-formula>
<mml:math display="inline" id="im3"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and the usage allocation <inline-formula>
<mml:math display="inline" id="im4"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for batteries across different age groups.</p>
<p>To manage performance degradation, batteries are aggregated into categories based on their cumulative usage cycles (age), denoted by <inline-formula>
<mml:math display="inline" id="im5"><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>. The system follows a strict age-evolution mechanism: as batteries are utilized, they accumulate usage cycles and gradually age. Once a battery reaches the maximum threshold <inline-formula>
<mml:math display="inline" id="im6"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, it must be mandatorily retired from the system. <xref ref-type="fig" rid="f1"><bold>Figure&#xa0;1</bold></xref> illustrates this time flow, depicting the battery lifecycle through purchasing, utilization, aging, and eventual retirement.</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>Time network formulation for battery investment and replacement.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g001.tif">
<alt-text content-type="machine-generated">Flowchart of a planning horizon model showing purchasing decisions. A start point leads to multiple nodes labeled by age categories from zero to \( K_{\text{life}} \). Arrows indicate paths for purchasing, holding, aging, and retirement. The flow proceeds to an end point. A legend identifies green for purchasing, gray for holding, blue for aging, and orange for retirement, with a timeline at the bottom.</alt-text>
</graphic></fig>
<p>The operation of the BSS involves a trade-off between cash flow elements and strict financial constraints. The cost structure includes the procurement cost of new batteries (<italic>d</italic><sub>buy</sub>), the periodic holding cost for inventory maintenance (<italic>d</italic><sub>hold</sub>), and the book value for remained batteries in the end, determined by an end-of-period asset conversion rate <italic>&#x3c1;</italic>. Because of the capital intensity of ACT, the model has two strict budget constraints: a per-period budget cap <italic>B<sub>t</sub></italic> to control short-term cash flow pressure, and a total budget cap <italic>B</italic> for the entire planning horizon. To account for the time value of money, we employ the NPV method, discounting all cash flows to the beginning of the planning horizon using an annual discount rate <italic>r</italic>. The objective is to minimize the NPV of the total operating cost, thereby achieving value optimization over the battery assets&#x2019; entire lifecycle while satisfying operational constraints.</p>
<p>The uncertainty of the battery swapping demand in each period <inline-formula>
<mml:math display="inline" id="im7"><mml:mi>t</mml:mi></mml:math></inline-formula>, denoted as <inline-formula>
<mml:math display="inline" id="im8"><mml:mrow><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. In actual terminal operations, demand is subject to significant random disturbances caused by fluctuating shipping schedules, variable vessel handling rates, and adjustments to AGV operational plans. These factors make accurate long-term prediction difficult. To address this challenge, this paper employs a DRO approach. Specifically, we construct a Wasserstein ambiguity set <inline-formula>
<mml:math display="inline" id="im9"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> with a radius <inline-formula>
<mml:math display="inline" id="im10"><mml:mi>&#x3b8;</mml:mi></mml:math></inline-formula> to characterize the set of plausible distributions for the disturbance term <inline-formula>
<mml:math display="inline" id="im11"><mml:mi>&#x3be;</mml:mi></mml:math></inline-formula>. This approach allows the model to hedge against the risk of demand deviation and distributional errors, ensuring service reliability even under worst-case demand scenarios.</p>
</sec>
<sec id="s4">
<label>4</label>
<title>Battery investment and replacement model</title>
<p>This section formulates the mathematical model for the battery investment and replacement problem under demand uncertainty. We first define the mathematical notation used throughout the paper. Subsequently, we construct a Wasserstein distance-based ambiguity set to characterize the distributional uncertainty of battery swapping demand. Based on this, we propose an age-based DRO model aimed at minimizing the NPV of total operating costs.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Notation</title>
<p>The mathematical symbols used in this paper are defined as follows, based on the problem description in the Section 3.</p>
<p>&#x2003;Sets:</p>
<p><inline-formula>
<mml:math display="inline" id="im12"><mml:mi mathvariant="script">K</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Set of battery age indices, <inline-formula>
<mml:math display="inline" id="im13"><mml:mrow><mml:mi mathvariant="script">K</mml:mi><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula>
<mml:math display="inline" id="im14"><mml:mi>k</mml:mi></mml:math></inline-formula> represents the cumulative usage cycles of the battery;</p>
<p><inline-formula>
<mml:math display="inline" id="im15"><mml:mi mathvariant="script">T</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Set of full time indices, <inline-formula>
<mml:math display="inline" id="im16"><mml:mrow><mml:mi mathvariant="script">T</mml:mi><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula>
<mml:math display="inline" id="im17"><mml:mi>T</mml:mi></mml:math></inline-formula> is the length of the planning horizon;</p>
<p><inline-formula>
<mml:math display="inline" id="im18"><mml:mrow><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>dec</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;Set of decision period indices, <inline-formula>
<mml:math display="inline" id="im19"><mml:mrow><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>dec</mml:mtext></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>;</p>
<p><inline-formula>
<mml:math display="inline" id="im20"><mml:mrow><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;Set of operational period indices, <inline-formula>
<mml:math display="inline" id="im21"><mml:mrow><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>}</mml:mo></mml:mrow></mml:math></inline-formula>;</p>
<p>&#x2126;&#xa0;&#xa0;&#xa0;Set of demand uncertainty scenarios, |&#x2126;| denotes the number of scenarios.</p>
<p>&#x2003;Parameters:</p>
<p><inline-formula>
<mml:math display="inline" id="im22"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Procurement cost of a single battery;</p>
<p><inline-formula>
<mml:math display="inline" id="im23"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>hold</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Maintenance cost of a single battery per period;</p>
<p><inline-formula>
<mml:math display="inline" id="im24"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Battery lifecycle threshold;</p>
<p><inline-formula>
<mml:math display="inline" id="im25"><mml:mrow><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Battery swapping demand in period <italic>t</italic>;</p>
<p><inline-formula>
<mml:math display="inline" id="im26"><mml:mrow><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>&#x3c9;</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Battery swapping demand in scenario <italic>&#x3c9;</italic> &#x2208; &#x2126;;</p>
<p><inline-formula>
<mml:math display="inline" id="im27"><mml:mrow><mml:msub><mml:mi>B</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Budget upper limit in period <italic>t</italic>;</p>
<p><inline-formula>
<mml:math display="inline" id="im28"><mml:mi>B</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Total budget upper limit for the entire planning horizon;</p>
<p><inline-formula>
<mml:math display="inline" id="im29"><mml:mi>r</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Annual discount rate (for NPV calculation);</p>
<p><inline-formula>
<mml:math display="inline" id="im30"><mml:mi>&#x3c1;</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;End-of-period asset conversion rate;</p>
<p><inline-formula>
<mml:math display="inline" id="im31"><mml:mi>N</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Number of periods in a year;</p>
<p><inline-formula>
<mml:math display="inline" id="im32"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Distribution ambiguity set based on Wasserstein distance, with radius parameter <italic>&#x3b8;</italic>;</p>
<p><inline-formula>
<mml:math display="inline" id="im33"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Maximum violation probability for the distributionally robust chance constraint;</p>
<p><inline-formula>
<mml:math display="inline" id="im34"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo stretchy="true">&#xaf;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Number of batteries with <inline-formula>
<mml:math display="inline" id="im35"><mml:mi>k</mml:mi></mml:math></inline-formula> cumulative usages at the initial time.</p>
<p>&#x2003;Decision Variables: </p>
<p><inline-formula>
<mml:math display="inline" id="im36"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Number of new batteries purchased at the end of period <italic>t</italic>;</p>
<p><inline-formula>
<mml:math display="inline" id="im37"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Number of batteries with <inline-formula>
<mml:math display="inline" id="im38"><mml:mi>k</mml:mi></mml:math></inline-formula> cumulative usages owned at the beginning of period <italic>t</italic>;</p>
<p><inline-formula>
<mml:math display="inline" id="im39"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;&#xa0;Number of batteries with <italic>k</italic> cumulative usages utilized in period <italic>t</italic>.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Distributionally robust ambiguity set</title>
<p>To address the uncertainty of battery swapping demand without requiring precise knowledge of its underlying probability distribution, we employ a data-driven approach using Wasserstein distance-based ambiguity sets. The Wasserstein ambiguity set encompasses all probability distributions that lie within a specified statistical distance from the empirical distribution constructed from historical samples, where the radius parameter <italic>&#x3b8;</italic> controls the level of robustness.</p>
<p>Let <inline-formula>
<mml:math display="inline" id="im40"><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>&#x2dc;</mml:mo></mml:mover></mml:math></inline-formula> denote the random variable representing the uncertain battery swapping demand. We construct the ambiguity set <inline-formula>
<mml:math display="inline" id="im41"><mml:mi mathvariant="script">F</mml:mi></mml:math></inline-formula>(<italic>&#x3b8;</italic>) using the following formulation:</p>
<disp-formula id="eq1"><label>(1)</label>
<mml:math display="block" id="M1"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo>{</mml:mo><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">M</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="script">U</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>|</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x2119;</mml:mi><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo>}</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq2"><label>(2)</label>
<mml:math display="block" id="M2"><mml:mrow><mml:mtext>s</mml:mtext><mml:mo>.</mml:mo><mml:mtext>t</mml:mtext><mml:mo>.</mml:mo><mml:mtext>&#x2003;</mml:mtext><mml:msub><mml:mi>d</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x2119;</mml:mi><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:munder><mml:mrow><mml:mi>inf</mml:mi></mml:mrow><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>&#xaf;</mml:mo></mml:mover></mml:munder><mml:msub><mml:mi mathvariant="double-struck">E</mml:mi><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>&#xaf;</mml:mo></mml:mover></mml:msub><mml:mo>[</mml:mo><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>&#x2dc;</mml:mo></mml:mover><mml:mo>&#x2212;</mml:mo><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo>|</mml:mo><mml:mo>]</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq3"><label>(3)</label>
<mml:math display="block" id="M3"><mml:mrow><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>&#x2dc;</mml:mo></mml:mover><mml:mo>&#x223c;</mml:mo><mml:mi>&#x2119;</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq4"><label>(4)</label>
<mml:math display="block" id="M4"><mml:mrow><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo>&#x223c;</mml:mo><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo>,</mml:mo></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq5"><label>(5)</label>
<mml:math display="block" id="M5"><mml:mrow><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>&#xaf;</mml:mo></mml:mover><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">P</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x2119;</mml:mi><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math>
</disp-formula>
<p><xref ref-type="disp-formula" rid="eq1">Equations 1</xref>&#x2013;<xref ref-type="disp-formula" rid="eq5">5</xref> establish the mathematical framework for our ambiguity set construction. <xref ref-type="disp-formula" rid="eq1">Equation 1</xref> defines the ambiguity set <inline-formula>
<mml:math display="inline" id="im42"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> by incorporating all probability distributions <inline-formula>
<mml:math display="inline" id="im43"><mml:mi>&#x2119;</mml:mi></mml:math></inline-formula> supported on <inline-formula>
<mml:math display="inline" id="im44"><mml:mi mathvariant="script">U</mml:mi></mml:math></inline-formula> that reside within a Wasserstein distance <inline-formula>
<mml:math display="inline" id="im45"><mml:mi>&#x3b8;</mml:mi></mml:math></inline-formula> of the empirical distribution <inline-formula>
<mml:math display="inline" id="im46"><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula>. The distance metric is formalized in <xref ref-type="disp-formula" rid="eq2">Equation 2</xref>, which utilizes the absolute deviation <inline-formula>
<mml:math display="inline" id="im47"><mml:mrow><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>&#x2dc;</mml:mo></mml:mover><mml:mo>&#x2212;</mml:mo><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo>|</mml:mo></mml:mrow></mml:math></inline-formula> to quantify the cost of transporting probability mass from the empirical distribution to the true distribution. <xref ref-type="disp-formula" rid="eq3">Equations 3</xref> and <xref ref-type="disp-formula" rid="eq4">4</xref> specify that the uncertain demand <inline-formula>
<mml:math display="inline" id="im48"><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>&#x2dc;</mml:mo></mml:mover></mml:math></inline-formula> follows the candidate distribution <inline-formula>
<mml:math display="inline" id="im49"><mml:mi>&#x2119;</mml:mi></mml:math></inline-formula>, while the historical samples <inline-formula>
<mml:math display="inline" id="im50"><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula> follow the empirical distribution <inline-formula>
<mml:math display="inline" id="im51"><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula>. Finally, <xref ref-type="disp-formula" rid="eq5">Equation 5</xref> defines the joint distribution <inline-formula>
<mml:math display="inline" id="im52"><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>&#xaf;</mml:mo></mml:mover></mml:math></inline-formula> within the set <inline-formula>
<mml:math display="inline" id="im53"><mml:mrow><mml:mi mathvariant="script">P</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x2119;</mml:mi><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, representing all valid joint distributions with marginals <inline-formula>
<mml:math display="inline" id="im54"><mml:mi>&#x2119;</mml:mi></mml:math></inline-formula> and <inline-formula>
<mml:math display="inline" id="im55"><mml:mover accent="true"><mml:mi>&#x2119;</mml:mi><mml:mo>^</mml:mo></mml:mover></mml:math></inline-formula>. The support set <inline-formula>
<mml:math display="inline" id="im56"><mml:mi mathvariant="script">U</mml:mi></mml:math></inline-formula> ensures the physical meaningfulness of the demand values (e.g., non-negativity).</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Assumptions</title>
<p>To accurately model this complex decision problem, the following reasonable assumptions are made:</p>
<list list-type="order">
<list-item>
<p>All batteries are assumed to be homogeneous, sharing the same model specifications and a uniform maximum service life defined by cumulative usage cycles;</p></list-item>
<list-item>
<p>The performance degradation of batteries is approximated as a linear function of cumulative usage. The book value of remaining batteries in the end period is calculated following a linear decay rule based on cumulative usage cycles;</p></list-item>
<list-item>
<p>The battery procurement decision in period <italic>t</italic> is executed at the end of the period, and the purchased batteries arrive and are put into use at the beginning of period <italic>t</italic> +&#xa0;1;</p></list-item>
<list-item>
<p>To simplify the NPV calculation, it is assumed that all cash flows occur and are discounted centrally at the end of the period.</p></list-item>
</list>
<p>Regarding Assumption 2, while battery degradation is inherently non-linear, linear simplification is adopted to ensure the tractability of the strategic optimization model. Furthermore, since the procurement decisions are primarily driven by the maximum service life rather than the intermediate degradation process, this approximation has a negligible impact on the optimal investment strategy, affecting only the minor book value in the end period.</p>
</sec>
<sec id="s4_4">
<label>4.4</label>
<title>Age-based DRO model</title>
<p>The optimization problem for the battery replacement strategy, considering demand uncertainty, can be formulated as the following model with distributionally robust chance constraints:</p>
<disp-formula id="eq6"><label>(6)</label>
<mml:math display="block" id="M6"><mml:mtable columnalign="left"><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mrow><mml:mtext>min&#xa0;&#x2003;</mml:mtext><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>dec</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:munder></mml:mstyle><mml:mfrac><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false">/</mml:mo><mml:mi>N</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>t</mml:mi></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:munder></mml:mstyle><mml:mfrac><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>hold</mml:mtext></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false">/</mml:mo><mml:mi>N</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>t</mml:mi></mml:msup></mml:mrow></mml:mfrac><mml:mo>&#x2212;</mml:mo><mml:mi>&#x3c1;</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mrow><mml:mo>&#xb7;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false">/</mml:mo><mml:mi>N</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>&#xb7;</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math>
</disp-formula>
<disp-formula id="eq7"><label>(7)</label>
<mml:math display="block" id="M7"><mml:mrow><mml:mtext>s</mml:mtext><mml:mo>.</mml:mo><mml:mtext>t</mml:mtext><mml:mo>.</mml:mo><mml:mtext>&#x2003;</mml:mtext><mml:munder><mml:mrow><mml:mi>inf</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:mi>&#x2119;</mml:mi><mml:mo>[</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>]</mml:mo><mml:mo>&#x2265;</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq8"><label>(8)</label>
<mml:math display="block" id="M8"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq9"><label>(9)</label>
<mml:math display="block" id="M9"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>dec</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq10"><label>(10)</label>
<mml:math display="block" id="M10"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mo>{</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>}</mml:mo><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>dec</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq11"><label>(11)</label>
<mml:math display="block" id="M11"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>hold</mml:mtext></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:mo>(</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq12"><label>(12)</label>
<mml:math display="block" id="M12"><mml:mrow><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:munder></mml:mstyle><mml:mo>[</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>buy</mml:mtext></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mrow><mml:mtext>hold</mml:mtext></mml:mrow></mml:msub><mml:mo>&#xb7;</mml:mo><mml:mo>(</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>]</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mi>B</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq13"><label>(13)</label>
<mml:math display="block" id="M13"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo stretchy="true">&#xaf;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq14"><label>(14)</label>
<mml:math display="block" id="M14"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mrow><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq15"><label>(15)</label>
<mml:math display="block" id="M15"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mi>&#x2124;</mml:mi><mml:mo>+</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">T</mml:mi></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq16"><label>(16)</label>
<mml:math display="block" id="M16"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mi>&#x2124;</mml:mi><mml:mo>+</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>dec</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq17"><label>(17)</label>
<mml:math display="block" id="M17"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2208;</mml:mo><mml:msub><mml:mi>&#x2124;</mml:mi><mml:mo>+</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2003;&#x2200;</mml:mtext><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<p>The objective function (<xref ref-type="disp-formula" rid="eq6">Equation 6</xref>) aims to minimize the total NPV cost of the BSS, including three parts. The first term represents the present value of new battery procurement costs. The second term is the present value of battery holding costs, calculated based on the total number of batteries owned in each period and discounted. The third term represents the book value of the remaining batteries at the end, due to asset recovery. Constraints (<xref ref-type="disp-formula" rid="eq7">Equation 7</xref>) are the distributionally robust chance constraints, ensuring the reliability of the battery swapping service under demand uncertainty. This constraint is based on the Wasserstein ambiguity set <inline-formula>
<mml:math display="inline" id="im57"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, requiring that the total supply capacity of the BSS meets the uncertain demand with a probability of at least <inline-formula>
<mml:math display="inline" id="im58"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x404;</mml:mi></mml:mrow></mml:math></inline-formula> under the worst-case distribution. Compared to traditional deterministic demand constraints, this chance constraint maintains an acceptable service level by controlling the violation probability <inline-formula>
<mml:math display="inline" id="im59"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula>. Constraints (<xref ref-type="disp-formula" rid="eq8">Equation 8</xref>) limit the usage quantity of each age group to no more than the number of batteries owned in that group. Constraints (<xref ref-type="disp-formula" rid="eq9">Equation 9</xref>) state that the new batteries in the next period originate from the batteries purchased in the current period. Constraints (<xref ref-type="disp-formula" rid="eq10">Equation 10</xref>) are the core constraints for age evolution. At the beginning of period <italic>t</italic>, there are <inline-formula>
<mml:math display="inline" id="im60"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> batteries with <italic>k</italic> cumulative usages, of which <inline-formula>
<mml:math display="inline" id="im61"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are used, and their cumulative usage increases to <inline-formula>
<mml:math display="inline" id="im62"><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>; the unused <inline-formula>
<mml:math display="inline" id="im63"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> batteries retain <italic>k</italic> cumulative usages; meanwhile, <inline-formula>
<mml:math display="inline" id="im64"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> batteries that had <inline-formula>
<mml:math display="inline" id="im65"><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> cumulative usages in the previous period become <italic>k</italic> cumulative usages after being used. Therefore, the number of batteries with <inline-formula>
<mml:math display="inline" id="im66"><mml:mi>k</mml:mi></mml:math></inline-formula> cumulative usages at the beginning of period <inline-formula>
<mml:math display="inline" id="im67"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> equals the sum of <italic>k</italic>-aged batteries unused in this&#xa0;period and <inline-formula>
<mml:math display="inline" id="im68"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>-aged batteries used in the previous period. Constraints (<xref ref-type="disp-formula" rid="eq11">Equation 11</xref>) are the per-period budget constraint, limiting the sum of procurement expenditure and holding costs in&#xa0;each operational period (<inline-formula>
<mml:math display="inline" id="im69"><mml:mrow><mml:mi>t</mml:mi><mml:mo>&#x2265;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>) to no more than the budget upper limit <inline-formula>
<mml:math display="inline" id="im70"><mml:mrow><mml:msub><mml:mi>B</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></inline-formula> The initial procurement at <inline-formula>
<mml:math display="inline" id="im71"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> is treated as a one-time construction investment and is excluded from this operational budget constraint. Constraints (<xref ref-type="disp-formula" rid="eq12">Equation 12</xref>) are the total budget constraint, limiting the cumulative procurement expenditure and holding costs over the entire planning horizon. Constraints (<xref ref-type="disp-formula" rid="eq13">Equation 13</xref>) set the initial age distribution based on the pre-existing inventory <inline-formula>
<mml:math display="inline" id="im72"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo stretchy="true">&#xaf;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Constraint (<xref ref-type="disp-formula" rid="eq14">Equation 14</xref>) stipulates that no new batteries are purchased during the liquidation period.&#xa0;Constraints (<xref ref-type="disp-formula" rid="eq15">Equations 15</xref>&#x2013;<xref ref-type="disp-formula" rid="eq17">17</xref>) define the domain of the decision variables, where all variables are non-negative integers.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Tractable reformulation based on CVaR</title>
<p>The distributionally robust chance constraint (7) involves an infinite number of constraints due to the continuous nature of the ambiguity set, making the original model intractable. To address this, we propose a deterministic approximation method based on CVaR. This section details the transformation process, the theoretical derivation under the Wasserstein ambiguity set, and the final tractable MILP formulation.</p>
<sec id="s5_1">
<label>5.1</label>
<title>CVaR approximation and decomposition</title>
<p>To ensure the reliability of battery swapping services, we require that the probability of supply meeting demand is at least <inline-formula>
<mml:math display="inline" id="im73"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x404;</mml:mi></mml:mrow></mml:math></inline-formula> under the worst-case distribution within the ambiguity set. This is formally expressed as the following distributionally robust chance constraint (7). Directly solving it is computationally intractable due to the non-convexity of the chance constraint and the infinite dimension of the ambiguity set. To address this, we introduce the CVaR as a convex conservative approximation. Based on the fundamental property that CVaR serves as a rigorous upper bound for the Value-at-Risk, we can transform the original chance constraint into a mathematically tractable form through the transformation shown in <xref ref-type="disp-formula" rid="eq18">Equation 18</xref>:</p>
<disp-formula>
<mml:math display="block" id="M18"><mml:mrow><mml:munder><mml:mrow><mml:mi>inf</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:mi>&#x2119;</mml:mi><mml:mo>[</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>&#x2265;</mml:mo><mml:mn>0</mml:mn><mml:mo>]</mml:mo><mml:mo>&#x2265;</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x404;</mml:mi></mml:mrow></mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M19"><mml:mrow><mml:mo>&#x21d4;</mml:mo><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:mi>&#x2119;</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn><mml:mo>)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mi>&#x404;</mml:mi></mml:mrow></mml:math>
</disp-formula>
<disp-formula id="eq18"><label>(18)</label>
<mml:math display="block" id="M20"><mml:mrow><mml:mo>&#x21d2;</mml:mo><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mtext>CVaR</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x3f5;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x2119;</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math>
</disp-formula>
<p>The implication in step 3 holds because <inline-formula>
<mml:math display="inline" id="im74"><mml:mrow><mml:msub><mml:mrow><mml:mtext>CVaR</mml:mtext></mml:mrow><mml:mi>&#x404;</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>Z</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> is a sufficient condition for <inline-formula>
<mml:math display="inline" id="im75"><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>Z</mml:mi><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mi>&#x404;</mml:mi></mml:mrow></mml:math></inline-formula>, providing a safe approximation for the original problem (<xref ref-type="bibr" rid="B12">Rockafellar and Uryasev, 2000</xref>).</p>
<p>To further simplify the constraint and decouple the decision variables from the uncertainty, we exploit the <italic>translation invariance</italic> property of coherent risk measures.</p>
<disp-formula id="eq19"><label>(19)</label>
<mml:math display="block" id="M21"><mml:mrow><mml:mtable columnalign="left" equalrows="true" equalcolumns="true"><mml:mtr columnalign="left"><mml:mtd columnalign="left"><mml:mrow><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:mo>(</mml:mo><mml:msub><mml:mrow><mml:mtext>CVaR</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x2119;</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>&#x2264;</mml:mo><mml:mn>0</mml:mn><mml:mtext>&#x2004;</mml:mtext><mml:mo>&#x21d4;</mml:mo><mml:mtext>&#x2004;</mml:mtext></mml:mrow></mml:mtd><mml:mtd columnalign="left"><mml:mrow><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mtext>CVaR</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x2119;</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math>
</disp-formula>
<p><xref ref-type="disp-formula" rid="eq19">Equation 19</xref> shows that the total battery supply in each period must exceed the <italic>worst-case CVaR of the random demand</italic>.</p>
</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Closed-form representation under Wasserstein ambiguity</title>
<p>It&#x2019;s difficult to compute the worst-case CVaR of the uncertain demand <italic>&#x3be;<sub>t</sub></italic> over the infinite-dimensional Wasserstein ambiguity set. Based on strong duality, we derive a closed-form expression that depends only on the historical data and the robustness radius.</p>
<p>Theorem 1. <italic>Consider the uncertainty set</italic><inline-formula>
<mml:math display="inline" id="im76"><mml:mtext>&#x3a9;</mml:mtext></mml:math></inline-formula><italic>with</italic><inline-formula>
<mml:math display="inline" id="im77"><mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula><italic>historical scenarios. Let the observed demand values be denoted by</italic><inline-formula>
<mml:math display="inline" id="im78"><mml:mrow><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mtext>&#x3c9;</mml:mtext></mml:mrow></mml:math></inline-formula><italic>for each scenario</italic><inline-formula>
<mml:math display="inline" id="im79"><mml:mtext>&#x3c9;</mml:mtext></mml:math></inline-formula><inline-formula>
<mml:math display="inline" id="im80"><mml:mo>&#x2208;</mml:mo></mml:math></inline-formula><inline-formula>
<mml:math display="inline" id="im81"><mml:mtext>&#x3a9;</mml:mtext></mml:math></inline-formula>. <italic>Under a confidence level</italic><inline-formula>
<mml:math display="inline" id="im82"><mml:mo>&#x2208;</mml:mo></mml:math></inline-formula><italic>and a Wasserstein ambiguity set</italic><inline-formula>
<mml:math display="inline" id="im83"><mml:mrow><mml:mi>F</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula><italic>with radius</italic><inline-formula>
<mml:math display="inline" id="im84"><mml:mi>&#x3b8;</mml:mi></mml:math></inline-formula>, <italic>if the historical samples are sorted in descending order such that</italic><inline-formula>
<mml:math display="inline" id="im85"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mn>1</mml:mn></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mn>2</mml:mn></mml:msub><mml:mo>&#x2265;</mml:mo><mml:mo>&#x22ef;</mml:mo><mml:mo>&#x2265;</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula><italic>, the worst-case CVaR can be calculated as:</italic></p>
<disp-formula id="eq20"><label>(20)</label>
<mml:math display="block" id="M22"><mml:mrow><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mtext mathvariant="italic">CVaR</mml:mtext></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x2119;</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3be;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>&#x3c9;</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x230a;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo stretchy="false">&#x230b;</mml:mo></mml:mrow></mml:msubsup><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mi>&#x3c9;</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">&#x230a;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo stretchy="false">&#x230b;</mml:mo></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mo>)</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mrow><mml:mo stretchy="false">&#x230a;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo stretchy="false">&#x230b;</mml:mo><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mfrac><mml:mi>&#x3b8;</mml:mi><mml:mi>&#x404;</mml:mi></mml:mfrac></mml:mrow></mml:math>
</disp-formula>
<p><italic>where</italic><inline-formula>
<mml:math display="inline" id="im86"><mml:mrow><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>&#x3c9;</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mn>0</mml:mn></mml:msubsup><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mi>&#x3c9;</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula><italic>and</italic><inline-formula>
<mml:math display="inline" id="im87"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mrow><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula><italic>are defined to handle boundary cases. The proof is provided in Appendix 1.</italic></p>
<p>Theorem 1 decomposes the worst-case risk into three interpretable components: 1) The average value of the worst scenarios, capturing the tail risk inherent in the historical data; 2) A fractional adjustment term for the boundary scenario, ensuring the continuity of the risk measure; 3) A robustness term, where a larger Wasserstein radius imposes a stricter penalty for distributional deviation, offering stronger protection.</p>
</sec>
<sec id="s5_3">
<label>5.3</label>
<title>Transformed deterministic MILP model</title>
<p>Through Theorem 1, we obtain the tractable formulation. The original distributionally robust chance constraint (7) is replaced by the <xref ref-type="disp-formula" rid="eq21">Equation 21</xref>.</p>
<disp-formula id="eq21"><label>(21)</label>
<mml:math display="block" id="M23"><mml:mrow><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>&#x3c9;</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mo stretchy="false">&#x230a;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo stretchy="false">&#x230b;</mml:mo></mml:mrow></mml:msubsup><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mi>&#x3c9;</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">&#x230a;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo stretchy="false">&#x230b;</mml:mo></mml:mrow><mml:mrow><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mo>)</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mrow><mml:mo stretchy="false">&#x230a;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo><mml:mo stretchy="false">&#x230b;</mml:mo><mml:mo>+</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mfrac><mml:mi>&#x3b8;</mml:mi><mml:mi>&#x404;</mml:mi></mml:mfrac><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2200;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<p>This transformation eliminates the infinite-dimensional constraints. The resulting model consists solely of a linear objective function and linear constraints, allowing it to be efficiently solved to global optimality using standard commercial solvers such as Gurobi or CPLEX.</p>
<p>The computational complexity of the transformed model is primarily determined by the planning horizon <inline-formula>
<mml:math display="inline" id="im88"><mml:mi>T</mml:mi></mml:math></inline-formula> and the battery lifecycle resolution <inline-formula>
<mml:math display="inline" id="im89"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Specifically, the number of integer decision variables scales linearly with the product of <inline-formula>
<mml:math display="inline" id="im90"><mml:mi>T</mml:mi></mml:math></inline-formula> and <inline-formula>
<mml:math display="inline" id="im91"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (<inline-formula>
<mml:math display="inline" id="im92"><mml:mrow><mml:mi>O</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>T</mml:mi><mml:mo>&#xb7;</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>). Although the problem size naturally expands as the planning horizon extends or the age becomes finer, this growth is polynomial rather than exponential. Consequently, even for long-term scenarios, the problem dimension remains within the efficient handling capabilities of standard commercial solvers. Furthermore, unlike individual battery tracking models, the complexity of our formulation is independent of the total number of batteries, ensuring scalability in large-scale terminals.</p>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Case study and analysis</title>
<p>To validate the effectiveness and practical viability of the proposed model, this section conducts numerical experiments based on real-world operational data from a large-scale ACT in China. The experimental analysis addresses distinct decision horizons: a 5-year short-term planning for a BSS and a 20-year long-term planning for a BSS. Furthermore, we perform a comparative analysis between the proposed CVaR-based method and the expectation-based approach, highlighting the trade-offs between investment efficiency and operational resilience. The program is implemented in C++ and solved using the commercial solver Gurobi 12.0.3.</p>
<sec id="s6_1">
<label>6.1</label>
<title>Parameter design</title>
<p>The parameters for the numerical experiments are derived from the actual operational data of a large-scale ACT in China. Specifically, the dataset reflects the aggregate charging requirements of a fleet comprising approximately 90 AGVs. Detailed demand characteristics are presented in <xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref> in Section 6.2. We designed two scenarios to reflect different stages of infrastructure development:</p>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>Temporal fluctuation of daily battery swapping demand.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g002.tif">
<alt-text content-type="machine-generated">Line graph titled &#x201c;Temporal Fluctuation of Battery Swapping Demand&#x201d; showing the number of battery swaps from October 29 to December 24. The blue line represents daily demand with fluctuations, while the red dashed line indicates the average demand level at approximately 180 swaps.</alt-text>
</graphic></fig>
<list list-type="order">
<list-item>
<p>5-year short-term plan: Simulating a project where the operator optimizes the replacement of aging battery assets in an operational station. This scenario addresses the immediate challenge of maintaining service continuity while upgrading green assets under strict budget constraints.</p></list-item>
<list-item>
<p>20-year long-term plan: Simulating a long-term strategic investment scenario aligned with the decarbonization roadmap. This scenario focuses on the optimal capacity planning over a 20-year horizon to demonstrate the model&#x2019;s capability in long-term asset management.</p></list-item>
</list>
<p>According to the actual battery life degradation curve, a single battery can undergo approximately 2500 full charge-discharge cycles. Considering that each battery is used a maximum of 50 times per month in actual terminal operations, we define one month as one decision period, thus obtaining a battery lifecycle threshold <italic>K</italic><sub>life</sub> of 50 usage cycles.</p>
<p>For cost parameters, the procurement cost of a new battery <italic>d</italic><sub>buy</sub> is set to 100,000 Yuan/unit. This value is based on quotes from the terminal&#x2019;s actual equipment supplier and aligns with current average market prices for industrial battery packs. The single-period holding cost <italic>d</italic><sub>hold</sub> is 500 Yuan/month, covering maintenance, storage, and safety monitoring fees. The end-of-period asset conversion rate <italic>&#x3c1;</italic> is set to 0.3. The annual discount rate <italic>r</italic> is set to 8%, which is the general standard of China. For the DRO model parameters, the Wasserstein distance radius is set to <italic>&#x3b8;</italic> =&#xa0;0.1 and the confidence level to <italic>&#x3f5;</italic> =&#xa0;0.2.</p>
</sec>
<sec id="s6_2">
<label>6.2</label>
<title>Empirical analysis of battery swapping demand</title>
<p>To ensure the proposed model captures the operational realities of container terminals, we analyzed daily battery swapping demand data collected from a large-scale ACT in China over a two-month period (October 29 to December 26). This demand dataset serves as the empirical basis for constructing the ambiguity set <inline-formula>
<mml:math display="inline" id="im93"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
<sec id="s6_2_1">
<label>6.2.1</label>
<title>Temporal fluctuation and volatility</title>
<p><xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref> illustrates the temporal fluctuation of battery swapping demand. The red dashed line in <xref ref-type="fig" rid="f2"><bold>Figure&#xa0;2</bold></xref> represents the average demand level. The data exhibits significant volatility, driven by the stochastic nature of varying on-site operational intensities. Descriptive&#xa0;statistics reveal a mean daily demand of approximately 180. However, relying solely on this average metric conceals critical operational risks. The peak demand surged to nearly twice the average level (e.g., December 2nd and 23rd), while the lowest demand dropped to below 80 swaps. Notably, actual demand exceeded this average on 44.1% of the observed days. This empirical evidence supports the &#x201c;Average Value Trap&#x201d; inherent in traditional expectation-based optimization: a capacity plan based on average demand would likely result in service interruptions for nearly half of the operational period.</p>
</sec>
<sec id="s6_2_2">
<label>6.2.2</label>
<title>Distributional characteristics of demand</title>
<p><xref ref-type="fig" rid="f3"><bold>Figure&#xa0;3</bold></xref> further presents the frequency distribution of daily demand. The distribution is not perfectly symmetric and exhibits a &#x201c;fat tail&#x201d; characteristic on the right side, representing the occurrence of extremely high-demand events. These tail events, although less frequent, pose disproportionately high risks to terminal operations, potentially leading to severe congestion and delays. This observation provides a justification for adopting the CVaR-based DRO approach, which specifically targets these tail risks to ensure operational resilience under worst-case scenarios.</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Frequency distribution of daily battery swapping demand.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g003.tif">
<alt-text content-type="machine-generated">Bar chart titled &#x201c;Distribution of Daily Demand&#x201d; depicts the frequency of daily demand ranges. Demand is highest in the one hundred fifty to two hundred range, with frequency peaking at eleven days. Demand decreases as the range increases to three hundred fifty. Frequency is marked on the y-axis, while daily demand range is on the x-axis.</alt-text>
</graphic></fig>
<p>These historical records serve as the reference for constructing the dataset utilized in the subsequent numerical analysis, ensuring that the demand scenarios <inline-formula>
<mml:math display="inline" id="im94"><mml:mrow><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>&#x3c9;</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> reflect realistic operational fluctuations.</p>
</sec>
</sec>
<sec id="s6_3">
<label>6.3</label>
<title>Case study of short-term planning</title>
<p>This section conducts a granular analysis of the 5-year planning horizon for an operational BSS, simulating the investment decision process within a Chinese port enterprise&#x2019;s strategic framework. The scenario targets a BSS with an initial stock of 120 batteries at varying stages of degradation, with cumulative usage cycles uniformly distributed in <inline-formula>
<mml:math display="inline" id="im95"><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo stretchy="false">/</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mrow><mml:mtext>life</mml:mtext></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn><mml:mo stretchy="false">]</mml:mo></mml:mrow></mml:math></inline-formula>. The solver reached the optimal solution with a Gap of 0.01% in 24.5 seconds.</p>
<sec id="s6_3_1">
<label>6.3.1</label>
<title>Cost structure analysis</title>
<p>The total NPV cost is 21.5 million Yuan over the planning horizon. For the cost composition, battery procurement is the dominant expenditure, accounting for nearly 80% of the total operating cost. Specifically, the initial procurement incurs 7.5 million Yuan (34.87%). Operational period procurement accounts for the largest share at 9.7 million Yuan (45.08%), reflecting the continuous investment required to sustain operations. The NPV of holding costs stands at 4.6 million Yuan (21.32%), illustrating the long-term financial burden of maintaining an inventory buffer.</p>
</sec>
<sec id="s6_3_2">
<label>6.3.2</label>
<title>Inventory and procurement dynamics</title>
<p><xref ref-type="fig" rid="f4"><bold>Figure&#xa0;4</bold></xref> visualizes the procurement decisions and inventory evolution. A total of 182 batteries are procured over the total horizon. The inventory trajectory exhibits a distinct &#x201c;high-fluctuation &#x2013; stability &#x2013; decay&#x201d; pattern. Initially, procurement initiates at 3 batteries (periods 1&#x2013;5) and escalates to 4 batteries (periods 6&#x2013;28) to counteract the retirement of legacy batteries. Crucially, the system enters an inventory stability phase from period 30 to 50, maintaining a constant level of 182 units. This phase represents optimal operational resilience, where the BSS possesses sufficient capacity to withstand operational demand without procurement. Finally, after period 51, inventory naturally decays to a minimum of 171 units.</p>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>Coupling analysis of inventory evolution and procurement decisions.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g004.tif">
<alt-text content-type="machine-generated">Bar chart titled &#x201c;Inventory Evolution vs. Procurement Decisions&#x201d; shows inventory quantity in blue bars and purchase quantity in a red line over 60 periods. Inventory quantity peaks around period 10, stabilizes, and then declines around period 28. Procurement stops at period 29, indicated by a white dotted line, and continues to rely on existing stock, marked as the &#x201c;Inventory Stability Phase."</alt-text>
</graphic></fig>
</sec>
<sec id="s6_3_3">
<label>6.3.3</label>
<title>Spatiotemporal evolution of battery age</title>
<p><xref ref-type="fig" rid="f5"><bold>Figure&#xa0;5</bold></xref> illustrates the structural rejuvenation of the battery. From the perspective of age distribution, the system begins with aging batteries, with 81.4% concentrated in the 30&#x2013;49 cycles. However, the active procurement strategy significantly rejuvenates the stock: by period 10, a substantial influx of &#x201c;young&#x201d; batteries (0&#x2013;9 cycles) accounts for 51.8% of the inventory. The most balanced distribution is observed at period 20, where young (40.9%), middle-aged (35.5%), and aging (23.7%) batteries coexist, ensuring stable service capability. From a temporal perspective, the evolution exhibits a diagonal &#x201c;wave-like&#x201d; propagation. The cessation of procurement after period 29 causes the heatmap intensity to shift diagonally upwards, showing the synchronized aging of the battery.</p>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>Spatiotemporal evolution of battery age structure.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g005.tif">
<alt-text content-type="machine-generated">Heat map showing battery age in cycles versus planning period. Color gradient from yellow to red represents the number of batteries, with red indicating a higher count. Vertical lines mark &#x201c;Max Share of Young Batteries&#x201d; and &#x201c;Procurement Stops&#x201d; at planning periods 10 and 30 respectively.</alt-text>
</graphic></fig>
</sec>
<sec id="s6_3_4">
<label>6.3.4</label>
<title>Budget utilization and cash flow</title>
<p><xref ref-type="fig" rid="f6"><bold>Figure&#xa0;6</bold></xref> shows the temporal evolution of cost composition. During the initial phase (periods 1&#x2013;5), the aggregate cost averages approximately 0.4 million Yuan per period. Subsequently, from period 6 to 28, the procurement strategy intensifies to fully saturate the budget limit, driving the procurement cost to 0.4 million Yuan and the total cost to nearly 0.5 million Yuan. A distinct structural shift occurs after period 29: as procurement stops, the total expenditure precipitates to 0.09 million Yuan, consisting solely of inventory holding expenses.</p>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>Cost structure analysis and budget utilization per period.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g006.tif">
<alt-text content-type="machine-generated">Bar graph illustrating cost structure analysis per period, comparing purchase and holding costs against a budget limit of fifty. Initial periods show mixed costs with holding and purchase, exceeding budget limit. Later periods shift to exclusive holding costs, staying below the limit.</alt-text>
</graphic></fig>
</sec>
</sec>
<sec id="s6_4">
<label>6.4</label>
<title>Case study of long-term planning</title>
<p>This section extends the analysis to a 20-year planning horizon. Unlike the 5-year short-term plan, this case assumes a scenario with zero initial inventory. The objective is to determine the optimal investment roadmap from scratch, using the demand characteristics of the target terminal to validate the model&#x2019;s long-term strategic performance. The solver reached the optimal solution with a gap of 0.01% in 1461 seconds.</p>
<sec id="s6_4_1">
<label>6.4.1</label>
<title>Investment analysis</title>
<p><xref ref-type="table" rid="T1"><bold>Table&#xa0;1</bold></xref> summarizes the key indicators over the planning horizon. The project costs a total NPV of 59.6 million Yuan. Analyzing the cost composition shows that operational period procurement is the main part, accounting for 53.5% of the total expenditure, while the initial setup cost accounts for 28.7%. In terms of inventory management, the system procures a total of 840 batteries. A significant initial stock of batteries is deployed to launch operations. It is worth noting that while operational procurement accounts for the majority of the total quantity, its proportion of the total cost is significantly lower. This disparity is attributable to the discounting effect inherent in the NPV mechanism, where expenditures occurring in the later stages of the 20-year horizon contribute less to the present value compared to upfront investments.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>Quantitative summary of the 20-year long-term plan.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Indicator</th>
<th valign="middle" align="center">Value</th>
<th valign="middle" align="center">Proportion</th>
</tr>
</thead>
<tbody>
<tr>
<th valign="middle" colspan="3" align="left">Cost structure (NPV, Million Yuan)</th>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Initial procurement cost</td>
<td valign="middle" align="center">17.1</td>
<td valign="middle" align="center">28.7%</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Operational procurement cost</td>
<td valign="middle" align="center">31.9</td>
<td valign="middle" align="center">53.5%</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Holding cost</td>
<td valign="middle" align="center">10.7</td>
<td valign="middle" align="center">18.0%</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Residual value recovery</td>
<td valign="middle" align="center">-0.1</td>
<td valign="middle" align="center">0.2%</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Total cost</td>
<td valign="middle" align="center">59.6</td>
<td valign="middle" align="center">100%</td>
</tr>
<tr>
<th valign="middle" colspan="3" align="left">Inventory &amp; procurement metrics (Units)</th>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Total procurement</td>
<td valign="middle" align="center">840</td>
<td valign="middle" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Initial stock</td>
<td valign="middle" align="center">171</td>
<td valign="middle" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Operational procurement</td>
<td valign="middle" align="center">669</td>
<td valign="middle" align="center">&#x2013;</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;End-of-period inventory</td>
<td valign="middle" align="center">85</td>
<td valign="middle" align="center">&#x2013;</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s6_4_2">
<label>6.4.2</label>
<title>Strategy evolution</title>
<p><xref ref-type="table" rid="T2"><bold>Table&#xa0;2</bold></xref> shows the strategic evolution of procurement decisions. The system exhibits a three-stage trajectory. First, the initial consumption phase (periods 1&#x2013;25) operates on the initial batteries with zero new procurement. The model strategically delays new purchases to maximize the NPV. Then transitions into a prolonged steady-state operation (periods 26-212), where procurement stabilizes at a rate of 3&#x2013;4 units per period. Finally, during the depletion phase (periods 213&#x2013;240), the model halts procurement. This mechanism minimizes the &#x201c;end-of-horizon effect,&#x201d; preventing the operator from holding surplus depreciating assets when the planning cycle ends. This multi-stage strategy confirms that the proposed DRO model effectively balances the immediate service needs with long-term asset sustainability under the budget constraint.</p>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>Phased operational strategy over the 20-year horizon.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Phase &amp; Period</th>
<th valign="middle" align="left">Procurement strategy</th>
<th valign="middle" align="left">Inventory status</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="left">1. Initial consumption</td>
<td valign="middle" align="left">Zero procurement</td>
<td valign="middle" align="left">Rapid depletion</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;(Periods 1&#x2013;25)</td>
<td valign="middle" align="left">Relying on initial stock.</td>
<td valign="middle" align="left">Consuming the initial 171 units.</td>
</tr>
<tr>
<td valign="middle" align="left">2. Steady-state operation</td>
<td valign="middle" align="left">Micro-replenishment</td>
<td valign="middle" align="left">Stable buffer</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;(Periods 26&#x2013;212)</td>
<td valign="middle" align="left">Constant 3&#x2013;4 units/period.</td>
<td valign="middle" align="left">Maintained at 171&#x2013;250 units.</td>
</tr>
<tr>
<td valign="middle" align="left">3. Inventory depletion</td>
<td valign="middle" align="left">Stop procurement</td>
<td valign="middle" align="left">Controlled decay</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;(Periods 213&#x2013;240)</td>
<td valign="middle" align="left">Ceasing new purchases.</td>
<td valign="middle" align="left">Dropping to 85 units.</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s6_5">
<label>6.5</label>
<title>Comparison between the expectation method</title>
<p>To evaluate the effectiveness of the CVaR approximation, this paper introduces a comparative method based on the expectation with the Wasserstein distance ambiguity set.</p>
<sec id="s6_5_1">
<label>6.5.1</label>
<title>The expectation method</title>
<p>The expectation method constructs an alternative deterministic optimization model that requires the battery supply to meet the worst-case expected demand. The expectation value method uses uses the constraint form shown in <xref ref-type="disp-formula" rid="eq22">Equation 22</xref>:</p>
<disp-formula id="eq22"><label>(22)</label>
<mml:math display="block" id="M24"><mml:mrow><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">K</mml:mi></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2265;</mml:mo><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="double-struck">E</mml:mi><mml:mi>&#x2119;</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>&#x3be;</mml:mi><mml:mi>t</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mtext>&#x2003;&#x2200;</mml:mtext><mml:mi>t</mml:mi><mml:mo>&#x2208;</mml:mo><mml:msup><mml:mi mathvariant="script">T</mml:mi><mml:mrow><mml:mtext>oper</mml:mtext></mml:mrow></mml:msup></mml:mrow></mml:math>
</disp-formula>
<p>This constraint focuses on the average demand with the Wasserstein distance ambiguity set, rather than a probabilistic guarantee under extreme scenarios. The expectation value method generally provides a more optimistic estimate of demand and can serve as a baseline in numerical experiments to quantify the conservatism and robustness advantage of the CVaR method. The closed-form expression for this formula is calculated in Theorem 2.</p>
<p>Theorem 2. <italic>Under the set of scenarios</italic><inline-formula>
<mml:math display="inline" id="im96"><mml:mtext>&#x3a9;</mml:mtext></mml:math></inline-formula>, <italic>let the uncertain value under each scenario</italic><inline-formula>
<mml:math display="inline" id="im97"><mml:mrow><mml:mi>&#x3c9;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mtext>&#x3a9;</mml:mtext></mml:mrow></mml:math></inline-formula><italic>be</italic><inline-formula>
<mml:math display="inline" id="im98"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mi>&#x3c9;</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula><italic>. Under the Wasserstein ambiguity set</italic><inline-formula>
<mml:math display="inline" id="im99"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula><italic>with radius</italic><inline-formula>
<mml:math display="inline" id="im100"><mml:mi>&#x3b8;</mml:mi></mml:math></inline-formula><italic>, the worst-case expected demand value is:</italic></p>
<disp-formula id="eq23"><label>(23)</label>
<mml:math display="block" id="M25"><mml:mrow><mml:munder><mml:mrow><mml:mi>sup</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x2119;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="double-struck">E</mml:mi><mml:mi>&#x2119;</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3be;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mo>|</mml:mo><mml:mtext>&#x3a9;</mml:mtext><mml:mo>|</mml:mo></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munder><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>&#x3c9;</mml:mi><mml:mo>&#x2208;</mml:mo><mml:mtext>&#x3a9;</mml:mtext></mml:mrow></mml:munder></mml:mstyle><mml:msub><mml:mover accent="true"><mml:mi>&#x3be;</mml:mi><mml:mo>^</mml:mo></mml:mover><mml:mi>&#x3c9;</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>&#x3b8;</mml:mi></mml:mrow></mml:math>
</disp-formula>
<p><italic>The proof follows a similar approach to</italic><xref ref-type="bibr" rid="B10">Mohajerin Esfahani and Kuhn (2018)</xref>.</p>
<p>Unlike traditional stochastic programming frameworks that assume a known, fixed probability distribution (e.g., Sample Average Approximation), this method also depends on the Wasserstein ambiguity set <inline-formula>
<mml:math display="inline" id="im101"><mml:mrow><mml:mi mathvariant="script">F</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x3b8;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> derived from the sample data in Section 6.2.</p>
</sec>
<sec id="s6_5_2">
<label>6.5.2</label>
<title>Comparative results</title>
<p><xref ref-type="table" rid="T3"><bold>Table&#xa0;3</bold></xref> compares the performance of the CVaR method and the expectation value method in the short-term case. The two methods show significant differences in cost and inventory strategy.</p>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>Comparison of CVaR method and expectation value method.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="left">Indicator</th>
<th valign="middle" align="center">CVaR method</th>
<th valign="middle" align="center">Expectation method</th>
</tr>
</thead>
<tbody>
<tr>
<th valign="middle" colspan="3" align="left">Cost structure (Million Yuan, NPV)</th>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Initial Procurement Cost</td>
<td valign="middle" align="center">7.5</td>
<td valign="middle" align="center">0.3</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Operational Period Procurement</td>
<td valign="middle" align="center">9.7</td>
<td valign="middle" align="center">9.3</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Holding Cost</td>
<td valign="middle" align="center">4.6</td>
<td valign="middle" align="center">2.9</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Residual Value Recovery</td>
<td valign="middle" align="center">0.3</td>
<td valign="middle" align="center">0.2</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Total Cost</td>
<td valign="middle" align="center">21.5</td>
<td valign="middle" align="center">12.3</td>
</tr>
<tr>
<th valign="middle" colspan="3" align="left">Battery procurement and inventory (Units)</th>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Initial Procurement (<italic>t</italic> =&#xa0;0)</td>
<td valign="middle" align="center">75</td>
<td valign="middle" align="center">3</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Operational Procurement</td>
<td valign="middle" align="center">107</td>
<td valign="middle" align="center">101</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;End-of-Period Inventory</td>
<td valign="middle" align="center">72</td>
<td valign="middle" align="center">61</td>
</tr>
<tr>
<td valign="middle" align="left">&#x2003;Total Procurement</td>
<td valign="middle" align="center">182</td>
<td valign="middle" align="center">104</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>This difference in procurement stems from the fundamentally different understanding of demand uncertainty by the two methods. The CVaR method focuses on the tail risk of the demand distribution, ensuring through <xref ref-type="disp-formula" rid="eq20">Equation 20</xref> that demand is met with at least a <inline-formula>
<mml:math display="inline" id="im102"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mo>&#xa0;</mml:mo><mml:mi>&#x404;</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> = 80% probability in the worst case. This constraint is practically aimed at the worst 20% of scenarios in the historical data&#x2014;such as extreme cases like concentrated ship arrivals or terminal operation peaks&#x2014;where battery swapping demand might reach 2&#x2013;3 times the average demand.</p>
<p>In contrast, the expectation value method, according to <xref ref-type="disp-formula" rid="eq23">Equation 23</xref>, only requires satisfying the average demand level, assigning equal weight to extreme and ordinary scenarios. This &#x201c;optimistic&#x201d; estimation can satisfy demand most of the time, but in the face of the aforementioned extreme scenarios, it may result in insufficient battery inventory, leading to the interruption of battery swapping services. For a container terminal, the interruption of battery swapping service leads to AGV stoppage, consequently affecting the coordinated work between quay cranes and yard stacking, causing a chain reaction of ship congestion and customer complaints, where the economic loss from a single interruption (including ship demurrage fees, customer compensation, and reputational loss) can reach several million Yuan.</p>
<p>Although the investment of the CVaR method is higher (a difference of 7.2 million Yuan, representing an approximately 17% increase in the short-term plan), considering the potential losses from battery swapping service interruptions, this additional investment is essentially a risk insurance. Therefore, the CVaR method is more suitable for container terminal operational scenarios that have strict requirements for service reliability and incur high costs for swapping interruptions.</p>
</sec>
</sec>
<sec id="s6_6">
<label>6.6</label>
<title>Sensitivity analysis</title>
<p>This section analyzes the sensitivity of the investment strategy to key parameters: the Wasserstein radius <italic>&#x3b8;</italic>, maximum violation probability <inline-formula>
<mml:math display="inline" id="im103"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula>, battery lifecycle <italic>K</italic><sub>life</sub>, and per-period budget <italic>B<sub>t</sub></italic>. The experimental results are illustrated in <xref ref-type="fig" rid="f7"><bold>Figure&#xa0;7</bold></xref>.</p>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>The impact of parameters on NPV and procurement quantity.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1754484-g007.tif">
<alt-text content-type="machine-generated">Four line graphs display the relationship between various parameters and total NPV cost in million Yuan. Top left: Theta versus cost shows an increase from 21.4 to 21.7. Top right: Epsilon versus cost decreases from 24.2 to 19.3. Bottom left: K_life versus cost declines from 26.4 to 18.6. Bottom right: B_t versus cost shows a slight decrease from 21.7 to 21.3. Each graph shows data points connected by lines.</alt-text>
</graphic></fig>
<p>The Wasserstein radius <italic>&#x3b8;</italic> quantifies the level of distributional ambiguity. We varied <italic>&#x3b8;</italic> within the range [0.01,0.5]. As illustrated in the results, the total NPV cost exhibits an increasing trend with <italic>&#x3b8;</italic>, rising from 21.4 million Yuan to 21.7 million Yuan. A larger radius implies a higher degree of uncertainty regarding the demand distribution, forcing the robust model to procure more batteries to hedge against worst-case scenarios. Conversely, a smaller <italic>&#x3b8;</italic> assumes the empirical data is highly reliable, leading to a lower cost strategy.</p>
<p>The parameter <inline-formula>
<mml:math display="inline" id="im104"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula> represents the terminal operator&#x2019;s tolerance for service level violations. We tested <inline-formula>
<mml:math display="inline" id="im105"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula> values from 0.1 to 0.3. The&#xa0;results indicate an inverse relationship between <inline-formula>
<mml:math display="inline" id="im106"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula> and total cost. When <inline-formula>
<mml:math display="inline" id="im107"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula> is low (e.g., 0.1, implying a 90% service level guarantee), the model tends to build a high safety stock, significantly increasing the NPV to 24.2 million Yuan. As <inline-formula>
<mml:math display="inline" id="im108"><mml:mi>&#x404;</mml:mi></mml:math></inline-formula> relaxes to 0.3, the system tolerates higher tail risks, allowing for a lower inventory and reduced expenditures (19.3 million Yuan).</p>
<p>Considering the battery technology enhancement, as <italic>K</italic><sub>life</sub> increases from 40 to 60 cycles, the total NPV cost decreases significantly from 26.4 million Yuan to 18.6 million Yuan. Longer life of batteries reduces the frequency of replacement cycles, thereby lowering the total procurement volume over the planning horizon (from 233 to 137 units).</p>
<p>Finally, we analyzed the sensitivity of the solution to the budget constraints. We found that when the budget is tightened to 80% of the baseline, the cost increases to 21.7 million Yuan. This increase is due to the liquidity constraint. Strict per-period budgets prevent the operator from purchasing in bulk when needed. Instead, the model is forced to pre-purchase batteries in earlier periods to accumulate stock gradually, which increases the NPV. As the budget relaxes&#xa0;to&#xa0;120%, the objective function value decreases to 21.3 million&#xa0;Yuan,&#xa0;as the relaxed constraint allows for optimal, just-in-time procurement.</p>
</sec>
</sec>
<sec id="s7" sec-type="conclusions">
<label>7</label>
<title>Conclusion and implications</title>
<p>To support the maritime industry&#x2019;s transition toward green logistics, this paper proposes a robust decision-making framework for the investment and management of battery swapping stations in automated container terminals. Recognizing that high capital costs and demand uncertainty are the primary hurdles to electrification, we constructed an age-based multi-period optimization model. This&#xa0;model manages the lifecycle of battery assets, aiming to minimize the net present value of operational costs while strictly&#xa0;adhering to budget constraints. To mitigate the operational risks brought by terminal operation plans, we have adopted a data-driven distributionally robust optimization (DRO) method, which does not rely on precise distribution assumptions. We minimize operational costs while ensuring a certain level of service reliability.</p>
<p>Numerical experiments based on real-world terminal data validate the effectiveness of the proposed framework. While the CVaR method incurs a higher investment compared to expectation-based methods, this additional cost acts as a necessary &#x201c;insurance premium.&#x201d; In the context of decarbonized ports, this investment effectively hedges against tail risks, preventing service interruptions that could lead to severe vessel congestion and carbon emissions. Thus, the proposed approach is particularly suitable for modern terminals where operational resilience is as critical as cost control.</p>
<p>Future research can be extended in the following directions to further enhance the sustainability of port operations. First, incorporating non-linear battery degradation models is a valuable direction. While this study adopts a linear assumption for strategic&#xa0;tractability, future work could explore data-driven or electrochemical degradation curves to optimize operational-level charging and discharging behaviors more precisely. Second, exploring flexible retirement mechanisms is a promising avenue. While this study assumes mandatory retirement at the maximum lifespan due to high procurement costs, future models could consider &#x201c;early retirement&#x201d; strategies driven by the potential economic benefits of cascading utilization for partially aged batteries. Third, constructing a dynamic decision model that explicitly accounts for technological advancements and fluctuating battery market prices would provide more adaptive guidance for long-term green investments.</p>
</sec>
</body>
<back>
<sec id="s8" sec-type="data-availability">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="supplementary-material" rid="SM1"><bold>Supplementary Material</bold></xref>. Further inquiries can be directed to the corresponding author.</p></sec>
<sec id="s9" sec-type="author-contributions">
<title>Author contributions</title>
<p>XL: Conceptualization, Data curation, Funding acquisition, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. ML: Formal analysis, Methodology, Validation, Writing &#x2013; original draft. ZC: Investigation, Validation, Writing &#x2013; review &amp; editing. QZ: Project administration, Supervision, Writing &#x2013; review &amp; editing.</p></sec>
<sec id="s11" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p></sec>
<sec id="s12" sec-type="ai-statement">
<title>Generative AI statement</title>
<p>The author(s) declared that generative AI was not used in the creation of this manuscript.</p>
<p>Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.</p></sec>
<sec id="s13" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p></sec>
<sec id="s14" sec-type="supplementary-material">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fmars.2025.1754484/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fmars.2025.1754484/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Presentation1.pdf" id="SM1" mimetype="application/pdf"/></sec>
<ref-list>
<title>References</title>
<ref id="B1">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Agra</surname> <given-names>A.</given-names></name>
<name><surname>Rodrigues</surname> <given-names>F.</given-names></name>
</person-group> (<year>2022</year>). 
<article-title>Distributionally robust optimization for the berth allocation problem under uncertainty</article-title>. <source>Transportation Res. Part B: Methodological</source> <volume>164</volume>, <fpage>1</fpage>&#x2013;<lpage>24</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.trb.2022.07.009</pub-id>
</mixed-citation>
</ref>
<ref id="B2">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Cao</surname> <given-names>Y.</given-names></name>
<name><surname>Yang</surname> <given-names>A.</given-names></name>
<name><surname>Liu</surname> <given-names>Y.</given-names></name>
<name><surname>Zeng</surname> <given-names>Q.</given-names></name>
<name><surname>Chen</surname> <given-names>Q.</given-names></name>
</person-group> (<year>2023</year>). 
<article-title>AGV dispatching and bidirectional conflict-free routing problem in automated container terminal</article-title>. <source>Comput. Ind. Eng.</source> <volume>184</volume>, <elocation-id>109611</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cie.2023.109611</pub-id>
</mixed-citation>
</ref>
<ref id="B3">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Che</surname> <given-names>A.</given-names></name>
<name><surname>Wang</surname> <given-names>Z.</given-names></name>
<name><surname>Zhou</surname> <given-names>C.</given-names></name>
</person-group> (<year>2024</year>). 
<article-title>Multi-agent deep reinforcement learning for recharging considered vehicle scheduling problem in container terminals</article-title>. <source>IEEE Trans. Intelligent Transportation Syst.</source> <volume>25</volume>, <fpage>16855</fpage>&#x2013;<lpage>16868</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TITS.2024.3412932</pub-id>
</mixed-citation>
</ref>
<ref id="B4">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Chen</surname> <given-names>K.</given-names></name>
<name><surname>Guo</surname> <given-names>J.</given-names></name>
<name><surname>Xin</surname> <given-names>X.</given-names></name>
<name><surname>Zhang</surname> <given-names>T.</given-names></name>
<name><surname>Zhang</surname> <given-names>W.</given-names></name>
</person-group> (<year>2023</year>). 
<article-title>Port sustainability through integration: A port capacity and profit-sharing joint optimization approach</article-title>. <source>Ocean Coast. Manage.</source> <volume>245</volume>, <elocation-id>106867</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.ocecoaman.2023.106867</pub-id>
</mixed-citation>
</ref>
<ref id="B5">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ding</surname> <given-names>Y.</given-names></name>
<name><surname>Yang</surname> <given-names>Y.</given-names></name>
<name><surname>Heilig</surname> <given-names>L.</given-names></name>
<name><surname>Lalla-Ruiz</surname> <given-names>E.</given-names></name>
<name><surname>Voss</surname> <given-names>S.</given-names></name>
</person-group> (<year>2021</year>). 
<article-title>Deployment and retrofit strategy for rubber-tyred gantry cranes considering carbon emissions</article-title>. <source>Comput. Ind. Eng.</source> <volume>161</volume>, <elocation-id>107645</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.cie.2021.107645</pub-id>
</mixed-citation>
</ref>
<ref id="B6">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Ghosal</surname> <given-names>S.</given-names></name>
<name><surname>Wiesemann</surname> <given-names>W.</given-names></name>
</person-group> (<year>2020</year>). 
<article-title>The distributionally robust chance-constrained vehicle routing problem</article-title>. <source>Operations Res.</source> <volume>68</volume>, <page-range>716&#x2013;732</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1287/opre.2019.1924</pub-id>
</mixed-citation>
</ref>
<ref id="B7">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Goldstein</surname> <given-names>M. A.</given-names></name>
<name><surname>Lynch</surname> <given-names>A. H.</given-names></name>
<name><surname>Li</surname> <given-names>X.</given-names></name>
<name><surname>Norchi</surname> <given-names>C. H.</given-names></name>
</person-group> (<year>2022</year>). 
<article-title>Sanctions or sea ice: Costs of closing the northern sea route</article-title>. <source>Finance Res. Lett.</source> <volume>50</volume>, <fpage>103257</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.frl.2022.103257</pub-id>
</mixed-citation>
</ref>
<ref id="B8">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Guan</surname> <given-names>L.</given-names></name>
<name><surname>Zhou</surname> <given-names>C.</given-names></name>
<name><surname>Che</surname> <given-names>A.</given-names></name>
</person-group> (<year>2025</year>). 
<article-title>A Q-learning-based neighborhood search for seaside vehicle dispatching and resource scheduling at automated container terminals</article-title>. <source>IEEE Trans. Intelligent Transportation Syst.</source> <volume>26</volume>, <fpage>16785</fpage>&#x2013;<lpage>16799</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/TITS.2025.3572945</pub-id>
</mixed-citation>
</ref>
<ref id="B9">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Miao</surname> <given-names>H.</given-names></name>
<name><surname>Feng</surname> <given-names>X.</given-names></name>
<name><surname>Li</surname> <given-names>X.</given-names></name>
</person-group> (<year>2025</year>). 
<article-title>Economic viability of arctic shipping under imo environmental regulations: a well-to-wake assessment of different carbon tax scenarios</article-title>. <source>Front. Mar. Sci.</source> <volume>12</volume>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fmars.2025.1575551</pub-id>
</mixed-citation>
</ref>
<ref id="B10">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Mohajerin Esfahani</surname> <given-names>P.</given-names></name>
<name><surname>Kuhn</surname> <given-names>D.</given-names></name>
</person-group> (<year>2018</year>). 
<article-title>Data-driven distributionally robust optimization using the Wasserstein metric: Performance guarantees and tractable reformulations</article-title>. <source>Math. Programming</source> <volume>171</volume>, <fpage>115</fpage>&#x2013;<lpage>166</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s10107-017-1172-1</pub-id>
</mixed-citation>
</ref>
<ref id="B11">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Peng</surname> <given-names>Y.</given-names></name>
<name><surname>Wang</surname> <given-names>W.</given-names></name>
<name><surname>Song</surname> <given-names>X.</given-names></name>
<name><surname>Zhang</surname> <given-names>Q.</given-names></name>
</person-group> (<year>2016</year>). 
<article-title>Optimal allocation of resources for yard crane network management to minimize carbon dioxide emissions</article-title>. <source>J. Cleaner Production</source> <volume>131</volume>, <fpage>649</fpage>&#x2013;<lpage>658</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jclepro.2016.04.120</pub-id>
</mixed-citation>
</ref>
<ref id="B12">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Rockafellar</surname> <given-names>R. T.</given-names></name>
<name><surname>Uryasev</surname> <given-names>S.</given-names></name>
</person-group> (<year>2000</year>). 
<article-title>Optimization of conditional value-at-risk</article-title>. <source>J. Risk</source> <volume>2</volume>, <fpage>21</fpage>&#x2013;<lpage>41</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.21314/JOR.2000.038</pub-id>
</mixed-citation>
</ref>
<ref id="B13">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Rodrigues</surname> <given-names>F.</given-names></name>
<name><surname>Agra</surname> <given-names>A.</given-names></name>
</person-group> (<year>2024</year>). 
<article-title>Handling uncertainty in the quay crane scheduling problem: A unified distributionally robust decision model</article-title>. <source>Int. Trans. Operational Res.</source> <volume>31</volume>, <fpage>721</fpage>&#x2013;<lpage>748</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/itor.13325</pub-id>
</mixed-citation>
</ref>
<ref id="B14">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Tadros</surname> <given-names>M.</given-names></name>
<name><surname>Ventura</surname> <given-names>M.</given-names></name>
<name><surname>Soares</surname> <given-names>C. G.</given-names></name>
</person-group> (<year>2023</year>). 
<article-title>Review of current regulations, available technologies, and future trends in the green shipping industry</article-title>. <source>Ocean Eng.</source> <volume>280</volume>, <fpage>114670</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2023.114670</pub-id>
</mixed-citation>
</ref>
<ref id="B15">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Tan</surname> <given-names>Z.</given-names></name>
<name><surname>Zhang</surname> <given-names>Q.</given-names></name>
<name><surname>Yuan</surname> <given-names>Y.</given-names></name>
<name><surname>Jin</surname> <given-names>Y.</given-names></name>
</person-group> (<year>2022</year>). 
<article-title>A decision method on yard cranes transformation and deployment in green ports</article-title>. <source>Int. Trans. Operational Res.</source> <volume>29</volume>, <fpage>323</fpage>&#x2013;<lpage>346</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1111/itor.13027</pub-id>
</mixed-citation>
</ref>
<ref id="B16">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Xin</surname> <given-names>X.</given-names></name>
<name><surname>Wang</surname> <given-names>X.</given-names></name>
<name><surname>Zhang</surname> <given-names>T.</given-names></name>
<name><surname>Chen</surname> <given-names>H.</given-names></name>
<name><surname>Guo</surname> <given-names>Q.</given-names></name>
<name><surname>Zhou</surname> <given-names>S.</given-names></name>
<etal/>
</person-group>. (<year>2023</year>). 
<article-title>Liner alliance shipping network design model with shippers&#x2019; choice inertia and empty container relocation</article-title>. <source>Electronic Research Archive</source>. <volume>31</volume>, <fpage>5509</fpage>&#x2013;<lpage>5540</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3934/era.2023280</pub-id>
</mixed-citation>
</ref>
<ref id="B17">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Xu</surname> <given-names>Q.</given-names></name>
<name><surname>Huang</surname> <given-names>X.</given-names></name>
<name><surname>Zhang</surname> <given-names>W.</given-names></name>
<name><surname>Zhao</surname> <given-names>H.</given-names></name>
<name><surname>Zhang</surname> <given-names>H.</given-names></name>
<name><surname>Jin</surname> <given-names>Z.</given-names></name>
</person-group> (<year>2025</year>). 
<article-title>Eurasian container intermodal transportation network: a robust optimization with uncertainty and carbon emission constraints</article-title>. <source>Front. Mar. Sci.</source> <volume>12</volume>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fmars.2025.1576006</pub-id>
</mixed-citation>
</ref>
<ref id="B18">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Xu</surname> <given-names>Q.</given-names></name>
<name><surname>Zhong</surname> <given-names>Y.</given-names></name>
<name><surname>Deng</surname> <given-names>H.</given-names></name>
<name><surname>Wang</surname> <given-names>X.</given-names></name>
<name><surname>Chen</surname> <given-names>X.</given-names></name>
</person-group> (<year>2024</year>). 
<article-title>Scheduling on tractor and trailer transportation considering the influence of disrupted events based on the contract net and simulated annealing algorithm</article-title>. <source>Digital Transportation Saf.</source> <volume>3</volume>, <fpage>155</fpage>&#x2013;<lpage>168</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.48130/dts-0024-0014</pub-id>
</mixed-citation>
</ref>
<ref id="B19">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>G.</given-names></name>
<name><surname>Zhang</surname> <given-names>Z.</given-names></name>
<name><surname>Yuan</surname> <given-names>H.</given-names></name>
<name><surname>Chen</surname> <given-names>W.</given-names></name>
</person-group> (<year>2025</year>a). 
<article-title>Emission-reduction investment strategies in competitive shipping supply chains under carbon cap-and-trade mechanisms</article-title>. <source>Front. Mar. Sci.</source> <volume>12</volume>. doi:&#xa0;<pub-id pub-id-type="doi">10.3389/fmars.2025.1546146</pub-id>
</mixed-citation>
</ref>
<ref id="B20">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>L.</given-names></name>
<name><surname>Wang</surname> <given-names>S.</given-names></name>
<name><surname>Qu</surname> <given-names>X.</given-names></name>
</person-group> (<year>2021</year>a). 
<article-title>Optimal electric bus fleet scheduling considering battery degradation and non-linear charging profile</article-title>. <source>Transportation Res. Part E: Logistics Transportation Rev.</source> <volume>154</volume>, <elocation-id>102445</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.tre.2021.102445</pub-id>
</mixed-citation>
</ref>
<ref id="B21">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>Q.</given-names></name>
<name><surname>Wang</surname> <given-names>S.</given-names></name>
<name><surname>Zhen</surname> <given-names>L.</given-names></name>
</person-group> (<year>2024</year>a). 
<article-title>Yard truck retrofitting and deployment for hazardous material transportation in green ports</article-title>. <source>Ann. Operations Res.</source> <volume>343</volume>, <fpage>981</fpage>&#x2013;<lpage>1012</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s10479-021-04507-0</pub-id>
</mixed-citation>
</ref>
<ref id="B22">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>Y.</given-names></name>
<name><surname>Baldacci</surname> <given-names>R.</given-names></name>
<name><surname>Sim</surname> <given-names>M.</given-names></name>
<name><surname>Tang</surname> <given-names>J.</given-names></name>
</person-group> (<year>2018</year>). 
<article-title>Routing optimization with time windows under uncertainty</article-title>. <source>Math. Programming</source> <volume>175</volume>, <fpage>263</fpage>&#x2013;<lpage>305</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s10107-018-1243-y</pub-id>
</mixed-citation>
</ref>
<ref id="B23">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>Y.</given-names></name>
<name><surname>Guo</surname> <given-names>Y.</given-names></name>
<name><surname>Huang</surname> <given-names>Y.</given-names></name>
<name><surname>Ge</surname> <given-names>S.</given-names></name>
</person-group> (<year>2025</year>b). 
<article-title>A low-carbon scheduling method based on improved ant colony algorithm for underground electric transportation vehicles</article-title>. <source>Complex &amp; Intelligent Systems</source>. <volume>11</volume>, <fpage>166</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s40747-024-01775-8</pub-id>
</mixed-citation>
</ref>
<ref id="B24">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>X.</given-names></name>
<name><surname>Li</surname> <given-names>H.</given-names></name>
<name><surname>Sheu</surname> <given-names>J.-B.</given-names></name>
</person-group> (<year>2024</year>b). 
<article-title>Integrated scheduling optimization of AGV and double yard cranes in automated container terminals</article-title>. <source>Transportation Res. Part B: Methodological</source> <volume>179</volume>, <elocation-id>102871</elocation-id>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.trb.2023.102871</pub-id>
</mixed-citation>
</ref>
<ref id="B25">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhang</surname> <given-names>Y.</given-names></name>
<name><surname>Zhang</surname> <given-names>Z. Z.</given-names></name>
<name><surname>Lim</surname> <given-names>A.</given-names></name>
<name><surname>Sim</surname> <given-names>M.</given-names></name>
</person-group> (<year>2021</year>b). 
<article-title>Robust data-driven vehicle routing with time windows</article-title>. <source>Operations Res.</source> <volume>69</volume>, <fpage>469</fpage>&#x2013;<lpage>485</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1287/opre.2020.2043</pub-id>
</mixed-citation>
</ref>
<ref id="B26">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhao</surname> <given-names>R.</given-names></name>
<name><surname>Liang</surname> <given-names>C.</given-names></name>
</person-group> (<year>2025</year>). 
<article-title>Optimizing AGV utilization and battery life in automated container terminals: Focus on a novel charging strategy and reinforcement learning algorithm</article-title>. <source>Journal of Cleaner Production</source>. <volume>519</volume>, <fpage>145939</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.jclepro.2025.145939</pub-id>
</mixed-citation>
</ref>
<ref id="B27">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhen</surname> <given-names>L.</given-names></name>
<name><surname>Zhang</surname> <given-names>Q.</given-names></name>
<name><surname>Tan</surname> <given-names>Z.</given-names></name>
<name><surname>Wang</surname> <given-names>S.</given-names></name>
</person-group> (<year>2025</year>). 
<article-title>Scheduling AGVs in ports with battery charging and swapping</article-title>. <source>IISE Trans.</source> <volume>57</volume>, <page-range>1245&#x2013;1262</page-range>. doi:&#xa0;<pub-id pub-id-type="doi">10.1080/24725854.2025.2468722</pub-id>
</mixed-citation>
</ref>
<ref id="B28">
<mixed-citation publication-type="journal">
<person-group person-group-type="author">
<name><surname>Zhou</surname> <given-names>C.</given-names></name>
<name><surname>Stephen</surname> <given-names>A.</given-names></name>
<name><surname>Tan</surname> <given-names>K. C.</given-names></name>
<name><surname>Chew</surname> <given-names>E. P.</given-names></name>
<name><surname>Lee</surname> <given-names>L. H.</given-names></name>
</person-group> (<year>2024</year>). 
<article-title>Multiagent Q-learning approach for the recharging scheduling of electric automated guided vehicles in container terminals</article-title>. <source>Transportation Sci.</source> <volume>58</volume>, <fpage>664</fpage>&#x2013;<lpage>683</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1287/trsc.2022.0113</pub-id>
</mixed-citation>
</ref>
</ref-list>
<fn-group>
<fn id="n1" fn-type="custom" custom-type="edited-by">
<p>Edited by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2159321">Zhongzhen Yang</ext-link>, Ningbo University, China</p></fn>
<fn id="n2" fn-type="custom" custom-type="reviewed-by">
<p>Reviewed by: <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3019917">Shanhua Wu</ext-link>, Ningbo University, China</p>
<p><ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/3295025">Ping He</ext-link>, Shanghai Jiao Tong University, China</p></fn>
</fn-group>
</back>
</article>