Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charge from min SoC #47

Open
DarioSlaifsteinSk opened this issue Jun 4, 2024 · 0 comments
Open

Charge from min SoC #47

DarioSlaifsteinSk opened this issue Jun 4, 2024 · 0 comments

Comments

@DarioSlaifsteinSk
Copy link

DarioSlaifsteinSk commented Jun 4, 2024

When a simulation (HPPC, CC, Simulate) hits the lower limit of the $SoC$ array it can't pick up that value and charge the Cell.
With $SoC_{min}=10$ % it works:

using LiiBRA

#---------- Cell Definition -----------------#
Sₑ = 4
Sₛ = 2
Cell = Construct("LG M50")
Spatial!(Cell, Sₑ, Sₛ)
Ŝ = collect(1.0:-0.1:0.1)
SOC = 0.1
Cell.Const.T = 298.15
A,B,C,D = Realise(Cell,Ŝ);

γ = 10; # the duration of the pulse in seconds
λ = -5. # the current in Amperes
Results, tₑ = CC(Cell,Ŝ,SOC,λ,γ,A,B,C,D);
julia> Results.Cell_SOC
10×1 Matrix{Float64}:
 0.1
 0.1
 0.10026952208487283
 0.10053904416974567
 0.1008085662546185
 0.10107808833949135
 0.10134761042436416
 0.10161713250923698
 0.10188665459410984
 0.10215617667898266

But not with $SoC_{min}=0%$

julia> Results.Cell_SOC
10×1 Matrix{Float64}:
 0.0
 0.0
 0.0
 0.0
 0.0
 0.0
 0.0
 0.0
 0.0
 0.0

Btw, with Ŝ = collect(1.0:-0.1:0.0), SOC=0.0:

julia> A,B,C,D = Realise(Cell,Ŝ);
System has non-real eigenvalues at SOC:0.0
@DarioSlaifsteinSk DarioSlaifsteinSk changed the title Pickup at min SoC Charge from min SoC Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant