<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Nikki,<br>
<br>
I have added these fields to the RT-GPS-Log message:<br>
<br>
// current power (W)<br>
// power usage sum (Wh)<br>
// recuperation sum (Wh)<br>
// distance driven (m)<br>
<br>
Be aware that the "current power" is really the power use of the
exact moment the message is sent, no average. This reacts to any
bump in the road or wind gust. So the sums will normally be more
useful, but will need deriving the section differences in a post
processing step.<br>
<br>
New firmware image attached. So if you activate GPS streaming you'll
get updates every 5 seconds, which should already give a very
detailed view of the power usage (if GPS position can be acquired
fast and precise enough).<br>
<br>
I had a strange effect (read: possible bug) on the first test run:
distance would start at 6546 meters (should be 0). That could have
been because I was very fast with flashing so maybe the SRAM init
was skipped... but maybe it's a real bug. If it's a bug it will also
affect the power usage statistics, resulting in too low Wh/km
figures.<br>
<br>
Please tell me if you still see a similar fault if you wait 2-3
minutes from flashing to reinstalling.<br>
<br>
Thanks,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 07.04.2013 16:36, schrieb Mark
Webb-Johnson:<br>
</div>
<blockquote
cite="mid:4780CD6B-3F1B-4F0F-A2EC-8F6D0FEB7BA9@webb-johnson.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div><br>
</div>
Instantaneous power should be available in most cars. It is
certainly there in the roadster (because we spoof it to show speed
as a digital speedo).
<div><br>
</div>
<div>It would not be hard to add it to the model and to the
location streaming feature when an App is connected.</div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
<div>
<div>On 6 Apr, 2013, at 10:39 PM, Michael Balzer <<a
moz-do-not-send="true" href="mailto:dexter@expeedo.de">dexter@expeedo.de</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> ...btw, it would be
quite easy to send power usage updates within the
streaming update mode, just adds some traffic. So you
would get 5 second sections in GPS and power usage, easier
to correlate. But still the power usages would be far
easier to process when being included in the GPS messages.<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 06.04.2013 16:29, schrieb
Michael Balzer:<br>
</div>
<blockquote cite="mid:5160314A.4080004@expeedo.de"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Nikki, Mark,<br>
<br>
I decided against adding the current power to the GPS
log because that's something not defined in the general
virtual car model, all other cars lack this feature, and
I wanted to make the GPS log function fit for inclusion
in the framework first.<br>
<br>
I currently send the power usage log (RT-PWR-UsageStats)
once per minute. You can correlate that to the GPS log
to get the power usage of minute long sections, but
that's a lot of manual work and not very detailed (e.g.
for hills).<br>
<br>
Btw: using the power collection feature, you can also
measure certain route parts: easiest way is to turn the
Twizy on just before driving the section, then turn the
Twizy off and check the power stats message. But a
combined GPS track would of course be far better and
more accurate.<br>
<br>
Mark, you mentioned a "kWh used" value with the driving
log function, so I guess we can think about adding the
power usage to the standard car model?<br>
<br>
But I'm not sure yet if the way I currently collect
power usages is suitable and sufficient as a standard.
As I wrote in the docs, that's work in progress... any
thoughts on this?<br>
<br>
Regards,<br>
Michael<br>
<br>
<br>
<div class="moz-cite-prefix">Am 06.04.2013 15:39,
schrieb Nikki Gordon-Bloomfield:<br>
</div>
<blockquote
cite="mid:B3F4A5F2-5369-4E65-B978-71DC42C5B9B8@littlecollie.com"
type="cite">Hi folks,
<div><br>
</div>
<div>Just got the server.pl running and the
client_app.pl running on my Ubuntu box at home. And
I've pulled down the GPS Logs for the Twizy. </div>
<div><br>
</div>
<div>One thing that's missing, which I'd love to see
in the future, is an instantaneous power reading.
This would enable us to not only plot the course,
but figure out where the most demanding part of a
trip is based on power drainage. </div>
<div><br>
</div>
<div>Anyone else think it's a good idea? </div>
<div><br>
</div>
<div apple-content-edited="true"> <span
class="Apple-style-span" style="border-collapse:
separate; font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; border-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; font-size: medium;
">Nikki Gordon-Bloomfield<br>
<br>
<a moz-do-not-send="true"
href="http://about.me/aminorjourney/bio">http://about.me/aminorjourney/bio</a><br>
email: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:nikki@littleCollie.com">nikki@littleCollie.com</a><br>
tel: +44 7901 553308<br>
</span> </div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</div>
<span><dexter.vcf></span>_______________________________________________<br>
OvmsDev mailing list<br>
<a moz-do-not-send="true"
href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a>
<a class="moz-txt-link-freetext" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
</pre>
</body>
</html>