LiBRA
Create reduced-order state-space models for lithium-ion batteries utilising realisation algorithms.
https://github.com/bradyplanden/liibra.jl
Category: Energy Storage
Sub Category: Battery
Keywords
battery battery-models bms control control-systems julia lithium-ion reduced-order-models
Keywords from Contributors
unitful jacobians parallel simulations finite-volume hybrid-differential-equations crop symbolic-computation genetic-algorithm surrogate
Last synced: about 3 hours ago
JSON representation
Repository metadata
Create reduced-order state-space models for lithium-ion batteries utilising realisation algorithms.
- Host: GitHub
- URL: https://github.com/bradyplanden/liibra.jl
- Owner: BradyPlanden
- License: mit
- Created: 2020-11-04T14:44:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-18T18:18:37.000Z (8 months ago)
- Last Synced: 2025-03-15T12:32:10.790Z (about 1 month ago)
- Topics: battery, battery-models, bms, control, control-systems, julia, lithium-ion, reduced-order-models
- Language: Julia
- Homepage:
- Size: 254 MB
- Stars: 32
- Watchers: 2
- Forks: 6
- Open Issues: 9
- Releases: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
README.md
Lithium-ion Battery Realisation Algorithms (LiiBRA)
Create and Simulate Reduced Order Lithium-Ion Battery Models
LiBRA provides an open-source implementation of realisation algorithms used for generating reduced-order state-space models. This work aims to develop real-time capable physics-informed models for deployment onto embedded hardware. LiiBRA provides capabilities in offline and online model creation, as well as a framework for lithium-ion degradation predictions. For more information on LiiBRA, and the computationally-informed discrete realisation algorithm (CI-DRA), please refer to the publication above.
Further examples are located in the "examples" directory. Please open an issue if you have requests or ideas for additional examples.
Install (Julia 1.7 and later)
(v1.7) pkg> add LiiBRA
(Type ]
to enter package mode.)
Example Usage
using LiiBRA, Plots
Setup:
Sₑ = 4
Sₛ = 2
Cell = Construct("LG M50")
Spatial!(Cell, Sₑ, Sₛ)
Ŝ = collect(1.0:-0.25:0.0)
SOC = 0.75
Cell.Const.T = 298.15
Realisation:
A,B,C,D = Realise(Cell,Ŝ);
HPPC Simulation:
Results = HPPC(Cell,Ŝ,SOC,4.0,-3.0,A,B,C,D);
Plotting Results:
plotly()
plot(Results.t, Results.Cell_V;
legend=:topright,
color=:blue,
bottom_margin=5Plots.mm,
left_margin = 5Plots.mm,
right_margin = 15Plots.mm,
ylabel = "Terminal Voltage (V)",
xlabel = "Time (s)",
title="HPPC Voltage",
label="Voltage",
size=(1280,720)
)
plot(Results.t, Results.Ce;
legend=:topright,
bottom_margin=5Plots.mm,
left_margin = 5Plots.mm,
right_margin = 15Plots.mm,
ylabel = "Electrolyte Concen. (mol/m³)",
xlabel = "Time (s)",
title="Electrolyte Concentration",
label=["Neg. Separator Interface" "Neg. Current Collector" "Pos. Current Collector" "Pos. Separator Interface"],
size=(1280,720)
)
plot(Results.t, Results.Cseₚ;
legend=:topright,
bottom_margin=5Plots.mm,
left_margin = 5Plots.mm,
right_margin = 15Plots.mm,
ylabel = "Concentration (mol/m³)",
xlabel = "Time (s)",
title="Positive Electrode Concentration",
label=["Current Collector" "Separator Interface"],
size=(1280,720)
)
plot(Results.t, Results.Cseₙ;
legend=:topright,
bottom_margin=5Plots.mm,
left_margin = 5Plots.mm,
right_margin = 15Plots.mm,
ylabel = "Concentration (mol/m³)",
xlabel = "Time [s]",
title="Negative Electrode Concentration",
label=["Current Collector" "Separator Interface"],
size=(1280,720)
)
Bug Tracking
Please report any issues using the Github issue tracker. All feedback is welcome.
Citation (CITATION.cff)
cff-version: 1.1.0 message: "Please cite below if you use LiiBRA.jl" authors: - family-names: Planden given-names: Brady orcid: "https://orcid.org/0000-0002-1082-9125" - family-names: Lukow given-names: Katie orcid: "https://orcid.org/0000-0002-6752-1439" - family-names: Henshall given-names: Paul orcid: "https://orcid.org/0000-0002-6592-2239" - family-names: Collier given-names: Gordana orcid: "https://orcid.org/0000-0002-1091-9243" - family-names: Morrey given-names: Denise orcid: "https://orcid.org/0000-0002-0105-3425" journal: "Journal of Energy Storage" date-released: 2022-11-01 doi: 10.1016/j.est.2022.105637 keywords: - "lithium-ion battery" - "battery management system" - "reduced-electrochemical model" - "battery modelling" - "julia" version: "0.3.2" repository-code: "https://github.com/BradyPlanden/LiiBRA.jl" title: "A Computationally Informed Realisation Algorithm for Lithium-Ion Batteries Implemented with LiiBRA.jl"
Owner metadata
- Name: Brady Planden
- Login: BradyPlanden
- Email:
- Kind: user
- Description: Postdoctoral Researcher @ University of Oxford
- Website: bradyplanden.github.io
- Location: Oxford, UK
- Twitter: bradyplanden
- Company: University of Oxford
- Icon url: https://avatars.githubusercontent.com/u/55357039?u=49db40ae89f90c08ad2822bdb6c6441ae9df95df&v=4
- Repositories: 19
- Last ynced at: 2024-06-11T15:56:14.232Z
- Profile URL: https://github.com/BradyPlanden
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers metadata
Last synced: 6 days ago
Total Commits: 237
Total Committers: 4
Avg Commits per committer: 59.25
Development Distribution Score (DDS): 0.055
Commits in past year: 15
Committers in past year: 2
Avg Commits per committer in past year: 7.5
Development Distribution Score (DDS) in past year: 0.133
Name | Commits | |
---|---|---|
Brady Planden | i****o@b****m | 224 |
CompatHelper Julia | c****y@j****g | 11 |
katielukow | c****w@g****m | 1 |
github-actions[bot] | 4****] | 1 |
Committer domains:
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 25
Total pull requests: 22
Average time to close issues: 2 months
Average time to close pull requests: 6 days
Total issue authors: 7
Total pull request authors: 3
Average comments per issue: 2.4
Average comments per pull request: 0.05
Merged pull request: 21
Bot issues: 0
Bot pull requests: 12
Past year issues: 2
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 1
Past year pull request authors: 0
Past year average comments per issue: 1.0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- BradyPlanden (14)
- DarioSlaifsteinSk (6)
- chakravala (1)
- vpuri3 (1)
- AverageDaniel (1)
- shwetankverma28 (1)
- JuliaTagBot (1)
Top Pull Request Authors
- github-actions[bot] (12)
- BradyPlanden (9)
- DarioSlaifsteinSk (1)
Top Issue Labels
- bug (3)
Top Pull Request Labels
- enhancement (2)
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 9
juliahub.com: LiiBRA
Create reduced-order state-space models for lithium-ion batteries utilising realisation algorithms.
- Homepage:
- Documentation: https://docs.juliahub.com/General/LiiBRA/stable/
- Licenses: MIT
- Latest release: 0.3.4 (published over 1 year ago)
- Last Synced: 2025-03-24T12:17:56.551Z (about 1 month ago)
- Versions: 9
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 9.94%
- Stargazers count: 24.964%
- Average: 25.479%
- Forks count: 28.099%
- Dependent packages count: 38.915%
Dependencies
- actions/cache v1 composite
- actions/checkout v2 composite
- codecov/codecov-action v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- julia-actions/setup-julia latest composite
- JuliaRegistries/TagBot v1 composite
Score: -Infinity