Where can I find (if it exists) a single list of all the commands please? I am learning by surprise references over time of new commands eg RADIUS and this one, the function of which is unclear - is it a calculation or does it replicate what LIMIT does?
The best list of SMS commands is in the
OVMS Roadster User Guide, but it isn't always complete. For example, I haven't documented the CTP command.
The CTP command uses the
charge time predictor algorithm to figure out a charge time estimate and returns that. It doesn't alter any settings. It guesses at what parameters to use when calculating the charge time, but it doesn't always make the right choice for parameters. To help in those cases, you can specify the parameters yourself. If you know the voltage and current, you can send those.
When charging at home, I have a charge limit of 32A and see a line voltage around 238V when charging. At a public Blink station, I'm likely to see 200V and 24A available. To get the charge time prediction from the current state of charge to full in the current charge mode, I'd send one of these commands:
CTP 238V 32A
CTP 200V 24A
If I'm planning a road trip and want to compute charge times based on expected SOC, I can also send the start and end ideal miles. Part of the reason I haven't documented the CTP command is that it's lame and assumes ideal miles, so folks who think in kilometers have to convert to miles. Suppose I'm planning to charge at a Tesla Roadster HPC that I know supplies 205V at 70A, and I want to charge from 70 ideal miles (
Start) to 150 ideal miles (
End). Here's the command:
CTP 200V 24A 70S 150E
You can also specify the charge mode (
S,
R, or
P for standard, range and performance, resp.) and the ambient temperature in
Degrees C (no support for F, again lameness leading to lack of documentation). So now suppose I want to do the previous charge in range mode and expect the ambient temperature to be 35C (95F). Here's the command:
CTP 200V 24A 70S 150E 35D R
The command arguments are case-insensitive and order doesn't matter, so the above command can be expressed as:
CTP r 35d 150e 70s 32a 200v
It uses the Roadster's CAC value to estimate the ending charge state and charge tapering profile in each mode. If you're really nerdy and want to figure out charge time estimates for another Roadster, you can set the CAC value manually as well (integer values only). So, to figure out the charge time to go from flat empty to full in standard mode at 240V/70A and 30 degrees C for a nominal new Roadster with a
CAC of 160Ah:
CTP 240V 70A 0S 160C 30D S
You might also fiddle with the CAC value if CTP isn't doing a good job of estimating your end-of-charge ideal range.
An easier way to try out different parameters on the charge time prediction algorithm is to use the
online CTP calculator. The only difference is that the online calculator has you specify the pack capacity rather than calculating it from the CAC.
If I can get improved versions of STAT and CTP working, I'll also try to get the Roadster manual updated to include the CTP command.