Skip to content

h1he2li3/iechem_equivalentcircuit

Repository files navigation

Interactive Electrochemistry - Equivalent Circuit 'R0-p(R1,C1)'

An easily executable Panel and Pyscript based interactive simulation of Equivalent Circuit 'R0-p(R1,C1)' targeted towards 'Electrochemistry' learners. The simulation itself is a .html file, and can be opened in any browser without need for installation of new python environments or special python package installation on the device.

How to use?

  • For offline users, download the src folder, the files within it and pyscript-local-equivalent_circuit.html file. Open pyscript-local-equivalent_circuit.html and enjoy learning!

  • For online users, download the pyscript-remote-equivalent_circuit.html file. Open pyscript-remote-equivalent_circuit.html and enjoy learning!

How was the .html file created?

Code in the script-equivalent_circuit.py is first made with the help of jupyter notebook. The script-equivalent_circuit.py is then transformed to .html file using panel convert script-equivalent_circuit.py --to pyscript --out. This creates a script-equivalent_circuit.html file in the pyscript folder (renamed to pyscript-remote-equivalent_circuit.html).

However, this pyscript-remote-equivalent_circuit.html uses .js files from internet for the .html file execution. This is corrected for by downloading and storing the .js files in a folder called src, and the raw pyscript-remote-equivalent_circuit.html is edited manually in a script editor to use locally stored .js files from src folder. The file that works without internet is pyscript-local-equivalent_circuit.html.

References

[1] T.F. Fuller, J.N. Harb, Electrochemical Engineering, John Wiley & Sons, Hoboken, 2018.

[2] Electrochemical Impedance Spectroscopy and its Applications, A. Lasia, Springer 2014

[3] Electrochemical Impedance Spectroscopy, M.E. Orazem, B. Tribollet, John Wiley & Sons, Inc., 2008

[4] impedance.py (a Python package for simulation and fitting of impedance data)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published