<div dir="ltr"><div>Hi,</div><div><br></div><div>There's a remaining charge calculator currently in the hyundai base class which I have improved upon.  This configuration allows for the charge voltage to be part of the equation.  This is the example from data I collected with the ioniq 5 on 800v charging .. and I've written a plugin so I can get more charge profile information at other charge voltages.</div><div><br></div><div>I'm happy to leave it in the Ioniq 5 code, but was wondering if I should put the implementation in a common area.. vehicle.h maybe?</div><div><br></div><div>//.ichael</div><div><br></div><div>---8<----------------------</div><div><br></div>// Charging profile<br>//  - Must be from lowest to highest to%.<br>//  - Higher voltages must come before lower voltages for the same to%<br>charging_step_t ioniq5_chargesteps[] = {<br>// voltage, to%, WattHours<br>  { 750,     10, 100000 },<br>  { 750,     25, 190000 },<br>  { 750,     45, 220000 },<br>  { 750,     75, 120000 },<br>  { 750,     80,  80000 },<br>  { 400,     85,  60000 },<br>  { 400,     90,  40000 },<br>  { 100,     90,   1100 },<br>  { 400,     95,  25000 },<br>  { 100,     95,   7400 },<br>  { 100,    100,   7200 },<br>  { 0, 0, 0 },<br>};<br><br>int CalcRemainingChargeMins(int chargeVolt, float chargespeed, int fromSoc, int toSoc, int batterySize, charging_step_t charge_steps[])<br>{<br></div>