-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
Add more idaklu
solver options
#4249
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f66db40 - Browse repository at this point
Copy the full SHA f66db40View commit details
Commits on Jun 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6a48e8 - Browse repository at this point
Copy the full SHA c6a48e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 139776e - Browse repository at this point
Copy the full SHA 139776eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8745c8 - Browse repository at this point
Copy the full SHA d8745c8View commit details
Commits on Jul 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fc5fd4 - Browse repository at this point
Copy the full SHA 8fc5fd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e25db2a - Browse repository at this point
Copy the full SHA e25db2aView commit details -
Revert "Update CasadiSolverOpenMP.cpp"
This reverts commit e25db2a.
Configuration menu - View commit details
-
Copy full SHA for 2934ff8 - Browse repository at this point
Copy the full SHA 2934ff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f75ea2 - Browse repository at this point
Copy the full SHA 6f75ea2View commit details -
`max_number_steps` -> `max_num_steps` to match casadi
Configuration menu - View commit details
-
Copy full SHA for 5392a6a - Browse repository at this point
Copy the full SHA 5392a6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cc479 - Browse repository at this point
Copy the full SHA d3cc479View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da2fe61 - Browse repository at this point
Copy the full SHA da2fe61View commit details
Commits on Jul 11, 2024
-
Update pybamm/solvers/idaklu_solver.py
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20e1334 - Browse repository at this point
Copy the full SHA 20e1334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e220e9 - Browse repository at this point
Copy the full SHA 5e220e9View commit details -
Update pybamm/solvers/idaklu_solver.py
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0dc7a47 - Browse repository at this point
Copy the full SHA 0dc7a47View commit details -
Configuration menu - View commit details
-
Copy full SHA for c85e503 - Browse repository at this point
Copy the full SHA c85e503View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83c4267 - Browse repository at this point
Copy the full SHA 83c4267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c021a5 - Browse repository at this point
Copy the full SHA 1c021a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b01db78 - Browse repository at this point
Copy the full SHA b01db78View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5bc7b5 - Browse repository at this point
Copy the full SHA b5bc7b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fcd738 - Browse repository at this point
Copy the full SHA 0fcd738View commit details -
Revert "Update CasadiSolverOpenMP.cpp"
This reverts commit e25db2a.
Configuration menu - View commit details
-
Copy full SHA for 8e80887 - Browse repository at this point
Copy the full SHA 8e80887View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56ca9eb - Browse repository at this point
Copy the full SHA 56ca9ebView commit details -
`max_number_steps` -> `max_num_steps` to match casadi
Configuration menu - View commit details
-
Copy full SHA for f0c5a50 - Browse repository at this point
Copy the full SHA f0c5a50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1578770 - Browse repository at this point
Copy the full SHA 1578770View commit details -
Update pybamm/solvers/idaklu_solver.py
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae64817 - Browse repository at this point
Copy the full SHA ae64817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 320f1dd - Browse repository at this point
Copy the full SHA 320f1ddView commit details -
Update pybamm/solvers/idaklu_solver.py
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db684e9 - Browse repository at this point
Copy the full SHA db684e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 003aae3 - Browse repository at this point
Copy the full SHA 003aae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for df5ae3f - Browse repository at this point
Copy the full SHA df5ae3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc97188 - Browse repository at this point
Copy the full SHA fc97188View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61eacc6 - Browse repository at this point
Copy the full SHA 61eacc6View commit details -
Merge branch 'idaklu-options' of https://github.com/MarcBerliner/PyBaMM…
… into idaklu-options
Configuration menu - View commit details
-
Copy full SHA for 37b1973 - Browse repository at this point
Copy the full SHA 37b1973View commit details -
Revert "Merge branch 'idaklu-options' of https://github.com/MarcBerli…
…ner/PyBaMM into idaklu-options" This reverts commit 37b1973, reversing changes made to b01db78.
Configuration menu - View commit details
-
Copy full SHA for c71fa5e - Browse repository at this point
Copy the full SHA c71fa5eView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dad1509 - Browse repository at this point
Copy the full SHA dad1509View commit details -
Fix test pypi worflow (pybamm-team#4217)
* Update test pypi * Style fix
Configuration menu - View commit details
-
Copy full SHA for ba2f7a0 - Browse repository at this point
Copy the full SHA ba2f7a0View commit details -
Make function for handling time or reuse an existing one (pybamm-team…
…#4209) * Make function for handling time or reuse an existing one Fixes pybamm-team#4113 * style: pre-commit fixes * fixing raises RegEx Error Experiment Test * fix pre-commit error * Update pybamm/callbacks.py Co-authored-by: Eric G. Kratz <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Agriya Khetarpal <[email protected]> Co-authored-by: Valentin Sulzer <[email protected]> Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e582fd - Browse repository at this point
Copy the full SHA 1e582fdView commit details -
Issue 4224 duration bug (pybamm-team#4239)
* make longer default duration and calculate it for C-rate * add tests * typo * pybamm-team#4224 add warning for time termination and add abs * fix tests * pybamm-team#4224 keep non-C-rate default at 24h for performance reasons * trying to fix experiment * fix example * pybamm-team#4224 eric comments * fix bug
Configuration menu - View commit details
-
Copy full SHA for c7ea22f - Browse repository at this point
Copy the full SHA c7ea22fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4c5413 - Browse repository at this point
Copy the full SHA d4c5413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2442907 - Browse repository at this point
Copy the full SHA 2442907View commit details -
Configuration menu - View commit details
-
Copy full SHA for 313e182 - Browse repository at this point
Copy the full SHA 313e182View commit details -
Apply suggestions from code review
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 276a31e - Browse repository at this point
Copy the full SHA 276a31eView commit details
Commits on Jul 15, 2024
-
Add support for MLIR-based expression evaluation (pybamm-team#4199)
* Fix CodeCov GHA workflow failure (pybamm-team#3845) This amends the tag for the CodeCov GitHub Action from `4.1.0` to `v4.1.0`. This was a Dependabot error * Begin refactor IDAKLU solver to support generalisable expressions [i.e. support more than just casadi functions] * Continue refactor; compiles but with dlopen error on load; committing to test on another machine * Refactor: Introduce Expression and ExpressionSet classes * Restructure Expressions with generics folder and implementation-specific subfolders * Separate Expression classes * Template Expression class * WIP: Subclass expressions (remove templates in order to generalise execution framework) * Subclass expressions and remove unnecessary template arguments * Isolate casadi functionality to Expression subclasses * Add IREE expressions class * Remove breakpoints * Map input arguments to (reduced) call signature in MLIR * Add support for inputs * Support sensitivities * Pre-commit * Support output_variables * Fix designator order error on linux; remove reference to ninja * OS-invariant library loading * Convert some pointer arrays to vectors; fixes sporadic crashes * Fix bad memory allocations * Tidy-up code * Tidy up code * Resolve jax/iree version numbers * Conditional compilation of iree code * Fix compiler variables * Update noxfile sources list * Pre-commit * Make IREE tests conditional on IREE install * Enable IREE in CI unit/integration testing * Make demotion optional in idaklu_solver.py (still unsupported by IDAKLU) * style: pre-commit fixes * Fix expression tree test given change to bracketed expressions * Codacy corrections and suppressions * Enable IREE in unit testing * style: pre-commit fixes * Enable IREE in coverage testing * Restrict IREE install to supported MacOS/Python versions * Restrict IREE supported macOS installs * Additional tests for IREE (demotion, output_variables, sensititivies) * style: pre-commit fixes * Additional tests (improve test coverage) * Fix IREE unit test * Fix sensitivities-sparsity bug; improve tests * Fix tests * Improve coverage * Improve coverage (indirect) * Suppress IREE warning on reload * style: pre-commit fixes * Fix codacy warning * Fix noxfile docstring * Update noxfile.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update pyproject.toml Co-authored-by: Agriya Khetarpal <[email protected]> * style: pre-commit fixes * Update pybamm/solvers/c_solvers/idaklu.cpp Co-authored-by: Martin Robinson <[email protected]> * Update pybamm/solvers/c_solvers/idaklu/Expressions/IREE/IREEFunctions.cpp Co-authored-by: Martin Robinson <[email protected]> * Try removing no-cover from expression_tree/function.py * Remove C from class name * Clarify Base Expression docstrings * Remove build-time iree.compiler search in CMakeLists.txt * Add install note to iree-compiler in pyproject.toml * Add IREE dependencies to docs * style: pre-commit fixes * Refactor MLIR parsing into ModuleParser class * style: pre-commit fixes * Add codacy hints * Codacy fix * Remove no-cover statements * style: pre-commit fixes * Coverage fix --------- Co-authored-by: Ferran Brosa Planella <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Agriya Khetarpal <[email protected]> Co-authored-by: Martin Robinson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7443243 - Browse repository at this point
Copy the full SHA 7443243View commit details -
Fix directory (pybamm-team#4263)
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae77c74 - Browse repository at this point
Copy the full SHA ae77c74View commit details -
Bump github/codeql-action from 3.25.11 to 3.25.12 in the actions group (
pybamm-team#4268) Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 3.25.11 to 3.25.12 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@b611370...4fa2a79) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 640c9f8 - Browse repository at this point
Copy the full SHA 640c9f8View commit details -
chore: update pre-commit hooks (pybamm-team#4269)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.2](astral-sh/ruff-pre-commit@v0.5.1...v0.5.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6c1a559 - Browse repository at this point
Copy the full SHA 6c1a559View commit details
Commits on Jul 16, 2024
-
Moving a bunch of unit tests to pytest. (pybamm-team#4264)
* Moving a bunch of unit tests to pytest Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * style fix Signed-off-by: Pradyot Ranjan <[email protected]> * Update tests/unit/test_models/test_full_battery_models/test_lithium_ion/test_mpm_half_cell.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/unit/test_models/test_full_battery_models/test_lithium_ion/test_spm.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/unit/test_models/test_full_battery_models/test_lithium_ion/test_spme.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/unit/test_parameters/test_parameter_sets_class.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/unit/test_parameters/test_parameter_sets_class.py Co-authored-by: Agriya Khetarpal <[email protected]> * Update tests/unit/test_plotting/test_plot.py Co-authored-by: Agriya Khetarpal <[email protected]> * adding skips Signed-off-by: Pradyot Ranjan <[email protected]> * Update tests/unit/test_plotting/test_plot.py Co-authored-by: Agriya Khetarpal <[email protected]> * adding reason for skips Signed-off-by: Pradyot Ranjan <[email protected]> --------- Signed-off-by: Pradyot Ranjan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Agriya Khetarpal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4796ba9 - Browse repository at this point
Copy the full SHA 4796ba9View commit details -
Using
tempfile
forstandard_model_test
(pybamm-team#4270)* Using tempfile for standard_model_test Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes --------- Signed-off-by: Pradyot Ranjan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9afe45e - Browse repository at this point
Copy the full SHA 9afe45eView commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fe39f99 - Browse repository at this point
Copy the full SHA fe39f99View commit details
Commits on Jul 18, 2024
-
Merge pull request pybamm-team#4259 from pybamm-team/v24.5rc2
Release v24.5rc2
Configuration menu - View commit details
-
Copy full SHA for 740fa50 - Browse repository at this point
Copy the full SHA 740fa50View commit details -
fix degradation options when one of the phases has no degradation (py…
…bamm-team#4163) * fix degradation options when one of the phases has no degradation * skip Newman Tobias test --------- Co-authored-by: Eric G. Kratz <[email protected]> Co-authored-by: Arjun Verma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27c29df - Browse repository at this point
Copy the full SHA 27c29dfView commit details
Commits on Jul 19, 2024
-
Removing false flagging of assert statements from tests. (pybamm-team…
…#4236) * Removing flase flagging of assert statements from tests Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Using ruff to check for asserts Signed-off-by: Pradyot Ranjan <[email protected]> * Using TypeError instead of assert Signed-off-by: Pradyot Ranjan <[email protected]> * Adding back bandit file Signed-off-by: Pradyot Ranjan <[email protected]> * style: pre-commit fixes * Adding tests Signed-off-by: Pradyot Ranjan <[email protected]> --------- Signed-off-by: Pradyot Ranjan <[email protected]> Co-authored-by: Pradyot Ranjan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed412f8 - Browse repository at this point
Copy the full SHA ed412f8View commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8e338bc - Browse repository at this point
Copy the full SHA 8e338bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e029b - Browse repository at this point
Copy the full SHA 99e029bView commit details -
Revert "Update CasadiSolverOpenMP.cpp"
This reverts commit e25db2a.
Configuration menu - View commit details
-
Copy full SHA for 8a1a0ed - Browse repository at this point
Copy the full SHA 8a1a0edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9be2344 - Browse repository at this point
Copy the full SHA 9be2344View commit details -
`max_number_steps` -> `max_num_steps` to match casadi
Configuration menu - View commit details
-
Copy full SHA for 1c46de3 - Browse repository at this point
Copy the full SHA 1c46de3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad767a8 - Browse repository at this point
Copy the full SHA ad767a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for de2e85e - Browse repository at this point
Copy the full SHA de2e85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d1e78 - Browse repository at this point
Copy the full SHA 13d1e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28ed7eb - Browse repository at this point
Copy the full SHA 28ed7ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52082fb - Browse repository at this point
Copy the full SHA 52082fbView commit details -
Update pybamm/solvers/idaklu_solver.py
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fb9195 - Browse repository at this point
Copy the full SHA 9fb9195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 820e044 - Browse repository at this point
Copy the full SHA 820e044View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4fd6b - Browse repository at this point
Copy the full SHA ef4fd6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa854f9 - Browse repository at this point
Copy the full SHA fa854f9View commit details -
Apply suggestions from code review
Co-authored-by: Eric G. Kratz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 964589c - Browse repository at this point
Copy the full SHA 964589cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6dff3f - Browse repository at this point
Copy the full SHA b6dff3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82fe499 - Browse repository at this point
Copy the full SHA 82fe499View commit details -
Configuration menu - View commit details
-
Copy full SHA for d55a403 - Browse repository at this point
Copy the full SHA d55a403View commit details