Ask an engineering question in plain language. The AI assistant finds the Batemo Cell Model in MATLAB and reads its documentation. Then it builds the simulation, runs it and checks its own results. This takes minutes and needs no hand-written code.
Every answer comes from a validated physical cell model. The numbers on this page were confirmed by independent reference simulations with the code of the Batemo help.
How it works
01
Batemo Cell Model
in MATLAB
Installed as usual in MATLAB/Simulink or Simscape. Its help ships with a folder written for AI assistants.
02
MATLAB MCP Core Server
by MathWorks, free
Connects MATLAB to AI assistants that support the Model Context Protocol (MCP).
03
Your AI assistant
with MCP support
Reads the help, writes and runs the simulation in MATLAB and checks the results.
In company setups, your IT administrator may have to enable MCP.
Fromprompttoresult
Pick an example. Each shows the prompt as typed, what the assistant did and the result, drawn from the data of the run.
Example 1
How much power does an aged cell still deliver?
Run with Claude Code (Claude Opus 5.5). About 8 minutes, 21 tool calls.
Prompt
> The Batemo Cell Model of the Molicel INR21700-P50B is installed in MATLAB and on the MATLAB path. Ask MATLAB where it is installed (e.g. which Molicel_INR21700P50B_241c01110_lib); its documentation is in the help folder next to the library. Read it, then find out how much energy and power this cell still delivers in a 3C discharge at 25 °C when it is new and after 250, 500 and 800 cycles of the measured standard-cycling aging. The evolution files are in ./evolutions. Make one figure with voltage and discharge power over discharged capacity for all four aging states, save it as aging_3C.png, and summarize the results in a table.
What the assistant did
Asked MATLAB where the model is installed and read its help pages.
Wrote a script from the documented test bench and aging functions: 3C discharge, free convection, aging state from the measured evolution.
Ran four simulations (new, 250, 500, 800 cycles), saving after each.
Plotted voltage and power, and checked its results against the reference values in the help.
Voltage and discharge power over discharged capacity
new
250 cycles
500 cycles
800 cycles
Two stacked charts with a shared axis of discharged capacity from 0 to 5 Ah. Top: cell voltage, bottom: discharge power, one line each for the new cell and after 250, 500 and 800 cycles. The older the cell, the earlier its line ends at 2.5 V.
Voltage (V)
2.53.03.54.0
Discharge power (W)
405060
012345
Discharged capacity (Ah)
18 %
less energy at 3C after 800 cycles
Insight
After 800 cycles the cell delivers 18 % less energy at 3C: the discharge at 15 A ends after 15.6 instead of 19.1 minutes.
Results (3C discharge at 25 °C, from full to 2.5 V)
Cycles
Capacity health
Energy
vs. new
Discharge time
Peak power*
new
100 %
16.6 Wh
100 %
19.1 min
61 W
250
93 %
15.3 Wh
92 %
17.6 min
61 W
500
90 %
14.5 Wh
87 %
16.5 min
60 W
800
84 %
13.7 Wh
82 %
15.6 min
60 W
* Highest power during this constant-current discharge (15 A x voltage at the start). It is not the power capability of the cell, which was not simulated here; the aged cell has a higher resistance.
Example 2
How long can a drone fly?
Run with Claude Code (Claude Opus 5.5). About 7 minutes, 8 tool calls.
Prompt
> The Batemo Cell Model of the Molicel INR21700-P50B is installed in MATLAB and on the MATLAB path. Ask MATLAB where it is installed (e.g. which Molicel_INR21700P50B_241c01110_lib); its documentation is in the help folder next to the library. Read it, then answer: a drone uses a 6s2p pack of this cell. It hovers at 40 A pack current with 5 s bursts of 70 A every minute, at 25 °C ambient. How long can it fly until a cell reaches 3.0 V, and how hot do the cells get? Plot pack voltage and cell temperature over time and save it as drone.png.
What the assistant did
Read the help and set up the pack (6 cells in series, 2 in parallel) with the flight profile.
Chose a small solver step so that the 5 s bursts are resolved, and checked the result with a second, independent pack simulation.
Reported flight time, temperatures and the main uncertainty (cooling of the cells).
Pack voltage and cell temperature over timeTwo stacked charts over the flight time of 661 seconds. Top: pack voltage, which falls from about 25 V to 18 V and dips during every 70 A burst. Bottom: cell surface temperature, which rises from 25 °C to about 62 °C.
Pack voltage (V)
1820222426
Cell surface temperature (°C)
2030405060
0100200300400500600700
Time (s)
11.0 min
flight time until a cell reaches 3.0 V
Insight
The drone hovers for 11 minutes; by then the cells have heated from 25 °C to about 62 °C.
Results
Flight time until a cell reaches 3.0 V
Energy from the pack
Maximum cell temperature
11.0 min (661 s)
165 Wh
62 °C
Example 3
What does one weak cell cost?
Run with Claude Code (Claude Opus 5.5). About 19 minutes, 16 tool calls; most of it simulation time.
Prompt
> The Batemo Cell Model of the Molicel INR21700-P50B is installed in MATLAB as a Simulink and a Simscape variant and is on the MATLAB path. Ask MATLAB where it is installed (e.g. which Molicel_INR21700P50B_241c01111_lib); its documentation is in the help folder next to the library. Read it, then answer: a drone uses a 6s2p pack of this cell. It hovers at 40 A pack current with 5 s bursts of 70 A every minute, starting after the first minute, at 25 °C ambient; every cell is cooled by free convection on its own. How long can it fly until the first cell reaches 3.0 V when all 12 cells are identical, and when one cell has only 90 % of the nominal capacity? How do the currents of the two parallel strings and the cell temperatures differ? Plot the pack voltage and the two string currents over time for both cases and save the figure as drone_weak_cell.png.
What the assistant did
Read the help and chose the Simscape variant to build the pack from 12 individual cells, each with its own cooling.
Simulated both cases with the documented solver settings and checked the identical-cell case against the reference in the help.
Found and fixed a bug in its own evaluation, and added a plot of the current difference because the gap is too small to see on the full scale.
Pack voltage and the difference between the two string currents
12 identical cells
one cell at 90 % capacity
Two stacked charts over time for both cases. Top: pack voltage; with one weak cell the flight ends at 601 instead of 661 seconds. Bottom: string 2 minus string 1 current; zero for identical cells, growing to about 1 A with one weak cell.
Pack voltage (V)
1820222426
String 2 minus string 1 current (A)
0.00.51.0
0100200300400500600700
Time (s)
9 %
flight time lost to one weak cell
Insight
One cell with 10 % less capacity costs 9 % flight time: the weak cell ends the flight while the other 11 cells still hold about 30 % of their charge instead of 23 %.
Results
12 identical cells
one cell at 90 % capacity
Flight time until the first cell reaches 3.0 V
11.0 min (661 s)
10.0 min (601 s)
Current difference between the two strings
none
up to about 1 A
Charge left at the end (state of charge)
23 % in every cell
23 % in the weak cell, about 30 % in the other 11
OpenAI Codex CLI (GPT-6-Astra) reached the same results from the same prompts.
WhatmakesthehelpAI-ready
The Batemo help ships with a folder written for AI assistants. The assistant works from this documentation alone.
01
A folder written for AI assistants
Plain-text files next to the help for people. An entry file maps which file to read for which task: setup, scripting, studies, packs and aging.
02
Tested code
The MATLAB code in the files is tested with the installed release. It prints its results and checks them where a check is possible.
03
Assumptions and reporting rules
Rules for running the model from a tool, and the inputs a question may leave open, such as initial state of charge, cooling and cut-off voltage. A checklist says what to state with every result.
04
One tab for you
The help for people gets one “AI Assistant” tab with the one-time setup and the prompt to start with.
What you can ask
The “AI Assistant” tab suggests questions like these.
Constant discharge
Charge time
Pulse resistance
Drone
Angle grinder
Profile from a file
QuestionsaboutAI-readymodels
What does AI-ready mean for a Batemo Cell Model?
The Batemo help ships with a folder written for AI assistants: plain-text files with tested MATLAB code, rules and a map of which file to read for which task. An AI assistant connected to MATLAB finds the model, works from this documentation alone, builds the simulation, runs it and checks its results.
Which AI assistants have been tested?
Claude Code with Claude Opus 5.5 and OpenAI Codex CLI with GPT-6-Astra. Both passed all three examples on this page from the same prompts. We add a tool to this list only after it has passed the same test.
What do I need to run a Batemo Cell Model from an AI assistant?
MATLAB with the Batemo Cell Model installed as usual, the free MATLAB MCP Core Server from MathWorks, and an AI tool that supports MCP servers. The “AI Assistant” tab of the help shows the two steps: set up the server once, then tell the assistant where the help of the model is. In company setups, your IT administrator may have to enable MCP.
What else can I ask?
The “AI Assistant” tab of the help lists example questions: a constant discharge, the charge time of a CC-CV charge, the pulse resistance, a drone or a cordless power tool with its own pack, and a current profile from a CSV file. State your assumptions in the question or let the assistant state them with the result.
Where do the numbers come from?
From simulations with the Batemo Cell Model in MATLAB. The AI assistant writes and runs the code, and the physics comes from the validated cell model. Every number on this page was confirmed by an independent reference simulation with the code of the Batemo help.
How can I try it?
Request a test model. An engineer reads your request and replies, usually within one business day. With the model installed, set up the MATLAB MCP Core Server once and tell your AI assistant where the help of the model is.
Tryitwithyourownquestion.
Request a test model and run it with your AI assistant in MATLAB. An engineer reads your request and replies, usually within one business day.