Printing is an electrically awkward industry. Presses and drying tunnels draw large blocks of power, equipment starts and stops create sharp demand peaks, and an interruption is not merely inconvenient: it produces web breaks, color drift and a run of spoiled stock. A supply arrangement that is single-source, inflexible and carbon-heavy fits this load profile badly. On-site wind and photovoltaic generation improve the carbon balance but inherit the intermittency of their resources, so storage becomes the element that reconciles variable generation with a load that demands continuity. Storage, however, is a wearing asset. Every charge and discharge removes a fraction of a lithium-ion battery’s usable capacity, and a dispatch strategy that minimizes today’s fuel and electricity bill while ignoring that wear is effectively borrowing against a future replacement.
The formulation described here places a semi-empirical battery life-loss model directly inside the economic dispatch of an integrated energy system (IES) serving a printing plant, treats operating cost, environmental cost and storage degradation as competing objectives, and solves the resulting problem with a chaos-mutation multi-objective particle swarm algorithm. The case used to exercise the model is a printing enterprise in Hebei Province, evaluated over a typical working day.
The load problem in printing plants
Two production stages dominate the electrical profile. Printing units require stable voltage and continuous supply across long runs, while drying and curing are high-power thermal processes that run for hours at a time. Starting a press or a drying line produces a transient that is well above the steady-state demand, and because downstream equipment is synchronized to the press, unplanned outages propagate through the whole line. The practical requirements are therefore high reliability, fast reserve, and a tariff structure that does not punish the plant for the shape of its load.
Renewable generation addresses only part of this. Wind and PV output are volatile and only partially predictable, which caps the share they can supply without firming. A battery energy storage system (BESS) supplies that firming: it absorbs surplus renewable energy, shifts cheap off-peak electricity into peak hours, and provides the fast response that stabilizes voltage and frequency. The benefit is real but conditional. A battery cycled aggressively for arbitrage earns money today and reaches end of life sooner, so the dispatch problem must price cycling explicitly rather than treat storage as a free buffer.
System layout and energy flows
The IES is organized in three stages. The input stage connects a utility grid, a gas network and renewable resources. The conversion stage contains wind turbines (WT), photovoltaic arrays (PV), a microturbine (MT) and a diesel generator set (DE). The output stage serves the plant’s electrical loads and the BESS, which acts as a bidirectional buffer on the DC/AC bus.

Energy flow follows the same three stages. The grid supplies the bulk of the electrical load and can absorb exports when on-site generation exceeds demand. Natural gas feeds the microturbine, which produces both electricity and usable heat at the plant. WT and PV feed the electrical bus subject to their instantaneous resource availability. The diesel set is held for backup and peak support, where fast start-up matters more than fuel efficiency. The BESS charges when generation exceeds load or when tariffs are low, and discharges into the bus during peaks, reducing both the import from the upper grid and the associated emissions.
Equipment models
Diesel generator. The DE carries fuel, maintenance and pollutant-treatment costs. Its operating and maintenance cost is proportional to output, the fuel curve is quadratic, and the emissions term aggregates pollutant-specific factors:
$$C_{DE,OM}=K_{DE,OM}\,P_{DE}$$
$$C_{DE,F}=a_1P_{DE}^{2}+b_1P_{DE}+c_1$$
$$C_{DE,EN}=\sum_{k=1}^{n}C_k\,\delta_k\,P_{DE}$$
where $P_{DE}$ is the electrical output, $K_{DE,OM}$ the maintenance coefficient, $a_1$, $b_1$, $c_1$ performance parameters, $\delta_k$ the emission factor of pollutant $k$ per unit of output, and $C_k$ its treatment cost coefficient.
Microturbine. The MT adjusts active output quickly, and its efficiency varies with the loading ratio. The part-load characteristic is represented by a cubic in normalized output, with fuel cost obtained from the gas price, the lower heating value $LHV$ and the instantaneous efficiency:
$$\eta_{MT}=a_2\left(\frac{P_{MT}}{65}\right)^{3}-b_2\left(\frac{P_{MT}}{65}\right)^{2}+c_2\left(\frac{P_{MT}}{65}\right)+d_2$$
$$C_{MT,OM}=K_{MT,OM}\,P_{MT},\qquad C_{MT,F}=\frac{c_{gas}\,P_{MT}}{LHV\cdot\eta_{MT}}$$
$$C_{MT,EN}=\sum_{k=1}^{n}C_k\,\chi_k\,P_{MT}$$
with 65 kW as the reference rating, $a_2$–$d_2$ efficiency parameters, and $\chi_k$ the emission factor of pollutant $k$.
Storage state. The state of charge evolves with charge and discharge power, capacity and one-way efficiencies, with the sign of $P_{BESS}$ selecting the branch:
$$SOC_t=\begin{cases}SOC_{t-1}+\dfrac{P_{BESS,t}\,\eta_{ch}\,\Delta t}{E_B}, & P_{BESS,t}>0\\[6pt]SOC_{t-1}+\dfrac{P_{BESS,t}\,\Delta t}{E_B\,\eta_{dis}}, & P_{BESS,t}<0\end{cases}$$
Here $E_B$ is rated capacity, $\eta_{ch}$ and $\eta_{dis}$ the charge and discharge efficiencies, and $\Delta t$ the dispatch step.
Quantifying battery degradation
End of life is conventionally defined as the point at which usable capacity falls to 80% of the rated value or internal resistance doubles; beyond that the pack may be repurposed or recycled. State of health expresses remaining capacity as a fraction of rated capacity, and depth of discharge (DOD) expresses the charge withdrawn in a cycle as a fraction of rated capacity:
$$SOH=\frac{E_{su}}{E_B}\times 100\%,\qquad DOD=\frac{E_{ch}}{E_B}$$
For the LiFePO4 cells used here, cycle life falls as cycles are driven deeper, as tabulated below. The relationship is smooth enough that a fifth-order polynomial fitted to such data reproduces the cycle count $N(DOD)$ with acceptable error.
| Depth of discharge | Cycle life (cycles) |
|---|---|
| 0.4 | 7200 |
| 0.6 | 6000 |
| 0.8 | 5200 |
| 1.0 | 4700 |
Because a real dispatch trace contains irregular partial cycles rather than full ones, rainflow counting is applied to the SOC profile to extract cycle depths, and each extracted cycle contributes a damage fraction equal to the reciprocal of its allowable cycle count. The decay rate over a dispatch horizon and the remaining life follow as:
$$\gamma_{BESS}=\sum_{i=1}^{n}\frac{1}{N_{max}\left(DOD(i)\right)},\qquad \varepsilon=1-\sum_{i=1}^{n}\gamma_i$$
Converting accumulated damage into an economic quantity requires the working life in years and a capital recovery factor, since a pack’s purchase cost must be spread over its service life at a discount rate rather than divided arithmetically:
$$T_{cal}=\frac{t_{cal}}{365}$$
$$C_{BESS}=C_{bin}\frac{r(1+r)^{T_{cal}}}{(1+r)^{T_{cal}}-1}\cdot\frac{1}{365}+\frac{C_{bw}}{365}$$
where $T_{cal}$ is service life in years, $t_{cal}$ the corresponding number of operating days, $r$ the annual interest rate, $C_{bin}$ the purchase cost and $C_{bw}$ the annual maintenance cost. The first term is the daily capital charge, the second the daily maintenance charge.
Objectives and constraints
Operating cost aggregates grid transactions, microturbine cost, diesel cost and the storage capital and maintenance charge. Grid cost separates purchase and sale at their respective tariffs:
$$C_1=C_{Grid}+C_{MT}+C_{DE}+C_{BESS}$$
$$C_{Grid}=C_{buy}+C_{sell},\qquad C_{buy}=c_{buy}P_{buy},\qquad C_{sell}=c_{sell}P_{sell}$$
Environmental cost converts pollutant flows from the grid interconnection, the microturbine and the diesel set into treatment expenditure:
$$C_2=C_{Grid,EN}+C_{MT,EN}+C_{DE,EN},\qquad C_{Grid,EN}=\sum_{k}C_k\,\sigma_k\,P_{buy}$$
The dispatch is therefore posed as a three-objective minimization over operating cost, environmental cost and storage life-loss cost, with total cost retained as the reporting metric:
$$\min\ \mathbf{F}=\left(C_1,\ C_2,\ C_{BESS}\right),\qquad C_{total}=C_1+C_2$$
Feasibility is enforced through output and ramp limits on the dispatchable units, power and state-of-charge windows on the battery, an instantaneous power balance, and interchange limits at the point of connection:
$$P_{DE}^{\min}\le P_{DE,t}\le P_{DE}^{\max},\qquad \left|P_{DE,t}-P_{DE,t-1}\right|\le v_{DE}$$
$$P_{MT}^{\min}\le P_{MT,t}\le P_{MT}^{\max},\qquad \left|P_{MT,t}-P_{MT,t-1}\right|\le v_{MT}$$
$$P_{BESS}^{\min}\le P_{BESS,t}\le P_{BESS}^{\max},\qquad SOC^{\min}\le SOC_t\le SOC^{\max}$$
$$P_{PV}+P_{WT}+P_{Grid}+P_{DE}+P_{MT}+P_{BESS}=P_L$$
$$P_{Grid}^{\min}\le P_{Grid}\le P_{Grid}^{\max}$$
Solution method: chaos-mutation MOPSO
Particle swarm optimization is attractive for this class of problem because it needs few parameters, is simple to implement and converges quickly, and the multi-objective variant maintains an external archive of non-dominated solutions and applies grid-based clustering to select leaders. Each particle carries a position and velocity in the decision space, updated from its personal best and a global best drawn from the archive:
$$V_{nd}^{k+1}=wV_{nd}^{k}+\tau_1\xi_1\left(M_{pd}^{k}-X_{nd}^{k}\right)+\tau_2\xi_2\left(M_{gd}^{k}-X_{nd}^{k}\right)$$
$$X_{nd}^{k+1}=X_{nd}^{k}+V_{nd}^{k+1}$$
Three modifications address the known weaknesses of the plain algorithm. First, uniformly random initialization leaves large regions of the decision space empty and slows convergence, so a cubic chaotic map generates the initial population before it is mapped onto the box defined by the lower and upper bounds $L_d$ and $U_d$:
$$y_{k+1}=4y_k^{3}-3y_k,\qquad x_k=L_d+\frac{U_d-L_d}{2}\left(y_k+1\right)$$
Second, a fixed inertia weight causes premature convergence on this problem’s irregular Pareto front, so the weight is reduced linearly from $w_s$ to $w_e$ across the iterations, shifting the swarm from exploration to exploitation:
$$w=w_e+\frac{(w_s-w_e)(i_{\max}-i_t)}{i_{\max}}$$
Third, a mutation operator with an iteration-dependent probability is applied to maintain diversity in the later stage of the search:
$$P_m=\left(1-\frac{i_t}{i_{\max}}\right)^{\mu}$$
with $\mu$ controlling how quickly the mutation probability decays. The procedure runs a population of 100 particles for 100 iterations, updating velocities, positions, personal bests and the archive until the termination criterion is met, then exports the selected operating schedule.
Case study: a printing plant in Hebei
The model is exercised on measured working-day data from a printing enterprise in Hebei Province over a 24-hour horizon with a one-hour dispatch step. Unit ratings, ramp limits and maintenance coefficients, pollutant parameters, battery parameters and the time-of-use tariff are given in Tables 2 to 5. The forecast profiles for PV, WT and plant load show a load curve that dominates the other two series, with pronounced daytime demand; PV contributes only during daylight hours, and WT output varies across the day without following the load.
| Parameter | PV | WT | DE | MT | Grid |
|---|---|---|---|---|---|
| Maximum power (kW) | 50 | 100 | 30 | 30 | 30 |
| Minimum power (kW) | 0 | 0 | 6 | 3 | −30 |
| Maximum ramp (kW per step) | 1.5 | 0 | 0 | 1.5 | 0 |
| Maintenance coefficient (yuan/kWh) | 0 | 0 | 0.128 | 0.0293 | 0 |
| Pollutant | Treatment cost coefficient (yuan) | DE | MT | Grid |
|---|---|---|---|---|
| CO2 | 0.023 | 680 | 889 | 724 |
| SO2 | 6 | 0.306 | 1.8 | 0.0036 |
| NOx | 8 | 10.09 | 1.6 | 0.2 |
| Parameter | Value |
|---|---|
| Rated capacity $E_B$ (kWh) | 150 |
| Maximum charge power (kW) | 30 |
| Maximum discharge power (kW) | 30 |
| Charge and discharge efficiency | 0.9 |
| Maximum state of charge | 0.9 |
| Minimum state of charge | 0.2 |
| Maintenance cost coefficient | 0.026 |
| Period | Window | Price (yuan/kWh) |
|---|---|---|
| Peak | 09:00–14:00, 17:00–22:00 | 1.35 |
| Flat | 06:00–09:00, 14:00–17:00 | 0.82 |
| Valley | 00:00–06:00, 22:00–24:00 | 0.38 |
| Export to grid | — | 0.36 |
The tariff structure alone defines the arbitrage opportunity. With a peak-to-valley ratio of about 3.6 and a round-trip efficiency of 0.81, each kWh discharged at peak saves roughly 0.88 yuan relative to charging at valley price; the export price of 0.36 yuan/kWh sits below the valley price, so exporting stored energy is never attractive and the battery is used only to displace imports.
Results
Two scenarios separate the effect of degradation accounting. Scenario 1 excludes the life-loss term from the objective, so the battery is dispatched purely on price and emissions. Scenario 2 includes it, charging the dispatch for the damage each cycle causes. Both scenarios compare the standard MOPSO against the chaos-mutation variant, with identical population size (100), iteration count (100) and learning factors ($\tau_1=0.1$, $\tau_2=0.2$); the standard variant uses a fixed inertia weight of 0.6, the modified one uses $w_s=0.5$ and $w_e=0.001$.
| Metric | MOPSO | CM-MOPSO |
|---|---|---|
| Runs | 100 | 100 |
| Computation time (s) | 397 | 355 |
| Operating cost (yuan) | 364.67 | 352.70 |
| Environmental cost (yuan) | 58.94 | 53.63 |
| Total cost (yuan) | 423.61 | 406.33 |
Across 100 repeated runs the modified algorithm completes the same workload 42 s faster (about 11%) and returns a total cost 17.28 yuan lower, a 4.1% improvement, with both the operating and the environmental components reduced. Representative unit dispatch patterns show the microturbine and diesel set tracking the load peaks while the battery absorbs valley-hour energy and releases it during peak windows.
| Metric | MOPSO | CM-MOPSO |
|---|---|---|
| Battery life-loss cost (yuan) | 30.18 | 22.87 |
| Operating cost (yuan) | 373.36 | 349.35 |
| Environmental cost (yuan) | 55.40 | 52.88 |
| Total cost (yuan) | 458.94 | 425.10 |
Once wear is priced, the difference between algorithms widens: the life-loss charge drops from 30.18 to 22.87 yuan, and the total falls by 33.84 yuan, or 7.4%. The degradation-aware schedule is also visibly gentler on the battery. Under Scenario 1 the state of charge swings between 0.309 and 0.638, a span of 0.329; under Scenario 2 the same dispatch algorithm keeps it between 0.383 and 0.466, a span of 0.083 — roughly a quarter of the excursion.
Narrowing the SOC window is not free, and the accounts make the trade-off explicit. Moving from Scenario 1 to Scenario 2 raises the daily total from 406.33 to 425.10 yuan, an increase of 18.77 yuan or 4.6%. That increase is the net of two effects: the wear-aware dispatch actually saves about 4.1 yuan in operating and environmental cost, but it books 22.87 yuan of battery degradation cost that the other scenario ignores. The benefit appears on the asset side. Applying rainflow counting and the cycle-life fit to the two SOC traces gives an expected service life of about 9199 days under degradation-aware operation and about 7737 days when degradation is ignored. The gap is 1462 days, with the degradation-blind case reaching 84.1% of the degradation-aware life — the 15.89% difference expressed against the longer of the two.
What the results do and do not establish
The case supports a clear qualitative conclusion: a dispatch that prices cycling shifts storage operation toward shallower, less frequent excursions and lengthens service life, at a modest and quantifiable daily cost. It does not establish that the same numbers transfer to other plants. Several limits follow from the setup. The horizon is a single typical working day with deterministic forecasts, so forecast error, seasonal variation and multi-day price spreads are outside the analysis; a stochastic or robust formulation would be needed to claim reliability benefits. The degradation model is semi-empirical, and the fitted cycle-life curve is relatively shallow between 40% and 100% DOD, which makes predicted life sensitive to the polynomial fit and to how rainflow counting allocates partial cycles. The battery parameters correspond to a 150 kWh pack with a 30 kW power limit, a power-to-energy ratio of 0.2, so conclusions about deeper cycling may not carry over to high-power packs. Finally, equipment aging, thermal effects on efficiency and the option value of delaying replacement are not represented.
Conclusions
Embedding a cycle-life model into the dispatch of an integrated energy system changes how storage is used without changing the system’s physical configuration. In the Hebei printing-plant case, three outcomes follow.
1) The chaos-mutation multi-objective particle swarm algorithm converges faster and returns lower-cost schedules than the standard algorithm on the same problem, cutting computation time by roughly 11% and total daily cost by 4.1% when degradation is excluded from the objective and by 7.4% when it is included.
2) Making degradation a dispatch objective reduces the state-of-charge excursion from 0.329 to 0.083 and extends predicted battery service life from about 7737 to about 9199 days, a difference of 1462 days, in exchange for an 18.77 yuan increase in daily total cost driven almost entirely by the newly booked degradation charge.
3) For a printing plant, the practical value is not the daily saving but the avoided replacement cycles: a battery that lasts longer lowers the capital cost per unit of shifted energy and makes on-site renewable generation easier to justify against a load that cannot tolerate interruption.
