Grid-connected multi-string battery energy storage systems (BESS) operating under sustained high-power conditions face heat accumulation, power derating, and cooling-related efficiency losses, leading to trade-offs among thermal management, efficiency, and system availability. To manage these competing objectives, this work proposes a mixed-integer nonlinear programming (MINLP)-based multi-objective optimization (MOO) framework for optimal power allocation across parallel strings under air cooling. The optimization incorporates an equivalent circuit model (ECM) with SOC-, temperature-, and C-rate dependent internal resistance, temperature-driven derating, and an experimentally derived inverter loss model. High-fidelity control is achieved by co-simulating the optimizer with an electro-thermal BESS simulation that captures spatial thermal dynamics of the battery pack. The simulation provides online state of charge (SOC) and temperature feedback and is validated against industry-measured battery pack temperatures, revealing core temperatures up to 4.5 ◦C higher than those predicted by conventional 0D average thermal models calibrated to pack surface measurements. Simulation results show that the baseline MINLP controller with evenly weighted objectives achieves approximately 3% higher round-trip efficiency (RTE) and system availability compared to the industrial benchmark droop control while minimizing thermal derating. Linearized optimal control without thermal optimization results in higher maximum string temperatures up to 40 ◦C and 4% higher derating losses. A Pareto-based objective prioritization improves energy performance by up to 5% while keeping temperatures below the 35 ◦C derating threshold. System scalability analysis shows that operating an optimal subset of strings outperforms conventional full-string operation, achieving 5.5% higher RTE with comparable availability and thermal performance. The framework is released open-source for adaptation to custom BESS applications.
Electric vehicles (EVs) offer significant flexibility for participation in short-term electricity markets; however, their effective integration remains constrained by variability in user behavior, availability patterns, and operational requirements. This study investigates how vehicle-specific availability shapes vehicle-to-grid (V2G) participation in continuous intraday (CID) electricity markets using a vehicle-level rolling-horizon optimization framework integrated with battery simulation. Using real-world residential EV field-trial data, this study evaluates EV-specific charging and discharging behavior, economic performance, compliance with user-defined departure state-of-charge (SoC) targets, and battery degradation. The results reveal substantial heterogeneity in EV availability, ranging from 19.6% to 82.7% of the total time horizon, which is reflected in differences in vehicle-level flexibility and arbitrage opportunities. During the September 2024–August 2025 period, annual potential profits across individual EVs range from €253.1 to €1328.1, with higher-profit EVs generally exhibiting lower final state-of-health (SoH). Departure SoC remains close to user-defined targets, with 99% of shortfalls below 1.24%. Under identical EV availability conditions, average annual EV profit varies by approximately 3.6-fold across six market periods spanning 2019–2025. These findings highlight the importance of accounting for heterogeneous EV availability when evaluating vehicle-level flexibility and economic performance in continuous intraday electricity markets.