Please login first
Python-Based Automated Response Surface Methodology: Computational Replication and Validation Framework for Supercapattery Materials Optimization
* 1, 2, 3 , 2, 3
1  Institute of Mathematics, Federal University of Alagoas, Maceió 57072-970, AL, Brazil
2  Postgraduate Program in Chemical Engineering, Federal University of Alagoas, Maceió 57072-970, AL, Brazil
3  Catalysis and Chemical Reactivity Group (GCAR), Chemistry Department, Federal University of Alagoas, Maceió 57072-970, AL, Brazil
Academic Editor: Ziliang Wang

Abstract:

Response Surface Methodology (RSM) combined with Central Composite Design (CCD) represents a powerful statistical approach for materials optimization in energy storage systems [1,2]. RSM has been extensively applied in materials science to efficiently explore design spaces and identify optimal synthesis conditions, reducing experimental burden while maintaining rigor [2]. This study presents a complete computational framework for replicating, validating, and extending RSM-based optimization of NiCo₂S₄–graphene supercapattery materials through automated Python implementation, demonstrating the feasibility of reproducible computational design methodologies.

We replicated the optimization study [1] using a 20-experiment CCD with a five-level three-factor design. Independent variables were graphene/NCS ratio (0.6–7.4%), hydrothermal time (4.6–11.4 hours), and S/Ni molar ratio (3.3–6.7). Specific capacitance served as the response variable. A quadratic polynomial model was developed using multiple linear regression, with automated analysis including ANOVA calculations, Pareto analysis (α = 0.05), Shapiro–Wilk normality testing, and response surface mapping implemented in Python.

The quadratic model achieved R² = 0.9716 and adjusted R² = 0.9460, explaining 97.16% of variance. The G/NCS ratio emerged as the dominant factor (57.19% contribution, p < 0.0001), with significant synergistic interactions for G/NCS×S/Ni (p = 0.0068) and time×S/Ni (p = 0.0057). Residuals demonstrated normal distribution (Shapiro–Wilk p = 0.8531). The optimal predictions were G/NCS = 6.0% and time = 10.0 h, S/Ni = 6.0, yielding 2263 F/g with 2.32% deviation from the original experimental results.

This automated Python framework validates RSM methodology through independent replication with 97.68% agreement with the original study [1]. The computational approach significantly reduces time investment while maintaining statistical validity, supporting industry adoption of data-driven design methodologies in energy storage materials. The complete Python code is provided as open-source supplementary material, enabling transparency, reproducibility, and broader methodological accessibility for future materials optimization research.

[1] Hong, Z.-Y. et al. Response Surface Methodology Optimization in High-Performance Solid-State Supercapattery Cells Using NiCo₂S₄–Graphene Hybrids. Molecules 2022, 27, 6867.

[2] Pandey, V.K. et al. A Response Surface Methodology Optimization Approach to Architect Low-Cost Activated Carbon-Based Ternary Composite for Supercapacitor Application with Enhanced Electrochemical Performance. Synth. Metals 2025, 311, 117844.

Keywords: Python Automation; Supercapacitors; Design of Experiments; Computational Framework; Materials Optimization; Reproducible Research.
Comments on this paper
Patrícia Gomes
The work presented a Python-based computational framework for the automation and validation of the Response Surface Methodology applied to the optimization of supercapattery materials, demonstrating methodological rigor, reproducibility, and relevance to scientific and technological research.

Marco Oliveira
Excellent scientific paper. Clear, objective, and well-defined methodologically.



 
 
Top