Lemonergy · Studio block
Pulse power capability
Quasi-static voltage/current/SOC envelope for an explicit prediction horizon.
- Implementation ID
battery-power-capability- Reviewed
- 2026-10-27
Behavior
Combines a constant open-circuit voltage, effective resistance, voltage/current limits and available charge over a prediction horizon. It returns separate charge and discharge current and terminal-power magnitudes.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
ocv | input | V | Open-circuit voltage; scalar. |
resistance | input | 1 | Effective pulse resistance (ohm); scalar. |
soc | input | 1 (fraction) | State of charge; scalar. |
discharge | output | A | Discharge-current limit; scalar. |
charge | output | A | Charge-current magnitude limit; scalar. |
dischargePower | output | W | Discharge power; scalar. |
chargePower | output | W | Charge power; scalar. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Charge capacity (Ah)capacityAh | Ah | 2 | Charge capacity (Ah). This is an editable model input; the default belongs to the synthetic worked example. |
Prediction horizon (s)horizonS | s | 60 | Prediction horizon (s). This is an editable model input; the default belongs to the synthetic worked example. |
Minimum voltage (V)minVoltageV | V | 3 | Minimum voltage (V). This is an editable model input; the default belongs to the synthetic worked example. |
Maximum voltage (V)maxVoltageV | V | 4.2 | Maximum voltage (V). This is an editable model input; the default belongs to the synthetic worked example. |
Maximum discharge current (A)maxDischargeA | A | 5 | Maximum discharge current (A). This is an editable model input; the default belongs to the synthetic worked example. |
Maximum charge current (A)maxChargeA | A | 3 | Maximum charge current (A). This is an editable model input; the default belongs to the synthetic worked example. |
Minimum SOC (0–1)minSoc | 0–1 | 0.2 | Minimum SOC (0–1). This is an editable model input; the default belongs to the synthetic worked example. |
Maximum SOC (0–1)maxSoc | 0–1 | 0.8 | Maximum SOC (0–1). This is an editable model input; the default belongs to the synthetic worked example. |
Equations and rules
Vterminal = OCV - I * Rdischarge charge-budget limit = 3600 * capacityAh * (SOC - minSOC) / horizonSPdischarge = Idischarge * (OCV - Idischarge * R)
Worked example
Pulse power capability worked example
Use the defaults below with Open-circuit voltage = 3.8 V, Effective pulse resistance (ohm) = 0.1 1, State of charge = 0.5 1 (fraction). At 0 s, Discharge-current limit is 5 A. Additional checks are listed below.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Discharge-current limitdischarge | 0 | 5 | A | 1e-08 |
Charge-current magnitude limitcharge | 0 | 3 | A | 1e-08 |
Discharge powerdischargePower | 0 | 16.5 | W | 1e-08 |
Charge powerchargePower | 0 | 12.3 | W | 1e-08 |
Explore the recorded outputs
Pulse power capability recorded example
Pulse power capability / Discharge-current limit2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
Download the recorded samples (JSON) · Open this Studio example after release
Use in a workflow
Pulse power capability worked example
Quasi-static voltage/current/SOC envelope for an explicit prediction horizon.
- Pulse power capability: Combines a constant open-circuit voltage, effective resistance, voltage/current limits and available charge over a prediction horizon. It returns separate charge and discharge current and terminal-power magnitudes.
- Use the parameter values in the block reference.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- This is a quasi-static bound. It excludes polarization dynamics, temperature evolution and weakest-cell limits in a pack.
- The example verifies numerical behavior for synthetic parameters. Cell characterization and validation for an intended use are separate tasks.
Scientific and mathematical references
These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.
- Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs: Part 2. Modeling and identification
Gregory L. Plett · Journal of Power Sources · 2004
Technical reference · Battery charge balance, open-circuit voltage, ohmic loss, polarization dynamics and model identification; parameters require cell-specific data.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)