Multiple curve fitting via optimization
이전 댓글 표시
Hello,
I have strain-stress data at different temperatures and strain rates(4x4 matrix) and need to find the parameters of the equation below. I usually use Excel solver to find constitutive equation parameters. But there are nine different parameters in this equation and I think I need to use Matlab for it. You can see the results that I have found in Excel in the attachment. It cannot capture the bumps at the beginning of the curve and its not a good fit at all. Can you please give me some hints how to construct the code?
stress = A*(exp(m1*T))*(strain^m2)*(sr^m3)*(exp(m4/strain))*((1+strain)^m5*T)*(exp(m7*strain))*(sr^m8)*(T^m9)
A,m1,m2,m3,m4,m5,m7,m8,m9 are the parameters I have to find. T=Temperature, sr=Strain rate
Thank you in advance,
댓글 수: 6
KSSV
2023년 1월 27일
Alex Sha
2023년 1월 27일
Hi, klmdr, upload your data file please, if possible.
klmdr
2023년 1월 27일
Where are the data of Tand sr? corresponding each dataset of stress and strain
One more question:
there is a term "exp(m4/strain)" in your fitting function, however, the first data value of "strain" in your Excel file is "0", so this will cause the error of "divide by zero"
klmdr
2023년 1월 28일
Alex Sha
2023년 1월 29일
Your original fitting formula can be simplified to the following, with the same fitting effect but less parameters and stable parameter values:
Original one:
stress = A*(exp(m1*T))*(strain^m2)*(sr^m3)*(exp(m4/strain))*((1+strain)^m5*T)*(exp(m7*strain))*(sr^m8)*(T^m9);
Simplified one:
stress = A*(strain^m2)*(exp(m4/strain))*((1+strain)^m5*T)*(exp(m7*strain));
The results of first four dataset are as below (for simplified fitting function, and ignoring the first data points with strain = 0):
1: 1000C-0.15SR
Sum Squared Error (SSE): 23.6730174432142
Root of Mean Square Error (RMSE): 0.769301914777518
Correlation Coef. (R): 0.982032567779678
R-Square: 0.964387964179949
Parameter Best Estimate
--------- -------------
a 0.16791350361708
m2 0.267072305431708
m4 0.0011468937880592
m5 -6.60477948264248
m7 3.61825264240761

2: 1100C-0.15SR
Sum Squared Error (SSE): 20.0468246994224
Root of Mean Square Error (RMSE): 0.70793404882486
Correlation Coef. (R): 0.979615018206333
R-Square: 0.959645583895393
Parameter Best Estimate
--------- -------------
a 0.132995979333497
m2 0.32434785420116
m4 0.00111417690433741
m5 -7.90718730551637
m7 4.31198101497506

3: 1200C-0.15SR
Sum Squared Error (SSE): 7.83639177584002
Root of Mean Square Error (RMSE): 0.442616983853987
Correlation Coef. (R): 0.987336715319379
R-Square: 0.974833789417659
Parameter Best Estimate
--------- -------------
a 0.0474196228353134
m2 0.109565052679149
m4 -0.00306254669951433
m5 -4.37704958424755
m7 2.31591332215742

4: 900C-1.5SR
Sum Squared Error (SSE): 52.3830536945957
Root of Mean Square Error (RMSE): 1.14436722356283
Correlation Coef. (R): 0.996039729733376
R-Square: 0.992095143207337
Parameter Best Estimate
--------- -------------
a 0.389573406540817
m2 0.47858711583706
m4 0.00828239426004025
m5 -3.24842781707287
m7 0.594709755492173

채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!