pyXede: public release
Thread Starter
Evolved Member
iTrader: (6)
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by gsujeff55
yep, you jsut lost me there.
i can get the dynorun by doing a high speed log and importing the run to where? will this show me the dyno info?
i can get the dynorun by doing a high speed log and importing the run to where? will this show me the dyno info?
Alls ya got to do is collect a highspeed log, then trim off all the extra data (everything before you started the run and everything after you let off the accelerator). The import dialog will prompt for which column of the log has rpm, afr, knock, timing, and timestamps. There are actually several ways to specify time, but for pyxede logs just select "from data" and it's always column 0.
cheers
d
Originally Posted by gsujeff55
yep, you jsut lost me there.
i can get the dynorun by doing a high speed log and importing the run to where? will this show me the dyno info?
i can get the dynorun by doing a high speed log and importing the run to where? will this show me the dyno info?
do a regular highspeed log to a csv file.
then on the Duno Runs screen, go to Data, Import. Pick the log file you created.
then you have to tell it what colums are what.
RPM: 1
A/F: 3
Knock: 2
Timing:4
Powercalculation: timestamp: 0
that should be the most common.
Donour, if the dyno run and highspeed logging use the same format, why cant you just use the 'Load' to open a highspeed log? gives an invaild file format error. i havent been able to do a dyno run, so i havent been able to look at the files it makes.
Thread Starter
Evolved Member
iTrader: (6)
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by Sackett
Donour, if the dyno run and highspeed logging use the same format, why cant you just use the 'Load' to open a highspeed log? gives an invaild file format error.
i havent been able to do a dyno run, so i havent been able to look at the files it makes.
d
did a high speed log this morning....
got the excel spreadsheet but the entire timing table column was 0 all the way down. any idea why?
and also, did you say you could somehow get the road dyno out of the high speed log?
got the excel spreadsheet but the entire timing table column was 0 all the way down. any idea why?
and also, did you say you could somehow get the road dyno out of the high speed log?
Subscribed - this is nice work donour! When I get ahold of an XEDE I'll have a lot of fun with this!
I haven't ran anything yet, but it looks like you've added quite a bit since v1.0.
Just a couple of questions -- and BTW sorry if I've missed something obvious
*You're using gnuplot to plot the graphs right? What's the crpmplot module in the C folder? Is that something from CVS, or is that something you're working on?
*In dyno.py (class car) it looks like your hardcoding some of the car attributes -- such as weight, gear ratios, wheel size etc. Do you think it would cause any problems if I tried to put these values in a separate config file (maybe an xml file or another comma delimeted file) -- or are these values able to be changed from within pyXede already. I have very little experience with python, but I'm a C and perl guy so I'm sure I can figure it out.
Thanks again!
I haven't ran anything yet, but it looks like you've added quite a bit since v1.0.Just a couple of questions -- and BTW sorry if I've missed something obvious
*You're using gnuplot to plot the graphs right? What's the crpmplot module in the C folder? Is that something from CVS, or is that something you're working on?
*In dyno.py (class car) it looks like your hardcoding some of the car attributes -- such as weight, gear ratios, wheel size etc. Do you think it would cause any problems if I tried to put these values in a separate config file (maybe an xml file or another comma delimeted file) -- or are these values able to be changed from within pyXede already. I have very little experience with python, but I'm a C and perl guy so I'm sure I can figure it out.
Thanks again!
Thread Starter
Evolved Member
iTrader: (6)
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by gsujeff55
did a high speed log this morning....
got the excel spreadsheet but the entire timing table column was 0 all the way down. any idea why?
got the excel spreadsheet but the entire timing table column was 0 all the way down. any idea why?
and also, did you say you could somehow get the road dyno out of the high speed log?
d
Thread Starter
Evolved Member
iTrader: (6)
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by CGs
Just a couple of questions -- and BTW sorry if I've missed something obvious
*You're using gnuplot to plot the graphs right?
*You're using gnuplot to plot the graphs right?
What's the crpmplot module in the C folder? Is that something from CVS, or is that something you're working on?
When you're trying to do stuff realtime, performance becomes really important. I've identified some parts of the plotting code that would really benefit from the features of an agressively optimizing C compiler. It doesn't really work yet though.
*In dyno.py (class car) it looks like your hardcoding some of the car attributes -- such as weight, gear ratios, wheel size etc. Do you think it would cause any problems if I tried to put these values in a separate config file (maybe an xml file or another comma delimeted file) -- or are these values able to be changed from within pyXede already. I have very little experience with python, but I'm a C and perl guy so I'm sure I can figure it out.
EDIT: here's a datalog that you can import. it's not even generated by pyxede even. it's off dustin's car. notice that it was done on a loading dyno, not the road, to the power curve is really funny looking. change the filename to .csv
d
Last edited by donour; Aug 15, 2005 at 07:13 AM.
Originally Posted by donour
The code you see is for calibrating the dyno runs to get SI units (N*m, kg*m/s), but the code in dyno.py is really old.

So now my question is, which module handles the calculations (of max power and max torque for example) after I import the data file you posted (smart2.csv)? Looks like both pyxede.py and wxdyno.py.
Also could someone explain the 'Power Calculation' frame when I'm importing smart2.csv -- Like a previous message said, I chose RPM=column1, A/F=column3, Knock=2, TimingShift=column4, and Timestamp=column0. This gave a Max Power ~ 1571 and MTorque ~ 1088. Is this just funny data, or have I done something wrong in the import process?? Funny data is fine for my purposes, but I wanted to make sure I'm using the tool right.
Thanks again!
Thread Starter
Evolved Member
iTrader: (6)
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by gsujeff55
You have any idea why i am getting a 0 reading on my timing column? you said it just shows offsets of stock, not actual degrees advanced or retarded?
EDIT: I'm not sure how you could get all zeros unless your timing table is empty. Are you running a map with a zero'd timing table?
d
Thread Starter
Evolved Member
iTrader: (6)
Joined: May 2004
Posts: 2,502
Likes: 1
From: Tennessee, USA
Originally Posted by CGs
Ahh, gotcha -- that makes sense, since the weight units were in kg 
So now my question is, which module handles the calculations (of max power and max torque for example) after I import the data file you posted (smart2.csv)? Looks like both pyxede.py and wxdyno.py.

So now my question is, which module handles the calculations (of max power and max torque for example) after I import the data file you posted (smart2.csv)? Looks like both pyxede.py and wxdyno.py.
Also could someone explain the 'Power Calculation' frame when I'm importing smart2.csv -- Like a previous message said, I chose RPM=column1, A/F=column3, Knock=2, TimingShift=column4, and Timestamp=column0.
torque = time2-time1 / rpm2-rpm1 = dTime / dRPM
This gave a Max Power ~ 1571 and MTorque ~ 1088. Is this just funny data, or have I done something wrong in the import process?? Funny data is fine for my purposes, but I wanted to make sure I'm using the tool right.

d


