-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Examples Updt. / Citation / Dependancy+Repo Clean / +WLTP / Sim_Model.jl Name Updt.
- Loading branch information
1 parent
c2ed128
commit 568b134
Showing
19 changed files
with
214 additions
and
18,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "LiiBRA" | ||
uuid = "a5b28938-1935-4481-b801-30e5c8ed4e83" | ||
authors = ["Brady Planden <[email protected]>"] | ||
version = "0.3.1" | ||
version = "0.3.2" | ||
|
||
[deps] | ||
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341" | ||
|
@@ -10,7 +10,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a" | ||
Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" | ||
TSVD = "9449cd9e-2762-5aa3-a617-5413e99d722e" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
UnitSystems = "3a241a3c-2137-41aa-af5e-1388e404ca09" | ||
|
@@ -20,7 +19,6 @@ FFTW = "1.4" | |
Interpolations = "0.13, 0.14" | ||
Parameters = "0.12" | ||
Roots = "1.3, 2" | ||
StatsBase = "0.33" | ||
TSVD = "0.4" | ||
UnitSystems = "0.3" | ||
julia = "1.7" | ||
julia = "1.7, 1.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using BenchmarkTools, LiiBRA | ||
BenchmarkTools.DEFAULT_PARAMETERS.seconds = 10 | ||
Cell = Construct("LG M50") | ||
Ŝ = SOC = 0.8 | ||
|
||
function DRA_Loop(Cell, Ŝ) | ||
|
||
# Arrhenius | ||
Cell.Const.T = 298.15 | ||
Arr_Factor = (1/Cell.Const.T_ref-1/Cell.Const.T)/R | ||
|
||
# Realisation Variables | ||
Cell.RA.H1 = [1:2000; 3000:3500] | ||
Cell.RA.H2 = [1:2000; 3000:3500] | ||
Cell.RA.Fs = 4 | ||
Cell.RA.Tlen = 16200 | ||
Cell.RA.M = 4 | ||
Cell.RA.SamplingT = 1/4 | ||
|
||
# Set Cell Constants | ||
Cell.Const.κ = Cell.Const.κf(Cell.Const.ce0)*exp(Cell.Const.Ea_κ*Arr_Factor) | ||
Cell.RA.Nfft = Cell.RA.Nfft!(Cell.RA.Fs, Cell.RA.Tlen) | ||
Cell.RA.f = Cell.RA.f!(Cell.RA.Nfft) | ||
Cell.RA.s = Cell.RA.s!(Cell.RA.Fs,Cell.RA.Nfft,Cell.RA.f) | ||
Cell.Neg.β = Cell.Neg.β!(Cell.RA.s) | ||
Cell.Pos.β = Cell.Pos.β!(Cell.RA.s) | ||
|
||
return @benchmark CIDRA(Cell) | ||
end | ||
|
||
Time = DRA_Loop(Cell, Ŝ) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.