[Ovmsdev] Advice regarding BmsSetCell...

Michael Geddes frog at bunyip.wheelycreek.net
Sat Nov 12 21:12:56 HKT 2022


I did have some code that handled this kind of stuff... But it was over
complicated.. There's a new function that allows you to set the new size
that the ioniq 5 code uses... But a similar function could be added that
just compresses what is there as well.

Michael

On Sat, 12 Nov 2022, 9:02 pm Mark Webb-Johnson, <mark at webb-johnson.net>
wrote:

>
> The original Model S had a fairly simple to decode CAN bus message 0x6f2
> with the first byte in range 0..1f and each message encoding 3 battery
> bricks, for a total of 96 bricks.
>
> However, things have now got more complicated. A 75kWh Model X, and a
> replacement pack for a 85kWh Model S, contain cut-down packs with modules
> missing, so 0x6f2 only contains 28 messages, for 84 bricks, with bricks
> #15, #16, #17 and #31 missing from the message.
>
> When we feed this into BmsSetCell… calls, the OVMS BMS support code sees
> the missing bricks, assumes things are missing, and refuses to give an
> output.
>
> So my (hopefully simple) question, is how to tell it the brick
> arrangement? Or how to deal with these missing bricks?
>
> Regards, Mark.
>
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20221112/78bf41e3/attachment.htm>


More information about the OvmsDev mailing list