-
-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#729 tried adding entropic change functions
- Loading branch information
1 parent
bbba976
commit 7203297
Showing
7 changed files
with
67 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import pybamm as pb | ||
|
||
pb.set_logging_level("DEBUG") | ||
|
||
model = pb.lithium_ion.DFN() | ||
# model.convert_to_format = "python" | ||
|
||
chemistry = pb.parameter_sets.Ecker2015 | ||
# chemistry = pb.parameter_sets.Marquis2019 | ||
parameter_values = pb.ParameterValues(chemistry=chemistry) | ||
|
||
sim = pb.Simulation(model, parameter_values=parameter_values) | ||
|
||
solver = pb.CasadiSolver(mode="safe") | ||
sim.solve(solver=solver) | ||
|
8 changes: 8 additions & 0 deletions
8
input/parameters/lithium-ion/anodes/graphite_Ecker2015/graphite_entropic_change_NULL.py
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,8 @@ | ||
def graphite_entropic_change_NULL(sto, c_n_max): | ||
""" | ||
Entered as a function to be consistent with | ||
other PyBaMM parameter sets. | ||
""" | ||
return 0 * sto |
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
6 changes: 6 additions & 0 deletions
6
input/parameters/lithium-ion/cathodes/LiNiCoO2_Ecker2015/nco_entropic_change_NULL.py
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,6 @@ | ||
def nco_entropic_change_NULL(sto, c_p_max): | ||
""" | ||
Entered as a function to be consistent with other PyBaMM parameter sets. | ||
""" | ||
|
||
return 0 * sto |
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
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