This invention discloses a real-time optimization method,
system, and device for vehicle-to-grid interaction based on a single-
network architecture, belonging to the field of
smart grid and
electric vehicle charging and discharging optimization. The method includes training and model deployment phases. In the
training phase, multi-
source data is first collected to construct a
state vector. This vector is then combined with a human risk preference model and a quantile mapping function to generate a fused
feature vector, constructing an overall optimal action network to output the optimal charging and discharging solution. After constraint correction, the vehicle state and scheduling cost are updated. Then, based on a normalized
advantage function, current and target network functions are constructed. Finally, through multiple rounds of training, the optimal action network is output. In the deployment phase, a data storage module collects real-
time data, which is then fused with features and fed into the optimal action network to obtain interaction values. An
intelligent decision-making module completes the energy interaction, and the interaction data is then fed back to the training module to achieve closed-loop model updates. This method simplifies the computational burden with a single network, achieving multi-objective collaborative optimization of grid load,
battery degradation, and vehicle owner benefits.