Limit to formula length

From a discussion it looks like there is a better way to detect when the Kona is charging than we are currently using.

However, I found I can’t use this - with a longer formula the PID can’t be saved in the library dialog box./

So I presume there is a limit to the formula length.

I don’t see a way around this - so we’ll either need a longer formula or some shorter way to represent the calculation.

Which one’s too long? The energy draw one?

Breaking down the single battery power into separate charging power and driving power.

For example, I think charging power ( positive when charging, zero otherwise ) should be -


Which is too long.

I think I mentioned it before, but I prefer the Torque Pro way of expressing formulas - its much shorted and more maintainable.

I think i’m missing something here…
Why do you need a unified energy flow (+/-) to detect if it’s charging or not?
Or, why do you need it at all?

On my console I want to see two plots - one driving power and the second charging power. I don’t want to see a combined plot. Thats it really.

If we just have one plot of power ( battery voltage * battery current ) then its a bit confusing - its negative when charging. We also have negative power when driving and using regen so its less obvious when the car is really charging.

Original post here BTW Hyundai Kona / Ionic EV

Beyond this I would really like to track charges, costs etc.

But anyways, regardless of the reasons why, looks like we’ve got a limit to the formula length. No doubt this will impact other plots.

1 Like


Original post mentioned detecting charging, so i misunderstood what the intent was.
And yeah, definitely needs a way to either reference other PIDs in formulas, or longer formulas, or both.

Hi guys

I will look into this :slight_smile:

Best regards

1 Like

Any progress on this?