{"id":32579706,"url":"https://github.com/pilotaxis/blockchain-based-portable-ev-charging-system","last_synced_at":"2026-07-02T22:33:48.643Z","repository":{"id":320760272,"uuid":"1076202525","full_name":"PilotAxis/Blockchain-Based-Portable-EV-Charging-System","owner":"PilotAxis","description":"A portable EV charger modeled in MATLAB/Simulink integrates IoT monitoring and blockchain for secure energy transactions. It records charging data like SOC, voltage, current, and cost as tamper-proof blockchain blocks, ensuring transparency. A MATLAB dashboard visualizes live data and validates blockchain integrity for smart EV charging.","archived":false,"fork":false,"pushed_at":"2026-05-25T11:59:54.000Z","size":621,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T13:34:33.090Z","etag":null,"topics":["blockchain","iot","matlab","simulink"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PilotAxis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-14T14:37:42.000Z","updated_at":"2026-05-25T11:59:58.000Z","dependencies_parsed_at":"2025-10-25T19:08:03.991Z","dependency_job_id":"12e953af-4366-49b6-b54f-1508fd2ae20f","html_url":"https://github.com/PilotAxis/Blockchain-Based-Portable-EV-Charging-System","commit_stats":null,"previous_names":["pilotaxis/blockchain-based-portable-ev-charging-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PilotAxis/Blockchain-Based-Portable-EV-Charging-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PilotAxis%2FBlockchain-Based-Portable-EV-Charging-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PilotAxis%2FBlockchain-Based-Portable-EV-Charging-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PilotAxis%2FBlockchain-Based-Portable-EV-Charging-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PilotAxis%2FBlockchain-Based-Portable-EV-Charging-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PilotAxis","download_url":"https://codeload.github.com/PilotAxis/Blockchain-Based-Portable-EV-Charging-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PilotAxis%2FBlockchain-Based-Portable-EV-Charging-System/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35065702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","iot","matlab","simulink"],"created_at":"2025-10-29T15:48:41.473Z","updated_at":"2026-07-02T22:33:48.636Z","avatar_url":"https://github.com/PilotAxis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔋 Blockchain-Enabled Portable EV Charger  \n### Real-Time IoT Monitoring | Blockchain Ledger | Streamlit Visualization  \n\n---\n\n## 📘 Introduction  \nThis project presents a **Blockchain-Enabled Portable Electric Vehicle (EV) Charger** that ensures **secure, transparent, and real-time monitoring** of the charging process.  \nThe system integrates **MATLAB/Simulink** for charger modeling and control, **Blockchain** for transaction security, and a **Streamlit-based web dashboard** for live visualization.  \n\nThe goal is to create a **smart, portable, and tamper-proof EV charging system** capable of recording every energy transaction with transparency — essential for modern e-mobility infrastructure.\n\n---\n\n## ⚙️ System Overview  \nThe project consists of three integrated layers:\n\n| Layer | Description |\n|--------|--------------|\n| 🧩 **1. MATLAB/Simulink Layer** | Simulates the EV charging operation, logs real-time parameters such as voltage, current, energy, SOC, and cost. |\n| 🔐 **2. Blockchain Layer** | Converts each charge session into a secure transaction, forming a blockchain ledger (`LiveLedger.csv`) with hash links to prevent tampering. |\n| 💻 **3. Streamlit Dashboard** | Displays live charger metrics, plots, SOC %, energy, cost, and verifies blockchain integrity in real time. |\n\n---\n\n## 🧠 Key Features  \n- **Portable EV Charger Simulation** using MATLAB/Simulink.  \n- **Secure Blockchain Ledger** with SHA-256 transaction hashing.  \n- **Real-Time Dashboard** built with Streamlit for live monitoring.  \n- **SOC, Energy \u0026 Cost Calculation** based on dynamic charge parameters.  \n- **Cross-Platform**: Works on Windows, macOS, or Linux.  \n- **Auto-Refresh Visualization** with blockchain integrity validation.  \n\n---\n\n## 🧾 Project Working  \n\n1. **Simulation**  \n   - Run the `server_listener.m` and then the Simulink model of the portable EV charger.\n   - Then, run the `BasicData.m` to log basic parameters in the workspace.\n   - Key parameters (`Vout`, `Iout`, `SOC`, `Energy`, `Cost`) are logged to the workspace as Timeseries variables.  \n\n2. **Transaction Assembly**  \n   - Run `transactions.m` to convert logs into blockchain-formatted data.  \n   - The script generates:  \n     - `Transactions.mat` → MATLAB structured data.  \n   - Along this, open `addBlock.m` script and then run the file `build_blockchain_ledger.m`.\n     - `build_blockchain_ledger.m` creates ledger records.\n   - Finally, run the `create_csv_for_streamlit.m` file to successfully generate csv file containing dashboard parameters.\n\n3. **Visualization**  \n   - Launch the dashboard using:\n     ```bash\n     python3 -m streamlit run ev_streamlit_dashboard.py\n     ```\n   - View live metrics (SOC, power, cost) and blockchain status updates in the browser.  \n\n4. **Integrity Verification**  \n   - Each ledger entry is validated via hash links (`PrevHash`, `Hash`).\n   - Any manual modification breaks integrity → shown as **\"Blockchain Integrity FAILED\"** on dashboard.\n\n---\n\n## 🧰 Tools \u0026 Technologies  \n\n| Software / Library | Purpose |\n|---------------------|----------|\n| MATLAB / Simulink | Charger modeling, logging |\n| Python | Dashboard backend |\n| Streamlit | Live visualization |\n| Pandas | Data processing |\n| Matplotlib | Plot rendering |\n| SHA-256 | Blockchain hashing |\n\n---\n\n## 👥 Authors\n\n**Mohammed Ahmed Majid**\n\nDepartment of Electrical Engineering\u003cbr\u003e\nZakir Husain College of Engineering \u0026 Technology\u003cbr\u003e\nAligarh Muslim University (AMU)\u003cbr\u003e\n\nProject submitted for:\u003cbr\u003e\nMathWorks MATLAB \u0026 Simulink Challenge 2025\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilotaxis%2Fblockchain-based-portable-ev-charging-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilotaxis%2Fblockchain-based-portable-ev-charging-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilotaxis%2Fblockchain-based-portable-ev-charging-system/lists"}