Thermal checks
Three tests verify monotonic bounded heating, stronger-cooling ordering, and zero-current convergence toward ambient.
Validated reference · Reference models
Expose the thermal and DC-link assumptions before design detail hides them.
Two small, tested references connect current and heat rejection to cell temperature, and capacitor current or an energy pulse to DC-link ripple and capacitance.
Engineering question
Trace first-order battery temperature response and DC-link ripple or capacitance from stated inputs to tested MATLAB and Python outputs.
System and evidence boundary
Both references keep inputs, transformations, outputs, and omitted effects visible. Their child pages hold the deeper case studies.
Verified results
Every visual below points to its source data or retained source format and to the release- or commit-specific implementation behind it.
Pinned Python source, default resistance and thermal capacitance, 25 °C ambient, and an 80 A constant-current demonstration. This is a parameter sensitivity, not measured cell data.
python scripts/generate-open-engineering-figures.py --sources-root <audit-root>The plotted waveform, frequency, pulse power, duration, bus voltage, and voltage window are stated on the figure. ESR, ESL, switching spectra, tolerances, aging, and temperature remain outside it.
python scripts/generate-open-engineering-figures.py --sources-root <audit-root>Validation and evidence
Six dependency-free Python unit tests passed; MATLAB equivalents implement the same documented relationships.
Three tests verify monotonic bounded heating, stronger-cooling ordering, and zero-current convergence toward ambient.
Three tests verify the triangular ripple relationship, positive energy-pulse capacitance, and rejection of an invalid voltage drop.
The repository supplies MATLAB equivalents for both relationships. The Python suite is the automated source of the six-test count.
No measured dataset, component tolerance stack, switching model, electrochemistry, CFD, or hardware validation is included.
Shortest verified path
git clone https://github.com/mohammadrezwankhan/battery-power-models.git
cd battery-power-models
git checkout 7d9f61f1ebdca73f9facce5129f79805b1747ed0
python src/battery_thermal.py --current 80 --duration 900 --output thermal_trace.csv
python src/dc_link.py
python -m unittest discover -s tests -v
Verification environment: Python 3.12.13 on Windows 11; MATLAB parity inspected. Commands are concise entry points; repository documentation remains authoritative for setup details.
Documentation map
Engineering boundary
Related professional context