Skip to content

Battery backend: expose accuracy knobs via stable config surface #53

@cmccomb

Description

@cmccomb

Summary

Keep the existing high-level problem APIs stable while exposing battery-backend fidelity controls through a clean config surface.

Scope

  • Add/standardize config surface via battery problem TOML and/or a BatteryBackendConfig dataclass:
    • cell_model_mode
    • parameter_set
    • thermal_mode
    • ambient_temp_C
    • parasitics (R_bus, R_contact, etc.)
    • solver tolerances/timestep policy
  • Ensure grammar and optimization battery problems share this surface consistently
  • Document defaults and migration notes for v0.2.x users

Acceptance criteria

  • Existing battery examples still run without required user changes
  • New knobs are discoverable in docs and problem metadata
  • Serialization/deserialization of config is tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions