Skip to content

Commit

Permalink
pybop-team#223 remove GITT class and move to example
Browse files Browse the repository at this point in the history
  • Loading branch information
brosaplanella committed May 15, 2024
1 parent 6a5ee3d commit d38b38f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 58 deletions.
19 changes: 17 additions & 2 deletions examples/scripts/gitt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,24 @@
)

# Define the cost to optimise
problem = pybop.GITT(
model="Weppner & Huggins", parameter_set=parameter_set, dataset=dataset
model = pybop.lithium_ion.WeppnerHuggins(parameter_set=parameter_set)

parameters = [
pybop.Parameter(
"Positive electrode diffusivity [m2.s-1]",
prior=pybop.Gaussian(5e-14, 1e-13),
bounds=[1e-16, 1e-11],
true_value=parameter_set["Positive electrode diffusivity [m2.s-1]"],
),
]

problem = pybop.FittingProblem(
model,
parameters,
dataset,
signal=["Voltage [V]"],
)

cost = pybop.RootMeanSquaredError(problem)

# Build the optimisation problem
Expand Down
56 changes: 0 additions & 56 deletions pybop/problems/gitt.py

This file was deleted.

0 comments on commit d38b38f

Please sign in to comment.