DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

friedlander's equation calculations

 
Post new topic   Reply to topic    DPlot Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
AnswersPlease



Joined: 29 Mar 2005
Posts: 3

PostPosted: Tue Mar 29, 2005 1:49 pm    Post subject: friedlander's equation calculations Reply with quote

I am having trouble understanding how D-Plot calculates it's variables for the Friedlander's eqn. When I use my own experimental peak pressure and time of arrival (not the ones automatically generated, defaults), my curve is vastly different than the one D-Plot generates. Any help on what's going on or possible resources available?

Thanks
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Mar 29, 2005 2:32 pm    Post subject: Reply with quote

The most important aspect of getting a good fit with that equation form is to uncheck the Fit all points box and use the arrival time for the From X value. If you don't do that, data values before the arrival time will be included when attempting to find a fit and the answer will be nonsense, usually with a very low correlation coefficient.

If this is no help then it might be helpful for you to send me a data file that's giving you problems.

As an aside, this comes up often enough that I probably need to modify the plugin to ignore values before a given iteration's assumed arrival time. I'll give that a try before the next release.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Mar 29, 2005 2:56 pm    Post subject: Reply with quote

PS: Something else I should have mentioned: If your pressure record has a substantial negative phase then you should also limit the To X value to the arrival time + positive phase duration.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AnswersPlease



Joined: 29 Mar 2005
Posts: 3

PostPosted: Tue Mar 29, 2005 3:43 pm    Post subject: parameters Reply with quote

Thanks so much for your help. Is there any way you could help me understand how D-Plot calculates the four parameters. I still don't understand that as much as I would like.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Mar 29, 2005 4:02 pm    Post subject: Reply with quote

If you mean the initial values, that's fairly simple. The maximum pressure is exactly that - the maximum of all Y values. The initial time of arrival is the time at which Y(i+1) - Y(i) is greater than 5% of the maximum pressure. This falls apart for noisy records but generally works well. The initial value for the positive phase duration is the time after the arrival at which the pressure goes negative (if it ever does) or the maximum X. The initial value of the decay coefficient is the only one that requires much processing: first the plugin integrates the input to get impulse, then finds the decay coefficient that, given the initial values for peak pressure, time of arrival, and duration will give that impulse. Keep in mind that these are guesses only and will be improved on by the solution procedure, assuming that your data is really a pressure-time history and isn't exceptionally noisy.

If instead you mean the solution procedure, that's quite a bit more complicated and is way more than you want to read here. The short version is the same technique (the name of which escapes me at the moment) that can be found in Numerical Recipes and other math references is used for all equation forms. It makes use of the derivative of the equation with respect to each coefficient at every input X. The goal of the solution procedure is to minimize the sum of the squares of the errors at each data point. It's an iterative procedure that will stop once it can no longer improve on the solution or when the maximum number of iterations is exceeded. If the initial guesses are reasonably good, it will generally find the "correct" answer in a small number of iterations. On the other hand if the initial guesses are bad it will likely blow up with an overflow or underflow error, particularly with exponential forms like Friedlander's equation.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AnswersPlease



Joined: 29 Mar 2005
Posts: 3

PostPosted: Tue Mar 29, 2005 7:18 pm    Post subject: Big thanks Reply with quote

I was inclined to think that it was a noise issue, and I think you've confirmed my thoughts. I appreciate your help on this matter. Thank you very much.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> General discussion All times are GMT - 5 Hours
Page 1 of 1

 
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