No BSD License
-
Comparison(varargin)
COMPARISON M-file for Comparison.fig
-
DriveCycle(varargin)
DRIVECYCLE M-file for DriveCycle.fig
-
Models_Creation(varargin)
MODELS_CREATION M-file for Models_Creation.fig
-
Performance_Parameters(vararg...
PERFORMANCE_PARAMETERS M-file for Performance_Parameters.fig
-
Performance_Plots(varargin)
PERFORMANCE_PLOTS M-file for Performance_Plots.fig
-
CreateKSImodels(models)
model.X is the vector where ksi is calculated
-
CreateLSSVMeta(tradata,Z)
CreateLSSVMeta(data,Z)
-
CreateLSSVMmodel(tradata)
CreateLSSVMmodel(data,Z,)
-
Fslicesplot_torques(models,av...
vslicesplot_forces
-
N2S(x)
N2S converts error values for the traction force into slope % errors for
-
RMSEcalcul(model,testdata)
RMSEcalcul(model)
-
RMSEcalculETA(model,testdata,...
RMSEcalcul(model)
-
RMSEcalculKSI(ksimodel,testda...
-
Readdata(xlsfile,modes)
Readdata(xlsfile,Z,vmax,Tmax,modes)
-
Readdatamode(xlsfile,sheet)
Readdatamode(xlsfile)
-
Readdatamode2(xlsfile,sheet)
Readdatamode(xlsfile)
-
ReqCycTorque(probdata)
-
Tslicesplot_SA(model1,model2,...
vslicesplot_forces
-
Tslicesplot_forces(model1,mod...
vslicesplot_forces
-
Tslicesplot_ksi(models,avail,...
vslicesplot_ksi(ksimodel,avail,what,v,Z,tit)
-
Tslicesplot_ksi2(ksimodel,ava...
vslicesplot_ksi(ksimodel,avail,what,v,Z,tit)
-
constantwatt(model,Z,P,ds)
constantwatt(model,Z,P) selects the values from the model in the operation points
-
constantwattSA(model,Z,P,ds,m...
constantwattSA(model,Z,P) selects the slope ability values from the model in the operation points
-
constantwattksi(modelZA,model...
constantwatt(model,Z,P) selects the values from the model in the operation points
-
constantwattksi(modelZA,model...
constantwatt(model,Z,P) selects the values from the model in the operation points
-
contourplot_SA(model,Z,mtot,v...
PLOT_FORCES3D
-
contourplot_forces(ksimodel,m...
contourplot_forces
-
contourplot_forces(model,Z,vm...
PLOT_FORCES3D
-
contourplot_torques(model,Z,v...
PLOT_FORCES3D
-
lookfor1(x,y,z)
-
lookfor2(x,y,z,MA)
-
lookfor2a(x,y,MA)
-
lookfor3(x,y,z,MA)
-
lookfora(x,y)
-
makeCTmodels2(probdata)
-
meshtest(model,Z,vmax,Tmax,Pm...
PLOT_FORCES
-
plot_SA3D(model,Z,mtot,vmax,T...
PLOT_SA3D
-
plot_SA3D_more(model1,model2,...
PLOT_SA3D
-
plot_eta3D(model,Z,vmax,Tmax,...
PLOT_eta3D
-
plot_forces3D(model,Z,vmax,Tm...
PLOT_FORCES3D
-
plot_forces3D_1color(model,Z,...
PLOT_FORCES3D
-
plot_forces3D_more(model1,mod...
PLOT_FORCES3D
-
plot_ksi3D(ksimodel,avail,wha...
PLOT_ksi3D
-
plot_torques3D(model,Z,vmax,F...
PLOT_FORCES3D
-
plot_torques3D_more(models,av...
PLOT_FORCES3D
-
plot_torques3D_more(models,av...
PLOT_FORCES3D
-
search_save_models(dir)
looks for models (modelZA, modelMAe, modelMAn, modelMAp, modelETA,
-
search_save_models(dir)
looks for models (modelZA, modelMAe, modelMAn, modelMAp, modelETA,
-
select_model(PP,mode,avail)
select_model
-
select_model2(PP,mode,avail)
select_model
-
vslicesplot_SA(model1,model2,...
vslicesplot_SA
-
vslicesplot_forces(model1,mod...
vslicesplot_forces
-
vslicesplot_ksi(ksimodel,avai...
vslicesplot_ksi(ksimodel,avail,what,v,Z,tit)
-
vslicesplot_torques(models,av...
vslicesplot_forces
-
cycle(cycle1,deltat,name)
creates a drive cycle object (class 'cycle') starting from
-
cycleforces(cycle1,frontarea,...
CYCLESFORCES
-
View all files
|
|
| constantwattSA(model,Z,P,ds,mtot)
|
function constantwattSA = constantwattSA(model,Z,P,ds,mtot)
%constantwattSA(model,Z,P) selects the slope ability values from the model in the operation points
%with the same power input P. The distance on the constant power curve is
%ds. Normally ds is taken as 1. Z is the transmission rate of the given
%model.
c=P*3.6*Z;
vmax=25;
Tmax=75;
Tmin=c/vmax;
vmin=c/Tmax;
y(1)=Tmax;
ynew(1)=y(1);
%x=vmin:0.1:vmax;
x(1)=vmin;
k=1;
while x(k)<vmax
dx(k)=ds/(sqrt(1+c^2/x(k)^4));
x(k+1)=x(k)+dx(k);
k=k+1;
end
xnew=x;
ynew=c./xnew;
Xnew=[xnew',ynew'];
Ynew=simlssvm(model,Xnew);
g=9.81;
for i=1:length(Ynew)
SA(i)=tan(asin(Ynew(i)/(mtot*g)))*100;
end
constantwattSA=SA;
|
|
Contact us at files@mathworks.com