All Forums | Search | Inbox | Members
TRIMP Plugin
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    SportTracks Forum Index -> TRIMP
View previous topic :: View next topic  
Author Message
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Wed Nov 07, 2007 5:37 am    Post subject: TRIMP Plugin Reply with quote
TRIMP Plugin for SportTracks

Author

Kristian Bisgaard Lassen (Contact by private message in the SportTracks forum)

Webpage

http://gpsrunning.nicolajsen.nl/?path=SportTracks%2FTRIMP

I hope you will enjoy this plugin Very Happy!


Last edited by Kristian Bisgaard Lassen on Thu Jan 10, 2008 4:25 am; edited 4 times in total
Back to top
View user's profile Send private message
mazoaguirre
Contributor!
Contributor!


Joined: 27 May 2005
Posts: 1234
Location: San Felipe "Torres Mochas" Guanajuato Mexico

PostPosted: Wed Nov 07, 2007 7:58 am    Post subject: Reply with quote
hi, i had been use a trimp excell spreadsheet, that calculates the TRIMP, ATL and CTL and graphs togheter, and i noticed that your formula to calculates the double of my excel, there is more than one metod to calculate?

what parameterers take your formula?

if you want a copy of the excel i use, send me a PM, may be you are want to integrate the ATL and CTL wich mean the stress over a load of trainng and the Adaptation or fitness, and at least for it works for parameter about my fitness
_________________
Mario Aguirre
FR 310 Cadence Sensor and Foot Pod
web made with Activity Documentation and Reporting Plugin

PB in Half 1:41:39 22 Mar 09
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Wed Nov 07, 2007 9:03 am    Post subject: Reply with quote
Nice implementation, again.
I have not bothered with something like Trimp before, this makes it easy to try it.

When trying many activities I get an Exception. 72 activities was fine, 79 was not.
Workaround is easy (just split it up), hopefully it is easy to fix.


System.ArgumentException: An entry with the same key already exists.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value)
at SportTracksTRIMPPlugin.Source.TRIMPView.updateTable()
at SportTracksTRIMPPlugin.Source.TRIMPView..ctor(IList`1 activities, Boolean showDialog)
at SportTracksTRIMPPlugin.Source.TRIMPAction.Run(Rectangle rectButton)
at ZoneFiveSoftware.SportTracks.Actions.ActionMenuAction.popupItem_Select(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Back to top
View user's profile Send private message
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Wed Nov 07, 2007 9:03 am    Post subject: Reply with quote
Hi mazoaguirre,

I might be wrong about the TRIMP calculation. The TRIMP is calculated as described on this page: http://www.pponline.co.uk/encyc/training-schedules.html. I calculate how much time in minutes spend in each zone (t1, ..., t5) and then calculate t1 + 2*t2 + ... + 5*t5 as the TRIMP value.

And about the excel spreadsheet, yes I would like to check it out. Perhaps, it could be integrated into the plugin, just send it on my email address K.B.Lassen@daimi.au.dk.

Cheers, Kristian
Back to top
View user's profile Send private message
mazoaguirre
Contributor!
Contributor!


Joined: 27 May 2005
Posts: 1234
Location: San Felipe "Torres Mochas" Guanajuato Mexico

PostPosted: Wed Nov 07, 2007 9:20 am    Post subject: Reply with quote
Kristian:

i send you the excel by mail


and about the error that get Gerhard i did already a try with 490 workouts for this year, and not error

and get the message about those ones that be exclude becuase not have HR
_________________
Mario Aguirre
FR 310 Cadence Sensor and Foot Pod
web made with Activity Documentation and Reporting Plugin

PB in Half 1:41:39 22 Mar 09
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Wed Nov 07, 2007 9:41 am    Post subject: Reply with quote
@mazoaguirre,

I have made a new version of the plugin (1.0.1) that now uses the Polar factors (1, 1.1, 1.2, 2.2, 4.5). Hopefully this will fix it.

@Gerhard

In the new version of the plugin I fixed a bug that relates to a bug that occurs if two activities have the exact same start time. Perhaps the exception you experienced will go away with this version -- otherwise let me know Smile!

Cheers, Kristian
Back to top
View user's profile Send private message
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Wed Nov 07, 2007 9:47 am    Post subject: Reply with quote
Thanks, my problem was two activities with the same start time.

This occurred because I had merged two activities and left the original in the log book. Another indication that I should clean this up...
Back to top
View user's profile Send private message
mazoaguirre
Contributor!
Contributor!


Joined: 27 May 2005
Posts: 1234
Location: San Felipe "Torres Mochas" Guanajuato Mexico

PostPosted: Wed Nov 07, 2007 9:50 am    Post subject: Reply with quote
the new one, still have diferences, but pretty close, per example last 21 october, i ran a 10 K your plugins reposts a trimp of 207.9 and my excel gives me a 183.4 is pretty close on the other version it gave me a 400 and something


may be there is a sligthy diferences on settings, or some,

after i checked, i let ypou know if change

thanks,
_________________
Mario Aguirre
FR 310 Cadence Sensor and Foot Pod
web made with Activity Documentation and Reporting Plugin

PB in Half 1:41:39 22 Mar 09
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
DavidCHall
Donated!
Donated!


Joined: 24 Sep 2007
Posts: 895
Location: Durban, South Africa

PostPosted: Thu Nov 08, 2007 10:39 pm    Post subject: How to calculate a TRIMP Reply with quote
It would appear that there some interesting variations in published methods to calculate TRIMPs. While all appear to produce a number that accounts for both duration and intensity of exercise, the actual number calculated will obviously vary depending on which formulae was used.

See: http://www.abcbodybuilding.com/taper1.php

Formulae: TRIMP = Duration * (Heart Rate exercise – heart rate rest) / (Heart rate maximum – heart rate rest)

Explanation: Note that the equation only includes beats above that which occur during rest. Therefore, it takes into account only the extra beats needed to perform exercise, not the beats needed to maintain a resting energy output. Heart Rate exercise – Heart Rate Rest is known as ‘Span Heart Rate’ while Heart rate maximum (found by subtracting the participants age from 220 ) – Heart rate rest is known as Delta Heart Rate(Banister, 1991). In abbreviated terms the equation can be written as follows

w(t) = Tim(min) * Delta Heart Rate Ratio

_________________
DCH
Back to top
View user's profile Send private message
DavidCHall
Donated!
Donated!


Joined: 24 Sep 2007
Posts: 895
Location: Durban, South Africa

PostPosted: Thu Nov 08, 2007 10:45 pm    Post subject: More TRIMP calculations Reply with quote
This site uses a method very similar to the calculation implemented by Kristian.

http://www.answers.com/topic/trimp-method

Quote:
A method for quantifying aerobic training load. TRIMP is an abbreviation of TRaining IMPulse. It was originally defined as the product of training volume, measured in minutes, and training intensity, measured as average heart rate (beats per minute or bpm). For example, 50 min at 140 bpm TRIMP = 50 × 140 = 7000. One modified version of TRIMP splits training into zones related to the maximum heart rate (max HR) of the performer: zone 1 is at 50-59% maxHR; zone 2 at 60-69% max HR; zone 3 at 50-79% max HR; zone 4 at 80-90% HR; and zone 5 at 90-100% max HR. The modified TRIMP is calculated as the product of training volume (time in minutes) and training intensity (HR zone). The modified TRIMP for a person with a maximum heart rate of 200 bpm training for 30 min at an average of 150 bpm will be 30 × 3 = 90. In another modification, TRIMP is calculated as a product of the training time in minutes and a Rating of Perceived Exertion where rest = 0, 1 = very, very easy; 2 = easy; 3 = moderate; 4 = somewhat hard; = 5 hard; 7 = very hard and 10 = maximal.

_________________
DCH
Back to top
View user's profile Send private message
podunk



Joined: 16 Jul 2007
Posts: 103

PostPosted: Fri Nov 09, 2007 12:39 am    Post subject: Reply with quote
wow. that is so great. thank you very much.

maybe some feedback later. for now, just enjoying.
Back to top
View user's profile Send private message
trell



Joined: 21 May 2005
Posts: 161

PostPosted: Fri Nov 09, 2007 4:09 am    Post subject: Reply with quote
The plugin is based on hr max, but what is hr max?
1 220 - age
2 some say is better karvonen fornula
3 hard test, but usually change by activity (running vs cycling..)
4 exercise max..
5 ...
where set hr max ? every day?

so without a valid customization (hr max , zone-range, ect) is not a good index Embarassed

PS some national team use this:

http://www.zonefivesoftware.com/SportTracks/Forums/viewtopic.php?t=819&highlight=effort
Back to top
View user's profile Send private message
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Fri Nov 09, 2007 5:59 am    Post subject: Reply with quote
Hi trell,

I use the latest maximal heart rate that is specified in the athlete information to calculate the zones.

And, for the link you have. I think it is a good idea to have several performance indicators, so I will consider implementing this as well. How would you specify the anaerobic threshold? As of what I can tell from a Google search it seems as if it varies quote a bit from untrained (55% of VO2-max) to the trained (80%-90% of VO2-max).

Cheers, Kristian
Back to top
View user's profile Send private message
trell



Joined: 21 May 2005
Posts: 161

PostPosted: Fri Nov 09, 2007 7:10 am    Post subject: Reply with quote
Kristian Bisgaard Lassen wrote:
Hi trell,

I use the latest maximal heart rate that is specified in the athlete information to calculate the zones.

And, for the link you have. I think it is a good idea to have several performance indicators, so I will consider implementing this as well. How would you specify the anaerobic threshold? As of what I can tell from a Google search it seems as if it varies quote a bit from untrained (55% of VO2-max) to the trained (80%-90% of VO2-max).

Cheers, Kristian

>anaerobic threshold
personal experience, sensation, calculation...
but the only the scientific method is to do a test in a medical center as athletes, conconi and/or lactate test for every activity.
the mathematical calculation is a big mistake.
Yes, un can organize the conconi test with your friend and run in a track, for HR and speed
or for speed anth
cooper test
or
the speed of 1 hour of run
or the speed of 14 km race run
or better the speed of 10 km race run >
anth =3600/(M*60+S)/10 + (M+S)/60)/6)
time of 10 km in M and S
M minute
S second
easy way anth = 35000/(60*M+S)
10000 m in 0.40.30 14,414 km easy way 14,403 km
Back to top
View user's profile Send private message
DavidCHall
Donated!
Donated!


Joined: 24 Sep 2007
Posts: 895
Location: Durban, South Africa

PostPosted: Fri Nov 09, 2007 9:07 am    Post subject: TRIMPS and more... Reply with quote
trell wrote:
so without a valid customization (hr max , zone-range, ect) is not a good index Embarassed


My research on Google tells me that there is no agreed subjective way to measure the "value" of a workout. Time? Distance? Speed? Heart rate? Calories? Some average or weighted average? Worse if you want to compare a cycling event to swimming!!

Of course the problem is worse when you wish to compare two differant individuals: Age? Sex? Weight? Fitness? Conditions?

TRIMP appears to be one way to compare the value of two events, and may even provide some comparison that holds for differant people: True it's an approximation, but a good guese is better than nothing!!!

True, there are other ways to measure this: Ultimately one may want to be able to choose from a list of measures....

In my view this is a great step forward for ST: Rather than just presenting data (which ST does very well!!!) this path starts the road towards presenting the athlete with information that quantifies the value and progress of an exercise programme.

Certainly it will take a lot more work before ST competes with the analytical data presented by software provided by SRM, CyclingPeaks, Saris, FRWD, Open fitness, Suunto, Cyclistats, Ergomo, iBike, Polar, PowerCoach, and others, but, this is a good first step!!!
_________________
DCH
Back to top
View user's profile Send private message
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Fri Nov 09, 2007 9:23 am    Post subject: Reply with quote
Currently, I am looking at implementing AST, CTL, and TSB functions into the TRIMP plugin (should really rename it Smile) that I got from Mario. If anyone knows other metrics for evaluating workouts that they find useful, please let me know and I will try an put it into the plugin.

Cheers, Kristian
Back to top
View user's profile Send private message
trell



Joined: 21 May 2005
Posts: 161

PostPosted: Fri Nov 09, 2007 10:52 am    Post subject: Re: TRIMPS and more... Reply with quote
DavidCHall wrote:
trell wrote:
so without a valid customization (hr max , zone-range, ect) is not a good index Embarassed


My research on Google tells me that there is no agreed subjective way to measure the "value" of a workout. Time? Distance? Speed? Heart rate? Calories? Some average or weighted average? Worse if you want to compare a cycling event to swimming!!


All formulas calculate have much approximation.
The only right way are the tests in the laboratory, measurable and repeatable.
I am sure the 100% that many national teams use a similar method (post effor index) to assess their training. Certainly the anaerobic threshold varies during the season and professionals do 3-4 test conconi in a year, and many other.
I only said that the plugin as it is not very useful unless you can set the parameters.
cheers
Back to top
View user's profile Send private message
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Fri Jan 11, 2008 5:08 pm    Post subject: Reply with quote
Updated to 1.1.1, looking good. Configurable zones and all. (Hm do I have other needs and will that if so make an improvement?)

Just minor comments on the graph:
* The graph cut the sides of the activities. End should be adjustable.
* Graph label is %maxHR (just remove?)
* Date format should use system settings or have tooltip with system settings. I interpret 11-01 as 2008-11-01 (ISO format) so would Americans, but most Europeans would likely interpret it as Jan 11. I see that the list scales (activities for a year get labels like "Jan 11") so there is some more to it? This is tricky!
Back to top
View user's profile Send private message
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Sat Jan 12, 2008 9:36 am    Post subject: Reply with quote
Hi Gerhard,

In the last version of the plugin (1.1.2) I have things you mention about the graphs not fitting size, and the graph label.

With regards to the date format I don't really know how to fix this since I use SportTracks build in graphs, and it does not appear that there is a nice way of fixing. I think this is something that should be improved in the SportTracks build in graph library (i.e. in the Formatter.DaysToDate class).

I am not sure what you mean by the end should be adjustable, can you elaborate on that?

Cheers, Kristian
Back to top
View user's profile Send private message
gerhard
Contributor!
Contributor!


Joined: 27 Nov 2006
Posts: 1990
Location: Sweden

PostPosted: Sat Jan 12, 2008 1:11 pm    Post subject: Reply with quote
Regarding the "end cut". Only half of the bars on the side included. See the screenshot below:
http://hem.bredband.net/gerhardnospam/priv/trimp-week.PNG
To fix this (unimportant detail), a ST plugin API change will probably be required. Bar graphs need more space right/left of the graph than line graphs.
Edit: ST report bar graphs seems fine, they extend the start point?

Similar thing with date format. If there is only one month, the date should be sufficient. With two months the format should be like "Jan 12" (as used in longer time spans).

These comments should be added to the ST API comment list. Add your take to the list. With all plugins you have done, you may have some more comments...
Sidenote: This should probably be a ReportActivity page, if that API possibility existed.
Back to top
View user's profile Send private message
GAK



Joined: 21 Oct 2007
Posts: 6

PostPosted: Sun Jan 13, 2008 12:56 pm    Post subject: HR Zones Reply with quote
Is it possible to use the custom HR Zones that are user setup for each different activity to calculate TRIMP in your plug-in? For example I have HR zones that are different for walking/Running and bicycle riding.

I love this plug-in more than my limited vocabulary can express!

THANKS

George
Back to top
View user's profile Send private message
cwareham



Joined: 13 Oct 2007
Posts: 2

PostPosted: Mon Jan 21, 2008 9:51 pm    Post subject: Reply with quote
Would be helpful to be able to edit TRIMP Plugin's 'Heart rate (BPM)' column so user could set heart zones that take into account resting heart rate rather than just a straight percentage of max heart rate.

Garmin Training Center lets you do this under 'User | Profile for...' (User Profile) and lets you set the bpm for 5 heart rate zones for 3 different activities (Running, Biking, and Other). Then Garmin TC uses these values to calculate the amount of time spent in each zone for each workout.

This would add some complication to your plugin but would be, imho, more accurate and customizable.

Great plugin. Use it a lot!
Back to top
View user's profile Send private message
Kristian Bisgaard Lassen



Joined: 06 Mar 2007
Posts: 150
Location: Århus V., Denmark

PostPosted: Tue Jan 22, 2008 4:26 am    Post subject: Reply with quote
@ George

I will put that suggestion on my todo list.

@cwareham

I am not completely sure what it is you want. Do you want e.g. a setting to say to use %max HR. or to use the manually entered BPM to calculate the time spend in each heart rate zone?
_________________
GPS Running
Back to top
View user's profile Send private message
cwareham



Joined: 13 Oct 2007
Posts: 2

PostPosted: Thu Jan 24, 2008 2:04 pm    Post subject: Reply with quote
Just the ability to manually enter bpm range for each HR zone and then have the plugin use those values for the TRIMP calculation (i.e. "use the manually entered BPM to calculate the time spent in each heart rate zone").

Actually, with the equations from the first link below, user could enter max HR and resting HR and the bpm range values could be calculated rather than entering them manually. But the ability to enter them manually would give the user more control and fine tuning ability. Having both options would be ideal.

Here are some links about calculating HR zones using max and resting HR.

Equations for HR zones using resting HR:
http://www.brianmac.co.uk/hrm1.htm

Calculator:
http://www.runningforfitness.org/calc/hrzones.php

Polar also uses resting HR for HR zones (although this link does not give the equations):
http://www.polarusa.com/targetzone/default.asp

Thanks again for a great plugin!
Back to top
View user's profile Send private message
showDown
Donated!
Donated!


Joined: 17 Jan 2007
Posts: 487
Location: Stade, (Lower Saxony) - Germany

PostPosted: Sat Feb 02, 2008 11:00 am    Post subject: Reply with quote
Kristian, thank´s for several great plugins!
So far i have a problem with the options of TRIMP plugin.
I use my own factors for 8 zones starting at 60%.

My factors are decimal as 1 - 1,1 - 1,2 - 1,6 - 2,2 - 3 - 4,5 - 6

I tried the decimal format with "," or ".".
It seems to work with "." but after restarting ST2 i loose the decimal points and get the values 1 - 11 - 12 -16 -22 - 3 - 45 - 6 and have to edit again and again every restart.

Are decimal factors not allowed in TRIMP or how can i solve the problem.
I use a german XP installation - is this maybe the problem?

Thank´s for any help

regards,
Heiko
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SportTracks Forum Index -> TRIMP All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group