-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from pybop-team/162-update-design-optimisatio…
…n-functionality Design Optimisation Refactor and Additions
- Loading branch information
Showing
12 changed files
with
15,142 additions
and
267 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
from ..base_model import BaseModel | ||
|
||
|
||
class ECircuitModel(BaseModel): | ||
""" | ||
Overwrites and extends `BaseModel` class for circuit-based PyBaMM models. | ||
""" | ||
|
||
def __init__(self): | ||
super().__init__() | ||
|
||
def _check_params(self, inputs=None, allow_infeasible_solutions=True): | ||
""" | ||
Check the compatibility of the model parameters. | ||
Parameters | ||
---------- | ||
inputs : dict | ||
The input parameters for the simulation. | ||
allow_infeasible_solutions : bool, optional | ||
If True, infeasible parameter values will be allowed in the optimisation (default: True). | ||
Returns | ||
------- | ||
bool | ||
A boolean which signifies whether the parameters are compatible. | ||
""" | ||
return True |
Oops, something went wrong.