I develop an integrated scheduling framework for electric car charging in a photovoltaic and storage assisted charging station. My starting point is practical: an electric car is not merely a load, but a flexible, time-coupled, and user-sensitive energy service demand. When many electric cars connect to a distribution network at the same time, the charging station experiences peak stacking, voltage stress, elevated network losses, and higher carbon emissions if the supplied electricity comes from high-emission generation periods. I therefore treat every electric car as a controllable load with arrival time, departure time, energy requirement, state of charge, and maximum charging power. I combine an improved long short-term memory predictor for photovoltaic power with an action-dependent heuristic dynamic programming algorithm for multi-objective scheduling. The main objective is to coordinate electric car charging so that user cost, peak-valley load difference, network loss, carbon emissions, and waiting time are improved together rather than optimized in isolation.
My formulation is built around four coupled subsystems: photovoltaic generation, electric car travel behavior, battery energy storage, and grid interaction. I use the electric car charging station as the physical boundary and the distribution network as the upstream energy source. I do not assume that photovoltaic output is deterministic. Instead, I model seasonal and meteorological variability explicitly and feed the forecast into the scheduling layer. I also do not assume that all electric cars behave identically. I model the statistical return-home behavior of private electric cars and then use that behavior to generate charging demand scenarios. In this way, the electric car charging strategy is evaluated under both supply-side uncertainty and demand-side uncertainty.
System Architecture and My Design Logic
I organize the charging station into three functional layers. The first layer is the power access layer, where photovoltaic generation, the distribution grid, and the battery energy storage system exchange energy. The second layer is the control and scheduling layer, where I forecast photovoltaic power, observe electric car states, estimate carbon intensity, and compute charging decisions. The third layer is the charging service layer, where electric cars receive dynamic charging service through charging piles. The structure is intentionally modular because I want the electric car scheduling policy to remain valid when the number of connected electric cars changes, when photovoltaic output fluctuates, and when the storage system changes its state of charge.

In my architecture, photovoltaic power is used first to serve electric car charging demand. If the photovoltaic output exceeds the total electric car charging demand, the surplus energy is absorbed by the storage system or exported according to the operating policy. If the photovoltaic output is insufficient, the grid supplies the deficit. The electric car charging demand is therefore not a fixed curve but a decision-dependent curve. The scheduling layer decides when each electric car charges, how much power it receives in each interval, and how the storage system charges or discharges. I use this architecture because it allows me to coordinate electric car charging with renewable generation without requiring a fully decentralized market mechanism.
| Layer | Main Function | Decision Variables | Uncertainty Source |
|---|---|---|---|
| Power access layer | Photovoltaic generation, grid exchange, storage charging and discharging | Grid power, storage charge power, storage discharge power | Solar irradiance, temperature, cloud cover, grid carbon factor |
| Control and scheduling layer | Forecasting, state estimation, multi-objective optimization | Electric car charging power, charging start time, storage mode | Electric car arrival and departure, energy demand |
| Charging service layer | Electric car connection, charging execution, user waiting time | Charging pile assignment, charging duration | User behavior and queueing |
Photovoltaic Power Prediction with Seasonal Awareness
I use an improved long short-term memory model to predict photovoltaic power because the electric car charging schedule depends strongly on the expected renewable supply. My model input contains three parts: a historical photovoltaic power window, a meteorological feature vector, and a seasonal one-hot encoding. I write the input at time t as
$$
X_t = [P_{t-n:t-1}, W_t, S_t]
$$
where the historical window is
$$
P_{t-n:t-1} = [P_{t-n}, P_{t-n+1}, \ldots, P_{t-1}]
$$
and the meteorological feature vector is
$$
W_t = [I_t, T_t, H_t, C_t]
$$
with solar irradiance I_t, ambient temperature T_t, humidity H_t, and cloud cover C_t. The seasonal variable S_t is encoded as spring, summer, autumn, or winter. I predict the next-step photovoltaic power as
$$
\hat{P}_t = f_{\mathrm{LSTM}}(X_t; \theta)
$$
and I train the network by minimizing the mean squared error
$$
\Phi(\theta) = \frac{1}{T}\sum_{t=1}^{T}(\hat{P}_t – P_t)^2
$$
My seasonal design is not a cosmetic addition. I train separate submodels for spring, summer, autumn, and winter because photovoltaic output has different daily shapes, peak levels, and volatility in different seasons. For an electric car charging station, this matters because the same charging policy may perform well in spring and poorly in summer if the forecast model fails to capture midday peaks and afternoon cloud transitions. I therefore use seasonal training and report forecast errors in a season-wise manner.
| Prediction Model | Spring RMSE (kW) | Summer RMSE (kW) | Autumn RMSE (kW) | Winter RMSE (kW) | Average MAPE (%) |
|---|---|---|---|---|---|
| Conventional LSTM | 13.8 | 15.2 | 12.6 | 9.4 | 8.7 |
| My improved LSTM | 10.2 | 12.3 | 9.3 | 7.6 | 6.2 |
The improvement is especially important for the electric car charging problem because forecast errors propagate into charging decisions. If the photovoltaic forecast is too high, the scheduler may defer electric car charging and rely on renewable energy that does not materialize. If the forecast is too low, the scheduler may import unnecessary grid electricity and increase both cost and carbon emissions. My improved model reduces the average MAPE by about 12.7 percent relative to the conventional LSTM benchmark, and the seasonal breakdown shows that the benefit is not limited to one season. I use the forecast as an input to the charging optimization rather than as a post-hoc correction.
| Input Feature | Symbol | Role in My Electric Car Charging Model |
|---|---|---|
| Historical photovoltaic power | P_{t-n:t-1} | Captures persistence and short-term ramps that affect available renewable energy for electric car charging |
| Solar irradiance | I_t | Primary driver of photovoltaic output and midday electric car charging opportunity |
| Ambient temperature | T_t | Affects panel efficiency and electric car air-conditioning load indirectly |
| Humidity | H_t | Captures weather state and cloud formation tendency |
| Cloud cover | C_t | Explains rapid photovoltaic dips that may force electric car charging rescheduling |
| Seasonal encoding | S_t | Allows separate electric car charging patterns in different seasons |
Electric Car Travel Behavior and Charging Demand
I model private electric car users because their charging behavior is strongly tied to daily travel and return-home time. I assume that an electric car begins charging after the user returns home, and I represent the return time with a normal distribution. The probability density function I use is
$$
f_s(x) =
\begin{array}{l}
\frac{1}{\sigma_s\sqrt{2\pi}}\exp\left[-\frac{(x-\mu_s)^2}{2\sigma_s^2}\right], \quad \mu_s – 12 < x \le 24 \\
\frac{1}{\sigma_s\sqrt{2\pi}}\exp\left[-\frac{(x+24-\mu_s)^2}{2\sigma_s^2}\right], \quad 0 < x \le \mu_s – 12
\end{array}
$$
where the mean return time is 17.6 and the standard deviation is 3.4 in my case study. This distribution produces a concentrated evening arrival pattern, which is exactly the pattern that creates electric car charging peaks. I use the distribution to generate electric car arrival scenarios, and then I evaluate whether the charging policy shifts electric car demand toward low-carbon or low-load intervals without violating user requirements.
| Travel Parameter | Value | Interpretation in My Electric Car Study |
|---|---|---|
| Mean return time | 17.6 | Most private electric cars arrive in the evening |
| Standard deviation | 3.4 | Controls the spread of electric car charging start times |
| Expected initial SOC | Scenario dependent | Determines energy required by each electric car |
| Target SOC | 0.90 | User expects sufficient energy before the next trip |
| Battery capacity | 50 kWh | Reference electric car battery size in my simulation |
| Maximum charging power | 7 kW | Reference electric car charger rating |
For each electric car i, I define the charging power x_{i,t} and impose the following constraints:
$$
x_{i,t} \le x_{i,\max}, \quad \forall i
$$
$$
\sum_{i \in J_t} x_{i,t} \le e_{\max}, \quad t=1,2,\ldots,T
$$
$$
\sum_{t=a_i}^{a_i+p_i} x_{i,t} \ge d_i, \quad \forall i
$$
where a_i is the arrival time, p_i is the parking duration, and d_i is the energy requirement of electric car i. The first constraint ensures that no electric car exceeds its charger limit. The second constraint ensures that the station does not exceed its aggregate capacity. The third constraint ensures that each electric car receives enough energy before departure. I treat these constraints as hard requirements because an electric car charging schedule that ignores departure energy is not feasible for users, even if it is attractive from the grid side.
Battery Energy Storage Model
I use battery energy storage as a buffer between photovoltaic generation and electric car charging demand. The storage system absorbs surplus photovoltaic energy and releases it when electric car demand is high or when grid carbon intensity is high. My state-of-charge transition is
$$
E_{i,t+1} = E_{i,t} + \left(U^C_{i,t}\eta^C_i P^{ESS,C}_{i,t} – \frac{U^D_{i,t}P^{ESS,D}_{i,t}}{\eta^D_i}\right)\Delta t
$$
with the complementarity condition
$$
U^C_{i,t} + U^D_{i,t} \le 1
$$
and the boundary conditions
$$
E_{i,0} = E_{i,T}
$$
$$
E_{i,\min} \le E_{i,t} \le E_{i,\max}
$$
$$
0 \le P^{ESS,C}_{i,t} \le P^{ESS,C}_{i,\max}
$$
$$
0 \le P^{ESS,D}_{i,t} \le P^{ESS,D}_{i,\max}
$$
These equations prevent simultaneous charging and discharging, keep the storage state within safe limits, and preserve the daily energy balance. I use this model because electric car charging stations often have short but sharp demand peaks. Storage can reduce the peak that the grid must supply, but it must be scheduled with the same care as electric car charging. In my framework, the storage decision is not a separate rule-based controller. It is part of the same optimization that schedules electric car charging.
| Storage Variable | Meaning | Constraint or Role |
|---|---|---|
| E_{i,t} | State of charge of storage i at time t | Bounded by minimum and maximum energy |
| P^{ESS,C}_{i,t} | Storage charging power | Limited by inverter and battery limits |
| P^{ESS,D}_{i,t} | Storage discharging power | Limited by inverter and battery limits |
| eta^C_i | Charging efficiency | Losses during storage charging |
| eta^D_i | Discharging efficiency | Losses during storage discharging |
| U^C_{i,t} | Charging state flag | Binary or relaxed indicator |
| U^D_{i,t} | Discharging state flag | Mutually exclusive with charging |
Grid Interaction and Carbon Emissions
I represent the grid interaction of the electric car charging station as
$$
P_{\mathrm{Grid}}(t) = P_{\mathrm{EC}}(t) – P^{utilized}_{\mathrm{PV}}(t)
$$
where P_EC(t) is the total electric car charging power and P_PV_utilized(t) is the photovoltaic power actually used at time t. When the right-hand side is positive, the station imports electricity from the grid. When it is negative, the station exports surplus photovoltaic energy or stores it. I use this relation to connect electric car charging decisions with grid-side emissions and network losses.
For carbon emissions, I use a time-varying emission factor because the carbon intensity of grid electricity changes across the day. The total carbon emissions from electric car charging are
$$
E_{CO2} = \sum_{t=1}^{T} P_t \Delta t EF_t
$$
where P_t is the electric car charging power, Delta t is the time step, and EF_t is the grid emission factor. I compute the grid emission factor as a generation-mix-weighted average:
$$
EF_t = \sum_{i=1}^{N}\frac{P_{i,t}}{P_{total,t}}EF_i
$$
This equation is central to my electric car charging strategy because it allows the scheduler to distinguish between two charging sessions that consume the same amount of energy but occur at different times. An electric car charged during a high-carbon period creates more emissions than the same electric car charged during a low-carbon period. My optimizer therefore has an incentive to move electric car charging toward low-carbon intervals while still respecting user departure constraints.
| Carbon Modeling Element | Symbol | Effect on Electric Car Charging |
|---|---|---|
| Charging power | P_t | Determines the energy drawn by electric cars |
| Time step | Delta t | Scales energy and emissions |
| Grid emission factor | EF_t | Shifts electric car charging toward cleaner hours |
| Generation share | P_{i,t}/P_{total,t} | Captures the generation mix at time t |
| Source emission factor | EF_i | Assigns emissions to each generation type |
Multi-Objective Electric Car Charging Formulation
I formulate the electric car charging problem as a multi-objective optimization problem. The first objective is the total charging cost for electric car users:
$$
\min f_1 = \sum_{n=1}^{N}\sum_{t’=1}^{T’} C_{k,t’}P_n X_{n,t’}\Delta t’
$$
Here C_{k,t’} is the electricity price in period t’, P_n is the charging power of electric car n, and X_{n,t’} is the charging state indicator. I include this objective because electric car users respond to price and because cost-minimizing charging often coincides with valley filling.
The second objective is the peak-valley difference of the distribution network load:
$$
\min f_2 = \max P_{t’} – \min P_{t’}
$$
where
$$
P_{t’} = P_{0,t’,d} + \sum_{n=1}^{N}P_n X_{n,t’}
$$
and P_{0,t’,d} is the base load. I use this objective because uncoordinated electric car charging can create a new evening peak even if the total daily energy is unchanged. Reducing the peak-valley difference improves transformer loading, voltage quality, and network security.
The third objective is the network loss cost:
$$
P^{loss}_{t,m} = R_m |U_{ml} – U_{mr}Y_m|^2
$$
$$
P^{loss}_t = \sum_{m=1}^{M}P^{loss}_{t,m}
$$
$$
f_3 = \sum_{t=1}^{24}k_{loss}P^{loss}_t
$$
I include network loss because electric car charging is not lossless from the perspective of the distribution system. A charging schedule that concentrates electric car demand at the wrong location or time can increase current density and losses. My objective therefore accounts for the physical path of electric car energy, not only the energy price.
I combine the three normalized objectives into a single weighted objective:
$$
\min F = \alpha_1 f_1 + \alpha_2 f_2 + \alpha_3 f_3
$$
$$
\alpha_1 + \alpha_2 + \alpha_3 = 1
$$
The weights allow me to represent different operator priorities. In my base case, I choose weights that balance user cost, grid peak reduction, and loss reduction. I also test alternative weights to verify that the electric car charging policy is not overly sensitive to a single preference.
| Objective | Expression | What It Controls in My Electric Car Model |
|---|---|---|
| User charging cost | f_1 | Encourages electric car charging in low-price periods |
| Peak-valley difference | f_2 | Prevents electric car charging from creating new peaks |
| Network loss cost | f_3 | Reduces grid-side losses caused by electric car demand |
| Weighted total | F | Balances economic, operational, and efficiency goals |
| Weight Set | alpha_1 | alpha_2 | alpha_3 | Interpretation |
|---|---|---|---|---|
| User-oriented | 0.50 | 0.30 | 0.20 | Prioritizes electric car charging cost |
| Grid-oriented | 0.25 | 0.50 | 0.25 | Prioritizes peak reduction |
| Balanced | 0.33 | 0.34 | 0.33 | Balances all objectives |
| Loss-aware | 0.30 | 0.30 | 0.40 | Emphasizes network efficiency |
Operating Constraints for Electric Cars and Storage
I enforce a set of physical and user constraints so that the optimized electric car charging schedule remains feasible. The electric car battery state of charge must remain within safe limits:
$$
SOC_{\min} \le SOC_{n,t’} \le SOC_{\max}
$$
I set SOC_min to 0.2 and SOC_max to 1.0 in my study. The electric car charging power must satisfy
$$
0 \le P_{n,t’} \le P_{\max}
$$
and the charging duration must be consistent with the energy required:
$$
0 \le T_n \le \frac{(SOC_{ex} – SOC_{in})E}{P_n \eta}
$$
where SOC_ex is the target state of charge, SOC_in is the initial state of charge, E is the electric car battery capacity, P_n is the charging power, and eta is the charging efficiency. I also constrain photovoltaic output and storage operation:
$$
0 \le P_{t,pv} \le P^{max}_{t,pv}
$$
$$
0 \le P^{dis}_{i,t} \le U_i(t)P^{dis}_{i,t,max}
$$
$$
0 \le P^{ch}_{i,t} \le [1-U_i(t)]P^{ch}_{i,t,max}
$$
$$
\mu^{ch}_i(t), \mu^{dis}_i(t) \in \{0,1\}
$$
$$
\mu^{ch}_i(t) + \mu^{dis}_i(t) \le 1
$$
$$
0 \le P^{ch}_i(t) \le \mu^{ch}_i(t)P^{ch,max}_i
$$
$$
0 \le P^{dis}_i(t) \le \mu^{dis}_i(t)P^{dis,max}_i
$$
These constraints ensure that the electric car charging schedule, storage schedule, and photovoltaic utilization are physically realizable. I treat the electric car departure requirement as the most important user constraint because it determines whether the electric car is available for the next trip.
| Constraint Category | Mathematical Form | Purpose |
|---|---|---|
| Electric car SOC | SOC_min to SOC_max | Protects the electric car battery |
| Electric car power | 0 to P_max | Respects charger and battery limits |
| Electric car duration | T_n bounded by energy requirement | Guarantees departure readiness |
| Photovoltaic output | 0 to P_pv_max | Keeps forecasted renewable supply feasible |
| Storage charge | P_ch limits and state flags | Prevents unsafe charging |
| Storage discharge | P_dis limits and state flags | Prevents unsafe discharging |
| Storage complementarity | mu_ch plus mu_dis at most 1 | Avoids simultaneous charge and discharge |
Action-Dependent Heuristic Dynamic Programming for Electric Cars
I use action-dependent heuristic dynamic programming because the electric car charging problem has continuous control variables, nonlinear coupling, and uncertain photovoltaic input. A conventional dynamic programming method would require a dense state grid and would suffer from the curse of dimensionality. A value-only adaptive dynamic programming method would estimate a state value function and then recover a policy, but the policy recovery step can lose information when the electric car charging action space is continuous. I therefore use an action-dependent Q function that evaluates state-action pairs directly.
I write the charging station dynamics as
$$
x(t+1) = F(x(t), u(t))
$$
where x(t) includes storage state, electric car states, electricity price, photovoltaic forecast, and carbon intensity, and u(t) includes storage charging and discharging power and electric car charging power. I define the performance index as
$$
J(x(t)) = \sum_{j=0}^{\infty}U(x(t+j), u(t+j))
$$
and the optimal performance index as
$$
J^*(x(t)) = \min_{u(t),u(t+1),\ldots}\sum_{j=0}^{\infty}U(x(t+j),u(t+j))
$$
The Bellman optimality condition gives
$$
J^*(x(t)) = \min_{u(t)}\left[U(x(t),u(t)) + J^*(x(t+1))\right]
$$
To avoid solving this equation over a high-dimensional state grid, I introduce an action-dependent Q function:
$$
Q(x(t),u(t)) = U(x(t),u(t)) + \gamma Q(x(t+1),u(t+1))
$$
where gamma is the discount factor. I set gamma to 0.95 because I want the electric car charging policy to value near-term user cost and carbon emissions while still considering the remaining daily horizon. The optimal action is then
$$
u^*(t) = \arg\min_{u(t)}\left[U(x(t),u(t)) + Q(x(t),u(t))\right]
$$
I approximate the Q function with a critic network and the policy with an actor network. Both networks are three-layer backpropagation networks. The actor network maps the electric car charging state to a continuous charging action, and the critic network evaluates the resulting state-action pair. I train the actor network to minimize the critic output and train the critic network to satisfy the action-dependent Bellman equation. This actor-critic structure is the reason I can handle continuous electric car charging power without discretizing it into a large set of levels.
| ADHDP Element | My Implementation | Role in Electric Car Charging |
|---|---|---|
| State x(t) | Storage SOC, electric car SOC, arrival and departure information, price, photovoltaic forecast, carbon factor | Describes the current charging environment |
| Action u(t) | Electric car charging power and storage charge or discharge power | Continuous decision variables |
| Utility U | Negative weighted cost, peak, loss, carbon, and waiting penalties | Encodes my multi-objective preference |
| Q function | Action-dependent value function | Evaluates state-action pairs directly |
| Actor network | Three-layer network with Sigmoid activation | Generates continuous electric car charging actions |
| Critic network | Three-layer network with Sigmoid activation | Approximates the Q value and guides actor updates |
| Discount factor | 0.95 | Balances short-term and long-term electric car charging effects |
Algorithm Execution
I execute the algorithm in an iterative loop. First, I initialize the critic network and the performance index. Second, I observe the current state, including photovoltaic power, storage state of charge, electric car states, and grid conditions. Third, I determine whether the load is above or below the reference condition and select the corresponding action set. Fourth, the actor network outputs a continuous electric car charging action, and the critic network evaluates it. Fifth, I update the actor network in the direction that reduces the Q value. Sixth, I update the critic network so that the Bellman equation is better satisfied. Seventh, I advance the time step and repeat until the performance index converges.
| Step | Operation | Output |
|---|---|---|
| 1 | Initialize critic network and Q values | Initial electric car charging policy |
| 2 | Observe current state and electric car connection data | State vector x(t) |
| 3 | Generate candidate electric car charging action | Continuous action u(t) |
| 4 | Evaluate action with critic network | Q(x(t),u(t)) |
| 5 | Update actor network to reduce Q | Improved electric car charging action |
| 6 | Update critic network to satisfy Bellman equation | Improved Q estimate |
| 7 | Advance time and repeat until convergence | Converged electric car charging strategy |
Convergence, Complexity, and Hyperparameters
I analyze convergence under the standard assumptions that the utility function is bounded and that the network weights update in a stable manner. The critic network reduces the Bellman residual, while the actor network reduces the Q value for the current state. As iterations proceed, the policy gradient approaches zero and the Q function approaches a fixed point. In my experiments, the algorithm converges within the configured iteration budget, and the electric car charging policy remains stable across repeated runs.
The computational complexity of one iteration is approximately
$$
O(T \times N \times L)
$$
where T is the number of time steps, N is the state dimension, and L is the number of hidden neurons. This is much lower than the exponential complexity of a dense dynamic programming table. It is also better suited to continuous electric car charging actions than a discrete-action deep Q network, because I do not need to discretize the charging power into a finite set. The continuous action capability is important for electric car charging because fine-grained power adjustment can reduce both cost and carbon emissions without violating user constraints.
| Hyperparameter | Value | Reason |
|---|---|---|
| Discount factor gamma | 0.95 | Balances current and future electric car charging cost |
| Learning rate | 0.001 | Stable gradient updates |
| Maximum iterations | 500 | Sufficient for convergence in my tests |
| Critic hidden neurons | 12 | Compact representation of Q values |
| Actor hidden neurons | 12 | Compact representation of electric car charging actions |
| Activation function | Sigmoid | Smooth nonlinear mapping |
| Optimizer | Adam | Efficient stochastic gradient update |
| Weight initialization | Random normal | Reproducible starting point |
Simulation Setup and Case Study
I evaluate the electric car charging strategy in a representative urban distribution area with a photovoltaic assisted charging station. I use 300 electric cars, a 50 kWh battery capacity per electric car, a 7 kW charger rating, and a target state of charge of 0.90. The baseline electricity price is 0.8 CNY per kWh, and I also use a time-of-use tariff with peak, flat, and valley periods. I compare four cases: unordered electric car charging, deep Q network scheduling, adaptive dynamic programming scheduling, and my action-dependent heuristic dynamic programming scheduling. The comparison is designed to isolate the effect of action-dependent value learning from the effect of simple time-of-use shifting.
| Simulation Parameter | Value | Role in Electric Car Scheduling |
|---|---|---|
| Number of electric cars | 300 | Defines the scale of charging demand |
| Electric car battery capacity | 50 kWh | Determines energy requirement per electric car |
| Electric car charger power | 7 kW | Limits individual charging rate |
| Energy consumption per 100 km | 15 kWh | Used to generate travel-based electric car demand |
| Target SOC | 0.90 | Ensures electric car readiness |
| Uniform electricity price | 0.8 CNY per kWh | Reference tariff |
| Peak tariff | 1.176 CNY per kWh | Discourages peak electric car charging |
| Flat tariff | 0.753 CNY per kWh | Intermediate price period |
| Valley tariff | 0.463 CNY per kWh | Encourages off-peak electric car charging |
| Tariff Period | Time Window | Price Level | Expected Electric Car Response |
|---|---|---|---|
| Peak | 10:00 to 15:00 and 18:00 to 21:00 | High | Reduce electric car charging unless departure requires it |
| Flat | 07:00 to 10:00, 15:00 to 18:00, and 21:00 to 23:00 | Medium | Moderate electric car charging |
| Valley | 23:00 to 07:00 | Low | Shift electric car charging to low-price hours |
Seasonal Load Scheduling Results
I evaluate the electric car charging strategy in four seasonal typical days because photovoltaic output and base load shape differ by season. In spring, the base load has morning and evening peaks with a clear midday scheduling window. Unordered electric car charging stacks on top of the evening peak and pushes the total load above 2000 kW. My action-dependent heuristic dynamic programming strategy reduces the peak by about 19.8 percent and increases valley utilization by about 32.4 percent. This result shows that the electric car charging policy uses the midday photovoltaic window and the late-night valley without compromising electric car departure energy.
In summer, the base load is high for much of the day because of cooling demand. Unordered electric car charging pushes the system peak above 2600 kW. The deep Q network performs slightly better than adaptive dynamic programming in the long high-load plateau, but neither method fully avoids the afternoon peak. My action-dependent heuristic dynamic programming strategy lowers the total load peak below 2200 kW and reduces the average load fluctuation rate by about 24.1 percent. The key reason is that my method evaluates continuous electric car charging actions and can reduce power before the peak rather than reacting after the peak has formed.
In autumn, the base load is relatively smooth and the scheduling window is wider. Unordered electric car charging still creates morning and evening stacking, but adaptive dynamic programming and my method both shift electric car demand effectively. My method produces the smoothest total load curve and achieves the best balance between energy utilization and load leveling. In winter, the base load has sharp morning and evening peaks because of heating and lighting demand. Unordered electric car charging raises the maximum load above 2400 kW. My method reduces the maximum peak by about 18.3 percent and improves the lowest valley charging efficiency by about 28 percent. These seasonal results confirm that the electric car charging strategy is not tuned to a single load shape.
| Season | Unordered Peak Condition | My Peak Reduction | My Valley Improvement | Main Electric Car Scheduling Effect |
|---|---|---|---|---|
| Spring | Peak above 2000 kW | 19.8% | 32.4% | Electric car charging shifted to midday and valley periods |
| Summer | Peak above 2600 kW | Below 2200 kW total peak | 24.1% fluctuation reduction | Continuous power reduction before afternoon peak |
| Autumn | Moderate peak stacking | Smoothest load curve | Best load balance | Electric car demand distributed across available windows |
| Winter | Peak above 2400 kW | 18.3% | 28% | Electric car charging shifted away from sharp evening peak |
| Strategy | Spring Behavior | Summer Behavior | Autumn Behavior | Winter Behavior |
|---|---|---|---|---|
| Unordered electric car charging | Evening stacking | Afternoon and evening stacking | Moderate stacking | Sharp peak amplification |
| Deep Q network | Partial peak shaving | Better plateau handling | Moderate smoothing | Limited valley filling |
| Adaptive dynamic programming | Good peak shaving | Limited in long plateau | Good smoothing | Partial valley filling |
| My ADHDP strategy | Best peak-valley balance | Best peak control | Smoothest total load | Best peak reduction and valley use |
Carbon Emission Reduction
I compare carbon emissions because electric car charging is sometimes described as zero-emission at the tailpipe, but the grid-side emissions depend on when the electric car charges. In my model, the carbon factor varies by time, so the scheduler can move electric car charging away from high-carbon periods. Unordered electric car charging concentrates demand in high-emission periods and therefore produces the highest emissions. The deep Q network reduces average carbon emissions by about 10.23 percent relative to unordered charging. Adaptive dynamic programming reduces emissions by about 18.34 percent. My action-dependent heuristic dynamic programming strategy reduces emissions by about 26.23 percent, which is the best result among the compared methods.
| Charging Strategy | Carbon Behavior | Average Carbon Reduction Relative to Unordered Charging |
|---|---|---|
| Unordered electric car charging | Peak concentration in high-carbon periods | 0% baseline |
| Deep Q network | Partial avoidance of high-carbon periods | 10.23% |
| Adaptive dynamic programming | Effective high-carbon window avoidance | 18.34% |
| My ADHDP strategy | Peak shaving plus deep-valley low-carbon charging | 26.23% |
The carbon result is not a side effect of cost minimization. It comes from the explicit carbon term in my utility function and from the action-dependent Q function that evaluates the consequence of each electric car charging action over the remaining horizon. If I removed the carbon term, the electric car charging policy would still shift some demand because of price, but the emission reduction would be smaller and less consistent across seasons. I therefore retain carbon emissions as a direct objective rather than treating it as an after-the-fact metric.
Cost, Peak-Valley Difference, and User Economics
I evaluate the economic performance of each electric car charging strategy. Unordered charging costs about 26763 CNY in total, with a maximum peak-valley difference of about 1873 kW. The deep Q network reduces the cost to about 20978 CNY and the peak-valley difference to about 637 kW. Adaptive dynamic programming reduces the cost to about 19406 CNY and the peak-valley difference to about 536 kW. My action-dependent heuristic dynamic programming strategy reduces the cost to about 18923 CNY and the peak-valley difference to about 478 kW. Relative to unordered charging, my method reduces the peak-valley difference by about 74.5 percent and lowers user charging cost substantially.
| Charging Strategy | Total Charging Cost (CNY) | Maximum Peak-Valley Difference (kW) | Peak-Valley Reduction |
|---|---|---|---|
| Unordered electric car charging | 26763 | 1873 | 0% baseline |
| Deep Q network | 20978 | 637 | 66.0% |
| Adaptive dynamic programming | 19406 | 536 | 71.4% |
| My ADHDP strategy | 18923 | 478 | 74.5% |
I attribute the economic improvement to two mechanisms. First, my method schedules electric car charging into valley price periods while respecting departure constraints. Second, my method reduces peak demand, which lowers network loss and avoids expensive high-load operation. The combination matters because a purely price-driven electric car charging policy can create a new peak if all electric cars respond to the same low-price signal. My multi-objective formulation prevents this by including the peak-valley term and the loss term.
Storage State of Charge and Battery Protection
I examine the storage state of charge over repeated cycles because storage is a long-lived asset and excessive cycling can reduce its useful life. I compare the deep Q network, adaptive dynamic programming, and my action-dependent heuristic dynamic programming strategy. After 600 cycles, my method maintains about 97.5 percent state of charge, adaptive dynamic programming maintains about 96 percent, and the deep Q network falls to about 95 percent. The result suggests that my electric car charging policy uses storage more gently and avoids unnecessary deep cycling. This is important for the economic viability of an electric car charging station because storage replacement cost can offset charging revenue if the storage system is aggressively cycled.
| Strategy | SOC After 600 Cycles | Storage Protection Assessment |
|---|---|---|
| Deep Q network | About 95.0% | Fastest degradation among the compared methods |
| Adaptive dynamic programming | About 96.0% | Moderate protection |
| My ADHDP strategy | About 97.5% | Best storage protection |
Network Loss and Power Flow Efficiency
I compare the active power loss rate on a summer typical day because summer has the highest electric car charging demand and the highest base load in my case study. Unordered electric car charging produces a loss rate of about 3.85 percent. Adaptive dynamic programming reduces the loss rate to about 3.12 percent. My action-dependent heuristic dynamic programming strategy reduces the loss rate to about 2.64 percent. The loss reduction is physically meaningful because electric car charging in the wrong location or at the wrong time increases branch current and reactive power flow. My method improves the current distribution by coordinating electric car charging with photovoltaic output and storage discharge.
| Strategy | Active Power Loss Rate on Summer Typical Day | Loss Reduction Relative to Unordered Charging |
|---|---|---|
| Unordered electric car charging | 3.85% | 0% baseline |
| Adaptive dynamic programming | 3.12% | 18.96% |
| My ADHDP strategy | 2.64% | 31.43% |
I also note that the loss result and the peak result are related but not identical. A strategy can reduce the peak without minimizing losses if it moves electric car charging to a location with high resistance or unfavorable voltage support. My formulation includes the loss term explicitly, so the electric car charging action is evaluated against both the system peak and the physical power flow path. This is one reason my method outperforms the peak-only and price-only strategies.
Waiting Time and User Service Quality
I measure waiting time because an electric car charging strategy that reduces cost but makes users wait too long is not acceptable in practice. I compare my action-dependent heuristic dynamic programming strategy with adaptive dynamic programming over a 24-hour horizon. Adaptive dynamic programming relies on real-time state estimation and reacts after the state changes, so its waiting time is higher in all periods and especially in peak periods. My method plans ahead and stabilizes the electric car charging sequence, so waiting time is lower across the day. The improvement is largest when many electric cars arrive close together, which is exactly the condition that stresses a charging station.
| Time Window | Adaptive Dynamic Programming Waiting Time | My ADHDP Waiting Time | Service Quality Interpretation |
|---|---|---|---|
| Morning transition | Higher | Lower | My strategy pre-allocates electric car charging slots |
| Midday photovoltaic peak | Moderate | Lower | My strategy uses renewable energy for electric car charging |
| Evening peak | Highest | Lowest among compared methods | My strategy avoids electric car queue stacking |
| Late-night valley | Low | Low | Both methods use valley charging |
Comparative Assessment of My Electric Car Charging Strategy
I summarize the comparison across cost, peak reduction, carbon emissions, network loss, storage protection, and waiting time. The unordered case is the baseline and performs worst on almost every dimension. The deep Q network is a strong baseline for high plateau loads, but its discrete action design limits fine-grained electric car charging control. Adaptive dynamic programming improves peak shaving and carbon reduction, but it relies on state value estimation and does not evaluate state-action pairs directly. My action-dependent heuristic dynamic programming strategy combines continuous action control, explicit multi-objective evaluation, and online adaptation, and it achieves the best overall performance in my case study.
| Evaluation Dimension | Unordered | Deep Q Network | Adaptive Dynamic Programming | My ADHDP |
|---|---|---|---|---|
| Charging cost | Highest | Lower | Lower | Lowest |
| Peak-valley difference | Highest | Reduced | Further reduced | Lowest |
| Carbon emissions | Highest | Moderate reduction | Strong reduction | Strongest reduction |
| Network loss | Highest | Not best | Lower | Lowest |
| Storage SOC retention | Not optimized | Lowest among compared methods | Moderate | Highest |
| Waiting time | Highest | Not optimized | Higher than my method | Lowest |
| Continuous electric car charging control | No | Limited | Yes but state-value based | Yes and action-value based |
| Season | Best Strategy in My Comparison | Why My Strategy Performs Well |
|---|---|---|
| Spring | My ADHDP | Uses midday photovoltaic and valley periods while reducing evening electric car stacking |
| Summer | My ADHDP | Reduces continuous high-load electric car charging before the afternoon peak |
| Autumn | My ADHDP | Produces the smoothest total load and the best energy utilization |
| Winter | My ADHDP | Reduces sharp peak amplification and improves valley charging efficiency |
Practical Implications for Electric Car Charging Stations
I draw several practical implications from my results. First, electric car charging should be scheduled with a forecast of renewable generation, not only with a price signal. A price-only policy can shift electric car demand into a low-price period that still has high carbon intensity or high network losses. Second, the charging station should use storage as a coordinated asset. Storage can absorb photovoltaic surplus and discharge during high-carbon or high-load periods, but it must be scheduled jointly with electric car charging to avoid unnecessary cycling. Third, the scheduling algorithm should support continuous electric car charging power. Discrete charging levels are easier to implement, but they can create unnecessary peaks and reduce the benefit of photovoltaic generation.
Fourth, user waiting time should be treated as a service constraint rather than an afterthought. My method reduces waiting time by planning electric car charging slots ahead and by stabilizing the sequence of electric car service. Fifth, carbon emissions should be included directly in the objective. If carbon is only reported after optimization, the electric car charging policy may appear clean on average while still concentrating demand in high-emission hours. My formulation avoids this problem by placing carbon emissions inside the action evaluation.
| Practical Recommendation | Reason from My Electric Car Study | Expected Benefit |
|---|---|---|
| Use seasonal photovoltaic forecasting | Electric car charging depends on renewable availability | Better use of low-carbon electricity |
| Coordinate storage with electric car charging | Storage can buffer photovoltaic surplus and peak demand | Lower peak and slower storage degradation |
| Use continuous charging actions | Fine control reduces peak stacking | Lower cost and lower network loss |
| Include user waiting time | Electric car users require acceptable service | Higher satisfaction and better station utilization |
| Include carbon in the objective | Grid carbon intensity varies by time | Measurable emission reduction |
Robustness and Sensitivity Discussion
I test the electric car charging strategy under different load shapes, different seasonal photovoltaic profiles, and different weight settings. The strategy remains feasible because the hard constraints on electric car state of charge, charging power, and departure energy are always enforced. When I increase the weight on cost, electric car charging moves more aggressively toward valley prices. When I increase the weight on peak reduction, electric car charging becomes smoother and the peak-valley difference decreases further. When I increase the weight on carbon, electric car charging shifts away from high-emission periods, but the cost benefit becomes slightly smaller. This trade-off is expected and is exactly why I use a weighted multi-objective formulation rather than a single-objective rule.
I also examine forecast uncertainty. If the photovoltaic forecast error increases, my method still performs better than unordered charging because the storage system and the electric car charging constraints provide a margin of adjustment. The action-dependent Q function is updated with the observed state, so the electric car charging policy can correct part of the forecast error online. This robustness is important because photovoltaic forecasting can never be perfect, especially under cloud transitions and extreme weather.
| Sensitivity Case | Main Change in Electric Car Charging | Observed Effect |
|---|---|---|
| Higher cost weight | More electric car charging in valley price periods | Lower user cost, slightly higher peak risk if not constrained |
| Higher peak weight | Flatter electric car charging profile | Lower peak-valley difference |
| Higher carbon weight | Electric car charging avoids high-emission hours | Lower carbon emissions |
| Higher photovoltaic forecast error | More reliance on storage and grid adjustment | Still better than unordered electric car charging |
| Higher electric car arrival uncertainty | More conservative charging allocation | Improved user satisfaction and fewer violations |
Why My Action-Dependent Design Fits Electric Cars
I choose action-dependent heuristic dynamic programming because the electric car charging decision is naturally an action evaluation problem. At each time step, I need to know not only how good the current state is, but also how good it is to charge a particular electric car at a particular power level. A state-value function alone does not answer this question directly. The action-dependent Q function does. This is especially useful when the number of connected electric cars changes, because the action space changes with the electric car set. My actor network outputs a continuous charging action, and my critic network evaluates that action in the current state.
The electric car charging problem also has a long time horizon. An electric car that arrives in the evening may not need to charge immediately, and a decision to defer charging can reduce cost and carbon emissions. However, deferring too long can violate the departure constraint. The discount factor and the Q function allow my method to balance immediate benefit against future feasibility. This is a better fit for electric car charging than a myopic rule that charges whenever the price is low or whenever the photovoltaic output is high.
| Design Choice | Alternative | Why I Prefer My Choice for Electric Cars |
|---|---|---|
| Action-dependent Q function | State-value function only | Directly evaluates electric car charging actions |
| Continuous actor output | Discrete action set | Fine-grained electric car charging power control |
| Seasonal photovoltaic forecast | Single annual model | Better renewable input for electric car scheduling |
| Multi-objective utility | Cost-only objective | Balances carbon, peak, loss, and waiting time for electric cars |
| Storage co-optimization | Rule-based storage control | Better photovoltaic buffering and electric car peak shaving |
Summary of My Findings
My first finding is that seasonal photovoltaic forecasting improves the input quality of the electric car charging problem. The improved LSTM reduces the average MAPE to about 6.2 percent, and the seasonal error pattern is more stable than the conventional LSTM benchmark. My second finding is that the multi-objective formulation can reduce electric car charging cost, peak-valley difference, carbon emissions, and network loss at the same time. The weighted objective does not force a single metric to dominate, and the electric car charging policy remains feasible under user constraints. My third finding is that action-dependent heuristic dynamic programming outperforms the compared baselines in my case study. The improvement is visible in seasonal load curves, carbon emissions, cost, network loss, storage protection, and waiting time.
My fourth finding is that storage protection and user service quality should be evaluated alongside cost and emissions. A strategy that minimizes cost but degrades storage quickly is not economically sustainable. A strategy that reduces emissions but makes electric car users wait too long is not socially sustainable. My method achieves a balanced outcome because the utility function and the action-dependent Q function evaluate the full state-action consequence. This balance is the main reason I consider the electric car charging strategy practical rather than only theoretically attractive.
| Finding | Evidence in My Study | Implication for Electric Car Charging |
|---|---|---|
| Seasonal forecasting matters | Average MAPE reduced to 6.2% | Better renewable input for electric car scheduling |
| Multi-objective scheduling works | Cost, peak, carbon, and loss all improve | Electric car charging can serve users and the grid |
| Action-dependent learning is effective | Best overall seasonal performance | Continuous electric car charging control is beneficial |
| Storage must be protected | About 97.5% SOC retained after 600 cycles | Long-term station economics improve |
| Waiting time matters | Lower waiting time than adaptive dynamic programming | Electric car users receive better service |
Conclusion
I have presented an adaptive charging optimization framework for electric cars in a photovoltaic and storage assisted charging station. I model electric car travel behavior, photovoltaic uncertainty, storage dynamics, carbon emissions, user cost, peak-valley load difference, network loss, and waiting time in one coordinated formulation. I use a seasonal improved LSTM model to forecast photovoltaic power and an action-dependent heuristic dynamic programming algorithm to schedule electric car charging and storage operation. My results show that the proposed electric car charging strategy reduces cost, lowers peak-valley difference, decreases carbon emissions, reduces network loss, protects storage state of charge, and improves user waiting time compared with unordered charging, deep Q network scheduling, and adaptive dynamic programming scheduling.
The broader lesson I draw is that electric car charging should be treated as a multi-energy, multi-objective, and user-aware service. The electric car is a flexible resource, but that flexibility is only useful when it is coordinated with renewable generation, grid conditions, storage limits, and user departure requirements. My framework provides such coordination. It can be extended to larger electric car fleets, different station layouts, vehicle-to-grid operation, and more detailed user preference models. I believe the action-dependent and data-driven design is a practical direction for future electric car charging systems because it combines physical feasibility with continuous control and measurable environmental benefit.
| Final Performance Area | My Electric Car Charging Result |
|---|---|
| Average photovoltaic forecast MAPE | 6.2% |
| Peak-valley reduction relative to unordered charging | 74.5% |
| Carbon emission reduction relative to unordered charging | 26.23% |
| Summer network loss rate | 2.64% |
| Storage SOC after 600 cycles | About 97.5% |
| User charging cost | 18923 CNY in my case study |
| Waiting time | Lower than adaptive dynamic programming |
| Overall best strategy among compared methods | My action-dependent heuristic dynamic programming strategy for electric cars |
