# sridharshan-29/mcc-fast-charging architecture

> Architecture diagram of the GitHub repository sridharshan-29/mcc-fast-charging, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sridharshan-29/mcc-fast-charging
- Repository: https://github.com/sridharshan-29/mcc-fast-charging

## Overview

This repository is a MATLAB/Simulink battery-charging study. The documented workflow compares CC-CV and multi-stage constant-current charging, evaluates battery temperature with no cooling, air cooling, and liquid cooling, and records results in workbooks. The Simulink model is the central artifact; the README identifies Stateflow control and Simscape physics but the source excerpts do not expose model internals. The data script is present in the tree, but its role is not documented, so no relationship is inferred for it.

Main entry points: [`model/mcc_withcooling_project.slx`](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx) (Simulink model), [`Results/soc_cccv&mcc.xlsx`](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/Results/soc_cccv%26mcc.xlsx) (Charging results), [`Results/Temp_Air&Liq.xlsx`](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/Results/Temp_Air%26Liq.xlsx) (Thermal results)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_charging["Charging strategies"]
  node_simulink["Simulink model"]
  node_cccv["CC-CV charging"]
  node_mcc["MCC charging"]
end

subgraph group_thermal["Battery and cooling"]
  node_battery["Battery pack"]
  node_thermal_control["Cooling control"]
  node_air_cooling["Air cooling"]
  node_liquid_cooling["Liquid cooling"]
  node_data_script["Battery data script"]
end

subgraph group_results["Study results"]
  node_charge_results["Charging results<br/>[soc_cccv&amp;mcc.xlsx]"]
  node_thermal_results["Thermal results<br/>[Temp_Air&amp;Liq.xlsx]"]
end

node_engineer(("Engineer"))

node_engineer -->|"runs study"| node_simulink
node_simulink -->|"compares"| node_cccv
node_simulink -->|"compares"| node_mcc
node_simulink -->|"models pack"| node_battery
node_simulink -->|"controls cooling"| node_thermal_control
node_simulink -->|"tests"| node_air_cooling
node_simulink -->|"tests"| node_liquid_cooling
node_simulink -->|"records comparison"| node_charge_results
node_simulink -->|"records temperatures"| node_thermal_results

click node_simulink "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_cccv "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_mcc "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_battery "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_thermal_control "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_air_cooling "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_liquid_cooling "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx"
click node_data_script "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/data/Load_Battery_Data.m"
click node_charge_results "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/Results/soc_cccv%26mcc.xlsx"
click node_thermal_results "https://github.com/sridharshan-29/mcc-fast-charging/blob/main/Results/Temp_Air%26Liq.xlsx"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_simulink,node_cccv,node_mcc toneBlue
class node_battery,node_thermal_control,node_air_cooling,node_liquid_cooling,node_data_script toneAmber
class node_charge_results,node_thermal_results toneMint
class node_engineer toneIndigo
```

## Components

### Charging strategies

- [Simulink model](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`
- [CC-CV charging](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`
- [MCC charging](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`

### Battery and cooling

- [Battery pack](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`
- [Cooling control](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`
- [Air cooling](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`
- [Liquid cooling](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/model/mcc_withcooling_project.slx): `model/mcc_withcooling_project.slx`
- [Battery data script](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/data/Load_Battery_Data.m): `data/Load_Battery_Data.m`

### Study results

- [Charging results](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/Results/soc_cccv%26mcc.xlsx): `Results/soc_cccv&mcc.xlsx`
- [Thermal results](https://github.com/sridharshan-29/mcc-fast-charging/blob/main/Results/Temp_Air%26Liq.xlsx): `Results/Temp_Air&Liq.xlsx`

### Other components

- **Engineer**

## Connections

- Engineer → Simulink model: runs study (evidence: `README.md`)
- Simulink model → CC-CV charging: compares (evidence: `README.md`)
- Simulink model → MCC charging: compares (evidence: `README.md`)
- Simulink model → Battery pack: models pack (evidence: `README.md`)
- Simulink model → Cooling control: controls cooling (evidence: `README.md`)
- Simulink model → Air cooling: tests (evidence: `README.md`)
- Simulink model → Liquid cooling: tests (evidence: `README.md`)
- Simulink model → Charging results: records comparison (evidence: `README.md`)
- Simulink model → Thermal results: records temperatures (evidence: `README.md`)
