Skip to content

v0.2.0

Choose a tag to compare

@LorenaH84 LorenaH84 released this 10 Oct 08:34
· 27 commits to main since this release

This is version 0.2, the first in the 0.2 series. This version represents BattMo.jl v0.2.1.

Full Changelog: v0.1.2...v0.2.0

Breaking changes

The output quantities are retrieved differently. They can now be directly extracted from the output structure, example:

output = solve(sim)

time = output.time_series["Time"]
electrolyte_concentration = output.states["ElectrolyteConcentration"]
round_trip_efficiency = output.metrics["RoundTripEfficiency"]

Additional features

Parameter types

  • SolverSettings: settings that configure the solver and verbosity
  • FullSimulationInput: full parameter and setting simulation input

Load parameters

  • load_solver_settings
  • load_full_simulation_input

Expose functions

  • expose python functions to the Julia Main space so that BattMo.jl can see them: expose_to_battmo

Models

  • SodiumIonBattery

Output handling

  • convert output dict (output.time series, output.states, or output.metrics) to pandas dataframe: to_pandas
  • print_output_overview

Run a simulation

  • run simulation wrapper accepting the full simulation input: run_simulation

Tools

  • print_cell_info
  • plot_cell_curves

Plotting

  • plot a dashboard with current, voltage and concentration and potential: plot_dashboard
  • flexible plot creating using strings: plot_output
  • plot interactive 3d results: plot_interactive_3d

Fixed bugs

  • In the previous release it was not possible to pass python functions as functional input parameter. This is been fixed in this release.