Lemonergy · Studio block
Conserving vehicle-to-vehicle converter
One conserving converter linking donor and recipient electrical islands.
- Implementation ID
v2v-converter- Reviewed
- 2026-10-27
Behavior
The donor supplies the recipient power and converter losses. Donor reserve, recipient target, voltage envelopes, current limits, permissions and temperature signals limit transfer together. Both islands require an electrical reference.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
donorP | conserving | V, A | Electrical terminal: potential and charge-conserving current. |
donorN | conserving | V, A | Electrical terminal: potential and charge-conserving current. |
recipientP | conserving | V, A | Electrical terminal: potential and charge-conserving current. |
recipientN | conserving | V, A | Electrical terminal: potential and charge-conserving current. |
command | input | W | Requested power; this does not bypass voltage, current, SOC or permission limits. |
donorSoc | input | fraction | Typed signal input; its quantity must match the connected output. |
recipientSoc | input | fraction | Typed signal input; its quantity must match the connected output. |
enable | input | dimensionless | Typed signal input; its quantity must match the connected output. |
donorBmsPermit | input | dimensionless | Typed signal input; its quantity must match the connected output. |
recipientBmsPermit | input | dimensionless | Typed signal input; its quantity must match the connected output. |
donorTemperature | input | K | Typed signal input; its quantity must match the connected output. |
recipientTemperature | input | K | Typed signal input; its quantity must match the connected output. |
donorPower | output | W | Observed result from the solved component or sampled controller. |
recipientPower | output | W | Observed result from the solved component or sampled controller. |
loss | output | W | Observed result from the solved component or sampled controller. |
donorCurrent | output | A | Observed result from the solved component or sampled controller. |
recipientCurrent | output | A | Observed result from the solved component or sampled controller. |
donorVoltage | output | V | Observed result from the solved component or sampled controller. |
recipientVoltage | output | V | Observed result from the solved component or sampled controller. |
allowed | output | 0 or 1 | Observed result from the solved component or sampled controller. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Power WpowerW | W recipient DC | 3000 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0; Maximum 1000000000 |
Donor Capacity AhdonorCapacityAh | Ah | 100 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 1e-06; Maximum 1000000000 |
Recipient Capacity AhrecipientCapacityAh | Ah | 100 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 1e-06; Maximum 1000000000 |
Donor Reserve SocdonorReserveSoc | fraction | 0.2 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0; Maximum 1 |
Recipient Target SocrecipientTargetSoc | fraction | 0.8 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0; Maximum 1 |
Donor Minimum Voltage VdonorMinimumVoltageV | V | 250 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0.01; Maximum 1000000 |
Donor Voltage Droop OhmdonorVoltageDroopOhm | ohm near minimum-voltage envelope | 0.01 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 1e-06; Maximum 1000000 |
Recipient Voltage Limit VrecipientVoltageLimitV | V | 420 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0.01; Maximum 1000000 |
Donor Current AdonorCurrentA | A | 32 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0; Maximum 1000000 |
Recipient Current ArecipientCurrentA | A | 32 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0; Maximum 1000000 |
Efficiencyefficiency | fraction | 0.9 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0.01; Maximum 1 |
Boundary Time SboundaryTimeS | s | 1 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 0.001; Maximum 3600 |
Min Temperature KminTemperatureK | K | 273.15 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 1; Maximum 1000 |
Max Temperature KmaxTemperatureK | K | 318.15 | Configured model parameter; the default is an initial editor value, not an operating recommendation. Minimum 1; Maximum 1000 |
Equations and rules
P_donor = P_recipient / etaP_loss = P_donor - P_recipient
Worked example
Transfer between two batteries
5 kW delivered at 90% efficiency needs about 5.56 kW from the donor and produces about 0.56 kW loss.
Open the Studio example →Use in a workflow
Transfer between two batteries
Conserving conversion couples donor and recipient.
- Conserving vehicle-to-vehicle converter: Enforces both batteries’ limits
- donorP / donorN
- recipientP / recipientN
- donorReserveSoc / recipientTargetSoc
- efficiency
Connected concepts
Limits and interpretation
- The example assumes hardware compatibility; it does not establish connector or communication compatibility.
Implementation sources
This reference follows Lemonergy implementation sources. Scientific articles support the linked concepts separately.
Repository: battery-design · Revision: ef9802329b75bc15bb96885f8ed5d49425106696
js/charging-control.jsjs/charging-scenarios.jsdocs/CHARGING_BLOCKS_SPEC.mdjs/physical-network.jsrust-core/src/charging_control.rs
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)