Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23384588# Electrostatic Vacuum Regeneration of Waste Transformer Oil Reference implementation and raw experimental dataset for the manuscript**"Electrostatically assisted vacuum regeneration of waste transformer oilwith online four component dielectric loss decoupling."** The repository contains: * the 18-sheet raw experimental workbook used to produce every figure and table of the manuscript;* the Python 3.11 analysis stack (physics helpers, Havriliak-Negami fit, critical-field calibration, Π framework, Pareto location, Monte Carlo techno-economics, Welch ANOVA, closed-loop control simulation, figure generation);* the Siemens S7-1500 Structured Control Language (SCL) blocks that implement the online incremental PID controller, the Π supervisor, the cyclic organisation block and the global I/O data block for the plant PLC. The whole chain reproduces end-to-end with a single command. --- ## Directory layout ```electrostatic-vacuum-regeneration-wto/├── README.md this file├── requirements.txt pinned Python dependencies├── data/│ └── Experimental_Data.xlsx 18-sheet raw experimental dataset├── python/│ ├── utils.py shared physics (Eq. 1-14)│ ├── hn_fit.py Section 3.5.1 - staged HN fit│ ├── ec_calibration.py Section 3.2 / 4.1 - E_c(T, P)│ ├── segmented_regression.py Eq. 9 piecewise linear fit│ ├── pi_analysis.py Section 3.4 / 4.3 - Π phase│ ├── pareto_optimum.py Section 3.4.3 - Π* location│ ├── monte_carlo_techno_econ.py Section 5.7 - techno-economic MC│ ├── stats_tests.py Section 3.6.3 - Welch + Games-Howell│ ├── closed_loop_simulator.py control-loop simulation│ ├── figures.py Figures 8-16, Nature style│ └── main.py one-command orchestrator├── scl/│ ├── FB_PID_Controller.scl Eq. 15 incremental PID + fuzzy│ ├── FB_Pi_Supervisor.scl Eq. 12 Π <= 1.2 online guard│ ├── OB1_Main_Cyclic.scl cyclic 5-min OB│ └── DB_Global_IO.db global I/O data block└── outputs/ produced by main.py ├── hn_fit_Pi_star.csv ├── ec_LOO.csv ├── segmented_regression_fit.csv ├── pi_binned_medians.csv ├── rsm_Y1_coefs.csv ... rsm_Energy_coefs.csv ├── mc_techno_econ_summary.csv ├── games_howell_Y1_processes.csv ├── cld_Y1_processes.csv ├── closed_loop_sim.csv └── figures/ ├── Fig08_J_and_Y1_vs_E.png ├── Fig09_Y3_contours_at_three_E.png ├── Fig10_FTIR_1710_attenuation.png ├── Fig11_Pi_phase_three_zone.png ├── Fig12_Four_component_time_evolution.png ├── Fig13_Cole_Cole_arcs.png ├── Fig14_Attribution_validation.png ├── Fig15_Closed_loop_runs.png └── Fig16_Electrode_durability_30cycles.png``` --- ## Requirements The Python stack is pinned to the versions listed in the manuscript's CodeAvailability statement: ```python 3.11numpy==1.26.4scipy==1.11.4lmfit==1.2.2pandas>=2.0,<3.0openpyxl>=3.1matplotlib>=3.8``` The PLC code targets **Siemens S7-1500** and is compiled in **TIA PortalV18** with optimised block access. --- ## Reproduction ```bash# clone or extract the repositorycd electrostatic-vacuum-regeneration-wtopip install -r requirements.txtcd pythonpython main.py``` The orchestrator runs the full analysis chain in the order of themanuscript and writes every CSV and PNG under `outputs/`. No externalnetwork access and no manual steps are required. Each module can also be run on its own: ```bashpython hn_fit.py # Havriliak-Negami fit of the Pi* runpython ec_calibration.py # E_c(T, P) global fit + LOOpython segmented_regression.py # Eq. 9 piecewise linear fitpython pi_analysis.py # Pi phase diagrampython pareto_optimum.py # Pi* locationpython monte_carlo_techno_econ.py # techno-economic MCpython stats_tests.py # Welch ANOVA + Games-Howellpython closed_loop_simulator.py # closed-loop control simulationpython figures.py # Figures 8-16``` --- ## Deploying the SCL blocks on the PLC Import the four SCL files into a new S7-1500 project in TIA Portal V18: 1. `DB_Global_IO.db` as a Global DB with optimised access.2. `FB_PID_Controller.scl` as a Function Block; its instance DB is named `FB_PID_INST`.3. `FB_Pi_Supervisor.scl` as a Function Block; its instance DB is named `FB_PI_SUP_INST`.4. `OB1_Main_Cyclic.scl` as the cyclic OB (OB1). Wire the field transmitters and the actuator drives to the tags declaredin `DB_Global_IO.db`. The 5-min cycle is set by a cyclic interrupt (OB35)that sets the `M_5min_edge` flag. All thresholds (sigma_DC, Delta_eps1,Delta_eps2, eps_inf_i) and the Pi <= 1.2 band limit are defined asconstants inside the two FBs and inside OB1. --- ## Alignment with the manuscript | Module | Reports | Reference ||-------------------------------|---------------------------------------------------------|-------------------------------|| `utils.py` | Ps(T), E_c(T, P), Pi(T, P, E), HN(f), tan delta(f) | Eq. (1)-(14), Table 2 || `hn_fit.py` | sigma_DC, Delta_eps1, Delta_eps2, eps_inf_i | Table 5, Section 3.5.1 || `ec_calibration.py` | E_{c,0}, LOO cross-validation, CI coverage | Section 4.1, Table 2 || `segmented_regression.py` | J_c, E_c, s1, s2 with two-level bootstrap CI | Eq. (9), Section 4.1 || `pi_analysis.py` | three-zone response, 0.3-1.2 band, Pi* | Section 4.3, Fig. 11 || `pareto_optimum.py` | response-surface fits and D at Pi* = 0.65 | Section 3.4.3, Section 4.3 || `monte_carlo_techno_econ.py` | 95 % interval of net cost and BCR | Section 5.7 || `stats_tests.py` | Welch F*, Games-Howell, compact letter display | Section 3.6.3 || `closed_loop_simulator.py` | CL1-CL3 and D1-D2 trajectories | Section 4.5 || `figures.py` | Fig. 8-16 | Section 4 || `FB_PID_Controller.scl` | DeltaU(k) = Kp*Delta_e + Ki*e + Kd*Delta2_e + F(e, dot) | Eq. (15), Table 7 || `FB_Pi_Supervisor.scl` | online Pi <= 1.2 guard | Section 4.5 || `OB1_Main_Cyclic.scl` | 5-min cycle, rate limits, trace channels | Section 3.6.2 | --- ## Licence The code is released under the MIT licence. The dataset is released underCC BY 4.0.
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)