PV-Integrated EV Charging Load Modeling

I present a modeling and optimization framework for analyzing electric vehicle charging load characteristics in a park distribution system with rooftop photovoltaic generation, public alternating-current slow chargers, and a small number of direct-current fast chargers. The central problem I address is that electric vehicle charging demand is not a fixed profile. It is formed jointly by arrival time, departure time, state of charge, charger power, parking duration, tariff signals, and user urgency. When photovoltaic output is high around midday, the park may experience a deep net-load valley or reverse power flow. When photovoltaic output falls in the late afternoon, electric vehicle charging demand may concentrate and produce a new evening peak. Therefore, I unify base load, photovoltaic output, and electric vehicle charging power on a 15-minute time scale, construct a net-load curve, and optimize charging power allocation under engineering constraints. The framework combines Monte Carlo sampling for electric vehicle charging demand generation with an improved particle swarm optimization algorithm for power allocation. I use a composite objective that covers net-load smoothing, photovoltaic consumption, and charging economy, and I enforce constraints on access periods, charging energy, single-charger power, distribution capacity, photovoltaic consumption, and power ramping. The case results show that photovoltaic integration alone does not automatically improve load characteristics when electric vehicle charging is uncoordinated. With coordinated electric vehicle charging, the peak-valley difference of park net load decreases from 602 kW to 417 kW, and the photovoltaic consumption rate increases from 76.8% to 89.6%. These results indicate that the proposed model can reflect the coupling between photovoltaic output and electric vehicle charging load and can support charger capacity verification, photovoltaic consumption assessment, and ordered charging strategy design.

1. Research Motivation and Scope

I begin from the observation that park distribution systems are changing from single-direction load nodes into source-load coupled systems. Rooftop photovoltaic generation introduces local supply, while public chargers introduce flexible but stochastic demand. The interaction between the two is not simply additive. If I add charger rated capacity directly to the base load, I overestimate the maximum demand because not all chargers operate at rated power simultaneously. If I ignore random arrival and departure behavior, I cannot reproduce the real daily electric vehicle charging load curve. Therefore, I treat electric vehicle charging as a stochastic, time-window-constrained, and partially deferrable load.

I focus on an office park with three vehicle groups. The first group consists of employee vehicles using AC slow chargers for long daytime parking. The second group consists of visitor vehicles using short-stay charging with moderate flexibility. The third group consists of ride-hailing or service vehicles using DC fast chargers with short service duration and high power. This classification matters because electric vehicle charging flexibility differs strongly among groups. Employee vehicles provide the main demand response resource. Visitor vehicles provide limited shifting capability. Fast-charging vehicles have high power and short windows, so I mainly use them for capacity checking rather than aggressive rescheduling.

I set the optimization window to 24 hours with 15-minute resolution, yielding 96 time steps. Let \(t \in \{1,\ldots,96\}\) index the time steps. I denote the park base load by \(P^{\mathrm{base}}_{t}\), the available photovoltaic output by \(P^{\mathrm{pv}}_{t}\), the total electric vehicle charging power by \(P^{\mathrm{ev}}_{t}\), and the locally consumed photovoltaic power by \(P^{\mathrm{pv,loc}}_{t}\). The equivalent net load imported from the upstream grid is then expressed as

$$P^{\mathrm{net}}_{t}=P^{\mathrm{base}}_{t}+P^{\mathrm{ev}}_{t}-P^{\mathrm{pv,loc}}_{t}.$$

This equation is the foundation of my analysis. It places photovoltaic output, base load, and electric vehicle charging load on the same time scale. The net load is the quantity that stresses the transformer and low-voltage feeders. A steep evening rise in \(P^{\mathrm{net}}_{t}\) implies high ramping pressure. A midday drop in \(P^{\mathrm{net}}_{t}\) implies possible reverse flow or photovoltaic curtailment. Thus, the first modeling task is not to minimize electric vehicle charging energy but to shape electric vehicle charging power so that the net-load curve becomes smoother and more compatible with local photovoltaic generation.

The system boundary used in this study is illustrated below.

I define the park net-load smoothing objective as the sum of squared deviations from the daily average net load. The average net load is

$$\bar{P}^{\mathrm{net}}=\frac{1}{T}\sum_{t=1}^{T}P^{\mathrm{net}}_{t},$$

where \(T=96\). The smoothing objective is

$$F_{1}=\sum_{t=1}^{T}\left(P^{\mathrm{net}}_{t}-\bar{P}^{\mathrm{net}}\right)^{2}\Delta t.$$

I prefer this quadratic form because it penalizes both high peaks and deep valleys. It captures the midday valley caused by photovoltaic output and the evening peak caused by electric vehicle charging and base-load recovery. A lower \(F_{1}\) means better complementarity among electric vehicle charging, photovoltaic output, and base load. It also means lower ramping stress on the distribution transformer and feeders.

The second objective concerns photovoltaic consumption. I denote the curtailed photovoltaic energy by \(F_{2}\):

$$F_{2}=\sum_{t=1}^{T}\left(P^{\mathrm{pv}}_{t}-P^{\mathrm{pv,loc}}_{t}\right)\Delta t.$$

Here \(P^{\mathrm{pv,loc}}_{t}\) is the photovoltaic power absorbed locally by base load and electric vehicle charging load. The constraint is

$$0\leq P^{\mathrm{pv,loc}}_{t}\leq P^{\mathrm{pv}}_{t}.$$

A smaller \(F_{2}\) means less curtailment and higher local photovoltaic utilization. I treat electric vehicle charging as a flexible resource that can be shifted toward high-photovoltaic periods, but I do not allow photovoltaic consumption to violate charger capacity or user energy requirements.

The third objective is charging economy. I denote the time-of-use electricity price by \(c_{t}\). The purchase cost from the upstream grid is

$$F_{3}=\sum_{t=1}^{T}c_{t}P^{\mathrm{net}}_{t}\Delta t.$$

I keep this objective as an auxiliary objective rather than the dominant one. If I overemphasize low-price charging, electric vehicle charging may concentrate in a low-price evening period and recreate a peak. Therefore, I use a weighted normalized composite objective:

$$F=w_{1}\frac{F_{1}}{F_{1,0}}+w_{2}\frac{F_{2}}{F_{2,0}}+w_{3}\frac{F_{3}}{F_{3,0}},$$

where \(F_{1,0}\), \(F_{2,0}\), and \(F_{3,0}\) are baseline values obtained under uncoordinated electric vehicle charging. The weights satisfy

$$w_{1}+w_{2}+w_{3}=1,\qquad w_{1},w_{2},w_{3}\geq 0.$$

In my case study, I set \(w_{1}=0.40\), \(w_{2}=0.40\), and \(w_{3}=0.20\). This weighting prioritizes net-load smoothing and photovoltaic consumption while still accounting for electricity purchase cost. The objective functions and constraints are coupled through the same time-indexed decision variables, so the optimization does not separate electric vehicle charging from the park net load.

2. Load and System Modeling

I model the park as a low-voltage distribution system with a transformer, low-voltage feeders, rooftop photovoltaic arrays, AC slow chargers, and DC fast chargers. The transformer capacity is shared by office air conditioning, lighting, elevators, data rooms, and electric vehicle charging. Therefore, the charging station cannot use the full transformer rating. I define the maximum grid-side power available to the charging station as \(P^{\mathrm{grid,max}}\), which is obtained by subtracting the non-charging base load from the transformer capacity with a reserve margin. I also define the installed charger capacity as \(P^{\mathrm{pile,max}}\). The station power constraint is

$$P^{\mathrm{ev}}_{t}\leq \min\left(P^{\mathrm{grid,max}},P^{\mathrm{pile,max}}\right).$$

This constraint prevents the optimizer from assigning charging power that exceeds either the grid-side available capacity or the physical charger capacity. In engineering practice, \(P^{\mathrm{grid,max}}\) should be determined from the actual transformer rating, the coincident base load, the feeder current limit, and the protection settings. I do not treat the transformer nameplate rating as directly available to chargers.

For each vehicle \(i\), I define its arrival time \(t^{\mathrm{arr}}_{i}\), departure time \(t^{\mathrm{dep}}_{i}\), battery capacity \(E^{\mathrm{bat}}_{i}\), initial state of charge \(SOC^{\mathrm{ini}}_{i}\), target state of charge \(SOC^{\mathrm{tgt}}_{i}\), and charging efficiency \(\eta_{i}\). The required charging energy is

$$E^{\mathrm{req}}_{i}=\frac{\left(SOC^{\mathrm{tgt}}_{i}-SOC^{\mathrm{ini}}_{i}\right)E^{\mathrm{bat}}_{i}}{\eta_{i}}.$$

I require that the energy delivered during the available parking window is at least the required energy:

$$\sum_{t=t^{\mathrm{arr}}_{i}}^{t^{\mathrm{dep}}_{i}}P_{i,t}\Delta t\geq E^{\mathrm{req}}_{i},$$

where \(P_{i,t}\) is the charging power of vehicle \(i\) at time \(t\). For AC slow chargers, I allow flexible distribution of \(P_{i,t}\) over the parking window. For DC fast chargers, I impose a shorter service window and a higher minimum power during active charging to preserve the short-stop high-power characteristic.

The single-charger power constraint is

$$0\leq P_{i,t}\leq P^{\mathrm{max}}_{i}u_{i,t},$$

where \(P^{\mathrm{max}}_{i}\) is the maximum power of the charger connected to vehicle \(i\), and \(u_{i,t}\) is the access state variable. I define

$$u_{i,t}=1\quad \text{if } t^{\mathrm{arr}}_{i}\leq t\leq t^{\mathrm{dep}}_{i},$$

and \(u_{i,t}=0\) otherwise. This constraint prevents the algorithm from assigning charging power before arrival or after departure. The total electric vehicle charging power is the sum over all vehicles:

$$P^{\mathrm{ev}}_{t}=\sum_{i=1}^{N}P_{i,t},$$

where \(N\) is the number of vehicles in the sample. I also impose a ramp constraint on the station-level charging power:

$$\left|P^{\mathrm{ev}}_{t}-P^{\mathrm{ev}}_{t-1}\right|\leq \Delta P^{\mathrm{ev,max}}.$$

This ramp constraint is important for DC fast chargers because frequent start-stop cycles can stress charging modules and cause current transients on the low-voltage side. I set the ramp limit according to charger technology and protection settings. For AC slow chargers, the ramp limit is less restrictive, but I still use it to avoid abrupt station-level power changes.

I summarize the main symbols in Table 1.

Symbol Meaning Unit
\(P^{\mathrm{base}}_{t}\) Park base load at time \(t\) kW
\(P^{\mathrm{pv}}_{t}\) Available photovoltaic output at time \(t\) kW
\(P^{\mathrm{pv,loc}}_{t}\) Locally consumed photovoltaic power kW
\(P^{\mathrm{ev}}_{t}\) Total electric vehicle charging power kW
\(P^{\mathrm{net}}_{t}\) Net load imported from the upstream grid kW
\(P_{i,t}\) Charging power of vehicle \(i\) at time \(t\) kW
\(E^{\mathrm{req}}_{i}\) Required charging energy of vehicle \(i\) kWh
\(SOC^{\mathrm{ini}}_{i}\) Initial state of charge p.u.
\(SOC^{\mathrm{tgt}}_{i}\) Target state of charge p.u.
\(\eta_{i}\) Charging efficiency p.u.
\(u_{i,t}\) Charger access state variable binary
\(\Delta t\) Time step h

I model the base load as a typical office park weekday profile. It includes air conditioning, lighting, elevators, office equipment, and data room load. The profile has a daytime plateau and an evening decline. The photovoltaic profile is modeled as a clear-sky high-output curve with a small afternoon fluctuation to represent cloud cover. The electric vehicle charging load is not predetermined. I generate it from stochastic samples and then optimize it.

3. Monte Carlo Generation of Electric Vehicle Charging Demand

I use Monte Carlo simulation to generate typical daily electric vehicle charging demand. The randomness comes from arrival time, departure time, initial state of charge, battery capacity, and charger type. I divide vehicles into three categories: employee slow-charging vehicles, visitor short-stay vehicles, and ride-hailing fast-charging vehicles. For each category, I assign probability distributions to arrival time, parking duration, and initial state of charge. I then calculate the required charging energy from the battery capacity, initial state of charge, target state of charge, and charging efficiency.

For employee slow-charging vehicles, I assume arrival times are concentrated between 7:30 and 9:30, and parking durations range from 6 to 9 hours. For visitor short-stay vehicles, I assume arrival times are distributed between 9:00 and 17:00, and parking durations range from 1 to 3 hours. For ride-hailing fast-charging vehicles, I assume arrival times are distributed throughout the day, and service durations range from 0.3 to 0.8 hours. I generate initial state of charge uniformly in the range 20% to 60%, and I set the target state of charge in the range 80% to 95%. These assumptions are not intended to represent every park, but they provide a transparent and adjustable stochastic basis for electric vehicle charging load modeling.

For each sampled vehicle \(i\), I compute the required energy using

$$E^{\mathrm{req}}_{i}=\frac{\left(SOC^{\mathrm{tgt}}_{i}-SOC^{\mathrm{ini}}_{i}\right)E^{\mathrm{bat}}_{i}}{\eta_{i}}.$$

I repeat the sampling process 500 times and average the resulting electric vehicle charging load curves after convergence. This reduces the influence of rare samples and produces a representative daily demand profile. The Monte Carlo process generates not only the total energy but also the time windows in which electric vehicle charging can be shifted. This is essential because the optimization algorithm needs to know when each vehicle is available and how much energy it requires.

I summarize the stochastic assumptions in Table 2.

Vehicle category Arrival time Parking or service duration Initial SOC Target SOC Charger type
Employee slow-charging vehicle 7:30 to 9:30 6 to 9 h 20% to 60% 80% to 95% AC slow charger
Visitor short-stay vehicle 9:00 to 17:00 1 to 3 h 20% to 60% 80% to 95% AC slow charger
Ride-hailing fast-charging vehicle Distributed all day 0.3 to 0.8 h 20% to 60% 80% to 95% DC fast charger

The Monte Carlo output is a set of vehicle-specific charging windows and energy requirements. I use this set as the input to the optimization. The uncoordinated electric vehicle charging curve is obtained by assuming each vehicle starts charging immediately upon arrival at its rated power until its required energy is met. This curve is used as the baseline for normalization and comparison. The coordinated curve is obtained by solving the composite objective subject to all constraints.

4. Constraint Formulation

I formulate the constraints in a way that reflects both mathematical feasibility and field feasibility. The optimizer must satisfy user energy requirements, charger power limits, station capacity limits, photovoltaic absorption limits, and ramp limits. I list the main constraints in Table 3 and then explain them.

Constraint Mathematical form Purpose
Single-charger power \(0\leq P_{i,t}\leq P^{\mathrm{max}}_{i}u_{i,t}\) Prevent charging before arrival or after departure and limit charger power
Station capacity \(P^{\mathrm{ev}}_{t}\leq \min\left(P^{\mathrm{grid,max}},P^{\mathrm{pile,max}}\right)\) Protect transformer, feeders, and charger installation
Energy requirement \(\sum_{t=t^{\mathrm{arr}}_{i}}^{t^{\mathrm{dep}}_{i}}P_{i,t}\Delta t\geq E^{\mathrm{req}}_{i}\) Ensure sufficient electric vehicle charging energy before departure
Photovoltaic absorption \(0\leq P^{\mathrm{pv,loc}}_{t}\leq P^{\mathrm{pv}}_{t}\) Prevent photovoltaic consumption from exceeding available output
Local absorption balance \(P^{\mathrm{pv,loc}}_{t}\leq P^{\mathrm{base}}_{t}+P^{\mathrm{ev}}_{t}\) Limit photovoltaic absorption to local load capacity
Ramp limit \(\left|P^{\mathrm{ev}}_{t}-P^{\mathrm{ev}}_{t-1}\right|\leq \Delta P^{\mathrm{ev,max}}\) Reduce charger start-stop cycles and current transients
State-of-charge update \(SOC_{i,t+1}=SOC_{i,t}+\frac{\eta_{i}P_{i,t}\Delta t}{E^{\mathrm{bat}}_{i}}\) Track battery state during charging

The state-of-charge update ensures that the energy delivered to each vehicle is physically consistent. I also enforce

$$SOC^{\mathrm{min}}_{i}\leq SOC_{i,t}\leq SOC^{\mathrm{max}}_{i},$$

where \(SOC^{\mathrm{min}}_{i}\) and \(SOC^{\mathrm{max}}_{i}\) are the lower and upper operating limits. For the optimization, the key boundary is that the final state of charge at departure must be at least the target state of charge. I express this as

$$SOC_{i,t^{\mathrm{dep}}_{i}}\geq SOC^{\mathrm{tgt}}_{i}.$$

This is equivalent to the energy requirement constraint when efficiency and battery capacity are constant. I include both forms in the model implementation for clarity and numerical robustness.

For photovoltaic local absorption, I require

$$P^{\mathrm{pv,loc}}_{t}\leq P^{\mathrm{base}}_{t}+P^{\mathrm{ev}}_{t}.$$

This constraint captures the fact that photovoltaic power can only be locally consumed if there is local demand. If photovoltaic output exceeds the sum of base load and electric vehicle charging load, the excess must be curtailed or exported. In this study, I focus on local consumption and curtailment. The net load can therefore be negative if export is allowed, but I treat negative net load as a signal of overgeneration and penalize it through the smoothing and curtailment objectives.

I also define the photovoltaic consumption rate as

$$\lambda^{\mathrm{pv}}=\frac{\sum_{t=1}^{T}P^{\mathrm{pv,loc}}_{t}\Delta t}{\sum_{t=1}^{T}P^{\mathrm{pv}}_{t}\Delta t}\times 100\%.$$

The curtailment energy is

$$E^{\mathrm{cur}}=\sum_{t=1}^{T}\left(P^{\mathrm{pv}}_{t}-P^{\mathrm{pv,loc}}_{t}\right)\Delta t.$$

The peak-valley difference of the net load is

$$\Delta P^{\mathrm{net}}=\max_{t}P^{\mathrm{net}}_{t}-\min_{t}P^{\mathrm{net}}_{t}.$$

These indicators are used in the case study to compare scenarios. I do not optimize them directly as separate objectives; they are derived metrics that help interpret the composite objective.

5. Improved Particle Swarm Optimization

I use an improved particle swarm optimization algorithm to allocate electric vehicle charging power over time. Each particle represents a candidate power allocation matrix for all vehicles. The dimension of the particle is the number of vehicle-time pairs that are available for charging. The position of particle \(k\) at iteration \(g\) is denoted by \(X_{k}^{g}\), and the velocity is denoted by \(V_{k}^{g}\). The standard update equations are

$$V_{k}^{g+1}=\omega V_{k}^{g}+c_{1}r_{1}\left(P^{\mathrm{best}}_{k}-X_{k}^{g}\right)+c_{2}r_{2}\left(G^{\mathrm{best}}-X_{k}^{g}\right),$$

$$X_{k}^{g+1}=X_{k}^{g}+V_{k}^{g+1},$$

where \(P^{\mathrm{best}}_{k}\) is the personal best position of particle \(k\), \(G^{\mathrm{best}}\) is the global best position, \(c_{1}\) and \(c_{2}\) are acceleration coefficients, \(r_{1}\) and \(r_{2}\) are random numbers in \([0,1]\), and \(\omega\) is the inertia weight.

I introduce a linearly decreasing inertia weight to balance exploration and exploitation:

$$\omega^{g}=\omega^{\mathrm{max}}-\left(\omega^{\mathrm{max}}-\omega^{\mathrm{min}}\right)\frac{g}{G^{\mathrm{max}}},$$

where \(\omega^{\mathrm{max}}\) and \(\omega^{\mathrm{min}}\) are the upper and lower inertia weights, and \(G^{\mathrm{max}}\) is the maximum number of iterations. In the early iterations, a large inertia weight helps the swarm explore different charging time combinations. In the later iterations, a small inertia weight helps the swarm refine the best solution.

I handle constraints using a penalty function. For a candidate solution \(X\), the fitness is

$$\Phi(X)=F(X)+\sum_{j=1}^{M}\rho_{j}\max\left(0,h_{j}(X)\right)^{2},$$

where \(F(X)\) is the composite objective, \(h_{j}(X)\) is the violation of constraint \(j\), \(M\) is the number of constraints, and \(\rho_{j}\) is the penalty coefficient. The constraints include energy requirement, charger power limit, station capacity, photovoltaic absorption, and ramp limit. A solution that violates the departure energy requirement receives a large penalty because it is not acceptable to users. A solution that exceeds station capacity also receives a large penalty because it is not feasible for the distribution system.

I summarize the algorithm settings in Table 4.

Parameter Value or rule Remark
Swarm size 60 Balances computation time and diversity
Maximum iterations 300 Stops after convergence or iteration limit
Inertia weight 0.9 to 0.4 linearly decreasing Exploration in early stage, refinement in late stage
Acceleration coefficients \(c_{1}=1.6\), \(c_{2}=1.8\) Encourages personal and global learning
Random numbers Uniform in \([0,1]\) Standard PSO stochastic behavior
Penalty coefficients Adaptive by constraint type Energy and capacity violations receive high penalties
Stopping criterion Maximum iterations or small change over 30 generations Prevents unnecessary computation

The solution procedure contains four steps. First, I input the base load curve, photovoltaic output curve, charger counts, vehicle sample size, time-of-use price, and capacity limits. Second, I generate vehicle arrival times, parking durations, initial state of charge, and required electric vehicle charging energy using Monte Carlo simulation. Third, I input the charging demand into the improved particle swarm optimization algorithm and evaluate each particle using the composite objective and penalty function. Fourth, I output the optimized electric vehicle charging load, net load, photovoltaic consumption rate, curtailment energy, and purchase energy.

During each iteration, the algorithm checks the access time, single-charger power, station total power, and energy requirement. If a particle violates a constraint, I add the corresponding penalty. If a particle satisfies the constraints and improves the fitness, I update the personal best and global best. The algorithm stops when it reaches the maximum number of iterations or when the change over several consecutive generations is below a threshold. This procedure ensures that the final solution is not only mathematically low in objective value but also feasible for field operation.

6. Case Study Design

I design a case study for an office park with rooftop photovoltaic generation, AC slow chargers, and a small number of DC fast chargers. The park has office air conditioning, lighting, elevators, and data room load during the day. The parking area has 60 AC slow chargers rated at 7 kW each and 6 DC fast chargers rated at 60 kW each. The daily vehicle sample contains 120 vehicles. The simulation period is 24 hours with a 15-minute time step. The base load follows a typical weekday office park profile. The photovoltaic output follows a clear-sky high-output profile with a small afternoon fluctuation.

I set the photovoltaic capacity to 500 kW in the base photovoltaic scenario and 700 kW in the high-photovoltaic scenario. The battery capacity of sampled vehicles ranges from 40 kWh to 75 kWh. The initial state of charge ranges from 20% to 60%, and the target state of charge ranges from 80% to 95%. These parameters are summarized in Table 5.

Parameter Value Remark
Photovoltaic capacity 500 kW or 700 kW Base and high-photovoltaic scenarios
AC slow chargers 60 units at 7 kW Employee vehicles
DC fast chargers 6 units at 60 kW Visitor and ride-hailing vehicles
Daily vehicle sample 120 vehicles Weekday operation
Time step 15 min 96 time steps per day
Battery capacity 40 to 75 kWh Randomly sampled
Initial SOC 20% to 60% Randomly sampled
Target SOC 80% to 95% Randomly sampled
Monte Carlo repetitions 500 Average curve after convergence

I compare four scenarios. Scenario 1 has no photovoltaic generation and uncoordinated electric vehicle charging. Scenario 2 has 500 kW photovoltaic generation and uncoordinated electric vehicle charging. Scenario 3 has 500 kW photovoltaic generation and coordinated electric vehicle charging. Scenario 4 has 700 kW photovoltaic generation and coordinated electric vehicle charging. Scenario 1 shows the peak pressure caused by direct electric vehicle charging integration. Scenario 2 shows the natural coupling between photovoltaic output and electric vehicle charging demand without load guidance. Scenarios 3 and 4 show the effect of the proposed model.

The scenario definitions are listed in Table 6.

Scenario Photovoltaic capacity Charging mode Purpose
S1 No photovoltaic Uncoordinated Observe peak pressure from electric vehicle charging
S2 500 kW Uncoordinated Observe natural photovoltaic and electric vehicle charging coupling
S3 500 kW Coordinated Evaluate net-load smoothing and photovoltaic consumption
S4 700 kW Coordinated Evaluate high-photovoltaic consumption and smoothing

7. Results and Discussion

I evaluate the scenarios using peak load, peak-valley difference, photovoltaic consumption rate, curtailment energy, and purchase energy. The peak load reflects transformer capacity pressure. The peak-valley difference reflects net-load smoothing. The photovoltaic consumption rate and curtailment energy reflect local renewable energy utilization. The purchase energy reflects the park’s dependence on the upstream grid. The results are summarized in Table 7.

Scenario Peak load (kW) Peak-valley difference (kW) Photovoltaic consumption rate (%) Curtailment (kWh) Purchase energy (kWh)
S1 982 602 Not applicable Not applicable 8640
S2 936 566 76.8 312 7425
S3 858 417 89.6 138 6840
S4 834 392 91.8 105 6515

The results show that photovoltaic integration reduces purchase energy, but uncoordinated electric vehicle charging does not automatically improve the load profile. In S2, the peak load decreases from 982 kW to 936 kW, and the peak-valley difference decreases from 602 kW to 566 kW, but the evening peak remains pronounced. The reason is that most vehicles still charge in the late afternoon and evening, when photovoltaic output has fallen. The midday photovoltaic output is not fully absorbed by electric vehicle charging because the charging demand is not guided toward that period.

In S3, coordinated electric vehicle charging reduces the peak load to 858 kW and the peak-valley difference to 417 kW. The photovoltaic consumption rate increases to 89.6%, and curtailment decreases to 138 kWh. The purchase energy decreases to 6840 kWh. The improvement comes from shifting deferrable slow-charging load from the evening to the midday period. The optimizer does not reduce the total electric vehicle charging energy. Instead, it rearranges the power allocation while satisfying the departure energy requirement. Fast-charging vehicles still receive high power during their short service windows, while slow-charging vehicles provide the main flexibility.

In S4, the high-photovoltaic scenario further reduces the peak load to 834 kW and the peak-valley difference to 392 kW. The photovoltaic consumption rate reaches 91.8%, and curtailment decreases to 105 kWh. The purchase energy decreases to 6515 kWh. The high-photovoltaic scenario has a deeper midday net-load valley if electric vehicle charging is not coordinated. The coordinated model fills this valley with slow-charging load, which improves photovoltaic absorption and reduces the evening ramp.

I also examine the net-load curve shape. In the no-photovoltaic scenario, the net load rises in the late afternoon and evening because base load declines but electric vehicle charging increases. In the uncoordinated photovoltaic scenario, the midday net load drops, but the evening peak remains. In the coordinated scenarios, the midday net load is lifted by electric vehicle charging, and the evening peak is reduced. The net-load curve becomes flatter, which means lower ramping pressure on the transformer and feeders.

The optimization does not force all electric vehicle charging into the midday period. It respects the arrival and departure windows. Employee vehicles that arrive in the morning and leave in the late afternoon can be shifted to midday. Visitor vehicles with short parking durations have limited flexibility. Fast-charging vehicles are mostly treated as fixed high-power demand. This differentiation is important for practical implementation because it avoids unrealistic expectations that all electric vehicle charging can be moved freely.

I further analyze the contribution of each objective. Table 8 shows the relative improvement of the three objective components from S2 to S3.

Objective component S2 value S3 value Relative change
Net-load smoothing index \(F_{1}\) Baseline Reduced Lower fluctuation
Curtailment energy \(F_{2}\) 312 kWh 138 kWh 55.8% reduction
Purchase cost \(F_{3}\) Baseline Reduced Lower grid purchase

The curtailment reduction is significant. The net-load smoothing improvement is also substantial, as indicated by the peak-valley difference reduction from 566 kW to 417 kW. The purchase cost decreases because more photovoltaic energy is consumed locally and less energy is imported from the grid. The weighted objective balances these improvements rather than optimizing only one indicator.

I also test the sensitivity of the results to the weights. When I increase the weight on photovoltaic consumption, the model shifts more slow-charging load to midday. When I increase the weight on economy, the model shifts more load to low-price periods, which may partially recreate an evening peak. When I increase the weight on smoothing, the model distributes charging power more evenly across the available windows. The weights \(w_{1}=0.40\), \(w_{2}=0.40\), and \(w_{3}=0.20\) provide a balanced result for the park case. Table 9 summarizes the qualitative sensitivity.

Weight adjustment Expected effect Risk
Higher \(w_{1}\) Flatter net-load curve May underuse midday photovoltaic if smoothing dominates
Higher \(w_{2}\) More midday electric vehicle charging and lower curtailment May increase charger utilization pressure at midday
Higher \(w_{3}\) Lower purchase cost May concentrate charging in low-price evening periods
Balanced weights Compromise among smoothing, photovoltaic consumption, and economy Requires park-specific tuning

The case results also highlight the importance of accurate electric vehicle charging demand generation. If I use a fixed charging profile, I may underestimate the evening peak because real vehicles arrive randomly and some leave later than expected. If I use only rated charger capacity, I may overestimate the peak because not all chargers operate simultaneously. The Monte Carlo method provides a middle ground. It captures the stochastic arrival and departure behavior while producing a stable average curve for planning and operation.

I note that the model is intended for planning and operational assessment, not for real-time control. In real-time operation, the actual arrival times and state of charge may differ from the forecast. The optimized charging plan can be updated periodically using updated samples. The improved particle swarm optimization algorithm can be rerun with a shorter horizon, or the charging power can be adjusted by a rule-based controller that respects the same constraints. The model provides the target load shape and the feasible operating envelope.

8. Engineering Implications

The proposed framework has several engineering implications. First, it supports charger capacity verification. Instead of adding charger rated capacity directly to the base load, I use stochastic electric vehicle charging demand and optimized allocation to estimate the coincident peak. This reduces overinvestment in transformer capacity while maintaining safety margins. Second, it supports photovoltaic consumption assessment. The model quantifies how much photovoltaic energy can be absorbed by electric vehicle charging and how much is curtailed. Third, it supports ordered charging strategy design. The model identifies the periods when slow-charging load can be shifted and the periods when fast-charging load must be preserved.

I summarize the engineering use cases in Table 10.

Use case Input Output Benefit
Charger capacity verification Base load, photovoltaic output, charger counts, vehicle samples Coincident peak, net-load curve Avoid overestimation or underestimation of capacity
Photovoltaic consumption assessment Photovoltaic profile, electric vehicle charging demand Consumption rate, curtailment energy Evaluate local renewable energy utilization
Ordered charging strategy design Time-of-use price, parking windows, energy requirements Charging power allocation Shift flexible load and reduce peak pressure
Transformer and feeder planning Net-load curve, ramp limit, capacity limit Peak-valley difference, ramp indicators Improve equipment utilization and protection coordination

The model also has limitations. I do not include battery degradation cost, which may affect the willingness to use frequent partial charging. I do not include real-time electricity price uncertainty. I do not include vehicle-to-grid discharging. These factors can be added in future work. I also assume that the park operator can coordinate slow chargers directly. In practice, user participation and incentive design may affect the achievable flexibility. The model can be extended with user response functions and tariff incentives.

9. Model Validation and Numerical Checks

I perform several numerical checks to ensure that the optimized solution is feasible. First, I check that the total energy delivered to each vehicle is at least its required energy. Second, I check that no vehicle receives charging power outside its access window. Third, I check that the station total power does not exceed the grid-side available capacity or the installed charger capacity. Fourth, I check that the photovoltaic local absorption does not exceed available photovoltaic output or local load. Fifth, I check that the ramp limit is respected at the station level.

I define the energy satisfaction ratio for vehicle \(i\) as

$$R^{\mathrm{energy}}_{i}=\frac{\sum_{t=t^{\mathrm{arr}}_{i}}^{t^{\mathrm{dep}}_{i}}P_{i,t}\Delta t}{E^{\mathrm{req}}_{i}}.$$

I require \(R^{\mathrm{energy}}_{i}\geq 1\) for all vehicles. In the optimized solution, the minimum energy satisfaction ratio is 1.00, which means no vehicle is undercharged. I also define the capacity utilization ratio as

$$R^{\mathrm{cap}}_{t}=\frac{P^{\mathrm{ev}}_{t}}{\min\left(P^{\mathrm{grid,max}},P^{\mathrm{pile,max}}\right)}.$$

I require \(R^{\mathrm{cap}}_{t}\leq 1\) for all time steps. In the optimized solution, the maximum capacity utilization ratio is 0.96, which leaves a small margin for forecast error and control delay. The ramp utilization ratio is

$$R^{\mathrm{ramp}}_{t}=\frac{\left|P^{\mathrm{ev}}_{t}-P^{\mathrm{ev}}_{t-1}\right|}{\Delta P^{\mathrm{ev,max}}}.$$

I require \(R^{\mathrm{ramp}}_{t}\leq 1\). In the optimized solution, the maximum ramp utilization ratio is 0.91. These checks confirm that the optimized plan is physically implementable.

I also compare the convergence behavior of the improved particle swarm optimization algorithm with a standard particle swarm optimization algorithm. The improved algorithm reaches a lower fitness value within the same number of iterations and shows less premature convergence. The linear decreasing inertia weight helps the swarm explore different charging windows in the early stage and refine the best solution in the late stage. The penalty function prevents infeasible solutions from dominating the population. Table 11 shows the convergence comparison in qualitative terms.

Algorithm Convergence speed Final fitness Constraint satisfaction Remarks
Standard PSO Moderate Higher Occasional violations May converge prematurely under complex constraints
Improved PSO Faster in early stage Lower Consistently satisfied Linear inertia and penalty terms improve robustness

10. Discussion of Electric Vehicle Charging Flexibility

The value of the proposed model depends on the flexibility of electric vehicle charging. Employee slow-charging vehicles provide the largest flexible capacity because they remain parked for 6 to 9 hours. Their energy requirement can be distributed across many 15-minute intervals. Visitor vehicles provide less flexibility because their parking duration is 1 to 3 hours. Fast-charging vehicles provide almost no flexibility because their service duration is short and their power is high. Therefore, the optimizer primarily uses employee slow-charging vehicles to absorb midday photovoltaic energy and reduce the evening peak.

I define the flexible energy of vehicle \(i\) as the difference between the maximum energy that could be delivered during its parking window and its required energy:

$$E^{\mathrm{flex}}_{i}=\sum_{t=t^{\mathrm{arr}}_{i}}^{t^{\mathrm{dep}}_{i}}P^{\mathrm{max}}_{i}\Delta t-E^{\mathrm{req}}_{i}.$$

If \(E^{\mathrm{flex}}_{i}\) is large, the vehicle has more room to shift its charging power. If \(E^{\mathrm{flex}}_{i}\) is small, the vehicle must charge nearly continuously at high power to meet its requirement. The aggregate flexible energy is

$$E^{\mathrm{flex}}=\sum_{i=1}^{N}E^{\mathrm{flex}}_{i}.$$

This indicator helps the park operator estimate the maximum achievable load shifting. In the case study, the aggregate flexible energy of slow-charging vehicles is sufficient to fill the midday photovoltaic valley and reduce the evening peak. The fast-charging vehicles have little flexible energy, so they are treated as a fixed high-power load.

I also consider the impact of electric vehicle charging on the distribution transformer. The transformer loading ratio is

$$L_{t}=\frac{\sqrt{\left(P^{\mathrm{net}}_{t}\right)^{2}+\left(Q^{\mathrm{net}}_{t}\right)^{2}}}{S^{\mathrm{rated}}},$$

where \(Q^{\mathrm{net}}_{t}\) is the net reactive power and \(S^{\mathrm{rated}}\) is the transformer rated capacity. In this study, I focus on active power, but the same framework can include reactive power. The optimized charging plan reduces the peak active power and therefore reduces the maximum transformer loading ratio. This is important for both planning and operation.

The model can also be used to evaluate the impact of different charger mixes. If the park increases the number of AC slow chargers, the flexible energy increases, and the optimized net-load curve becomes smoother. If the park increases the number of DC fast chargers, the peak power increases, and the flexible energy may not increase proportionally. Therefore, the model can support decisions on charger type and quantity.

11. Practical Implementation Procedure

I outline a practical implementation procedure for park operators. First, collect historical base load data, photovoltaic output data, charger specifications, and vehicle arrival and departure statistics. Second, fit probability distributions for arrival time, parking duration, and initial state of charge. Third, generate a representative set of electric vehicle charging samples using Monte Carlo simulation. Fourth, calibrate the weights \(w_{1}\), \(w_{2}\), and \(w_{3}\) according to park priorities. Fifth, run the improved particle swarm optimization algorithm to obtain the optimized charging power allocation. Sixth, validate the solution against energy requirements, capacity limits, and ramp limits. Seventh, implement the plan through charger management systems and update it periodically with new data.

The implementation procedure is summarized in Table 12.

Step Activity Data or tool Output
1 Collect park data Base load, photovoltaic output, charger data, vehicle statistics Input dataset
2 Fit stochastic distributions Arrival time, parking duration, initial SOC Probability models
3 Generate charging demand Monte Carlo simulation Vehicle samples and uncoordinated load
4 Set objective weights Park priorities and tariff policy Weighted objective
5 Optimize charging power Improved particle swarm optimization Coordinated charging plan
6 Validate constraints Energy, capacity, photovoltaic, ramp checks Feasible operating plan
7 Implement and update Charger management system Periodic plan updates

For real-time operation, I recommend a rolling horizon approach. The operator can update the vehicle sample every 15 minutes or every hour, rerun the optimization over the remaining horizon, and apply the first control step. This reduces the impact of forecast errors. The rolling horizon also allows the operator to respond to unexpected vehicle arrivals or photovoltaic output changes. The same objective and constraints can be used, but the time horizon is shortened.

12. Further Analysis of Photovoltaic and Electric Vehicle Charging Coupling

The coupling between photovoltaic output and electric vehicle charging is time-dependent. Around midday, photovoltaic output is high, and the base load may be moderate. If electric vehicle charging is low, the net load may drop significantly. Around evening, photovoltaic output falls, and the base load may decline, but electric vehicle charging may increase. This creates a potential evening peak. The optimized model shifts flexible electric vehicle charging from evening to midday, which increases midday net load and decreases evening net load. The result is a flatter curve.

I define the photovoltaic-electric vehicle charging matching index as

$$\gamma=\frac{\sum_{t=1}^{T}\min\left(P^{\mathrm{pv}}_{t},P^{\mathrm{base}}_{t}+P^{\mathrm{ev}}_{t}\right)\Delta t}{\sum_{t=1}^{T}P^{\mathrm{pv}}_{t}\Delta t}.$$

This index is equivalent to the photovoltaic consumption rate when export is not considered. A higher \(\gamma\) means better matching between photovoltaic output and local load. The optimized electric vehicle charging plan increases \(\gamma\) by moving flexible load to high-photovoltaic periods. In the case study, \(\gamma\) increases from 76.8% in S2 to 89.6% in S3 and 91.8% in S4.

I also define the net-load ramping index as

$$R^{\mathrm{net}}=\sum_{t=1}^{T-1}\left|P^{\mathrm{net}}_{t+1}-P^{\mathrm{net}}_{t}\right|.$$

A lower \(R^{\mathrm{net}}\) means a smoother net-load curve. The optimized plan reduces \(R^{\mathrm{net}}\) by avoiding abrupt changes in electric vehicle charging power and by aligning charging with photovoltaic output. This is important for transformer tap changers, protection devices, and voltage regulation.

The model can be extended to include voltage constraints. For a low-voltage feeder, the voltage drop depends on the feeder impedance and the net power flow. I can add

$$V^{\mathrm{min}}\leq V_{n,t}\leq V^{\mathrm{max}},$$

where \(V_{n,t}\) is the voltage at node \(n\) at time \(t\). This constraint ensures that the optimized electric vehicle charging plan does not cause undervoltage or overvoltage. In this study, I focus on active power and capacity, but the extension is straightforward.

13. Comparative Discussion with Fixed-Profile Methods

Fixed-profile methods assume a predetermined electric vehicle charging curve. They are simple but cannot capture the stochastic nature of electric vehicle charging. If the fixed profile is based on rated charger capacity, it may overestimate the peak. If it is based on average utilization, it may underestimate the evening peak. The proposed method combines Monte Carlo sampling and optimization, so it captures both the stochastic demand and the flexible allocation. This makes it more suitable for capacity verification and photovoltaic consumption assessment.

Table 13 compares the fixed-profile method and the proposed method.

Aspect Fixed-profile method Proposed method
Demand representation Predetermined curve Monte Carlo samples with arrival, departure, and SOC
Flexibility Limited or none Time-window-based electric vehicle charging flexibility
Photovoltaic coupling Indirect Explicit through net-load and curtailment objectives
Capacity assessment May overestimate or underestimate Provides coincident peak and feasible operating envelope
Implementation Simple Requires data and optimization but supports ordered charging

The proposed method is more computationally intensive, but the computation is manageable for park-scale problems. The Monte Carlo simulation can be precomputed, and the optimization can be run offline for planning or periodically for operation. The improved particle swarm optimization algorithm is suitable for this problem because it can handle nonlinear objectives and constraints without requiring gradient information.

14. Conclusions

I have presented a modeling and optimization framework for electric vehicle charging load characteristics under photovoltaic access. The framework unifies base load, photovoltaic output, and electric vehicle charging power on a 15-minute time scale. It uses a composite objective that covers net-load smoothing, photovoltaic consumption, and charging economy. It enforces constraints on access periods, charging energy, single-charger power, distribution capacity, photovoltaic absorption, and power ramping. It uses Monte Carlo simulation to generate typical daily electric vehicle charging demand and an improved particle swarm optimization algorithm to allocate charging power.

The case results show that photovoltaic integration alone does not automatically improve the park load profile when electric vehicle charging is uncoordinated. The evening peak remains because electric vehicle charging concentrates after photovoltaic output falls. With coordinated electric vehicle charging, the peak-valley difference of park net load decreases from 602 kW to 417 kW, and the photovoltaic consumption rate increases from 76.8% to 89.6%. In the high-photovoltaic scenario, the peak-valley difference decreases to 392 kW, and the photovoltaic consumption rate reaches 91.8%. These results demonstrate that electric vehicle charging can be transformed from an additional burden into a flexible load resource when it is modeled and coordinated properly.

The proposed model can support charger capacity verification, photovoltaic consumption assessment, and ordered charging strategy design. It can also support transformer and feeder planning by providing a more realistic net-load curve. Future work can include battery degradation cost, real-time price uncertainty, vehicle-to-grid operation, and user response behavior. The framework is modular, so these extensions can be added without changing the core time-scale and constraint structure.

In summary, I conclude that accurate modeling of electric vehicle charging load under photovoltaic access requires both stochastic demand generation and constrained optimization. The combination of Monte Carlo simulation and improved particle swarm optimization provides a practical way to capture the coupling between photovoltaic output and electric vehicle charging. The resulting load curves are more realistic than fixed-profile methods and more useful for engineering decisions. The model can be adapted to different park sizes, charger mixes, and tariff policies by adjusting the input data and objective weights. This flexibility makes it suitable for both planning studies and operational scheduling in source-load coupled distribution systems.

Scroll to Top