public class STSVehicleImpl extends java.lang.Object implements STSVehicle
| Constructor and Description |
|---|
STSVehicleImpl() |
| Modifier and Type | Method and Description |
|---|---|
double |
getBrake()
Brake rate of the train.
|
double |
getCo_fric()
Co-efficient of friction.
|
double[] |
getDavis()
Gets Davis equation parameters as an array.
|
double |
getDriving_wheel_Po()
Driving wheel position.
|
int |
getDwell()
Gets the dwell times for station stops.
|
double |
getGravity()
Gets value for Gravity.
|
double |
getInertial_mass()
Inertial mass value.
|
double |
getKd() |
double |
getLambda()
Lambda value.
|
double |
getLength()
Length of the train in metres.
|
double |
getMass()
Gets mass of the train.
|
double |
getMax_accel()
Maximum acceleration.
|
double |
getMax_speed()
Max speed in Kilometers per hour
|
double |
getMax_traction()
Maximum traction.
|
int |
getNotch_num() |
double |
getPower()
Power.
|
int |
getSeats()
Gets the number of seats.
|
int |
getTerminal_time()
Gets the dwell time for the terminating station stop.
|
int |
getTrain_control() |
int |
getWeightedPenaltyCostPerMinute()
Weighted penalty cost per minute
|
void |
setBrake(double brake)
Calibration function: setter for Brake.
|
void |
setDavis(double[] davis)
Calibration function: setter for Davis parameters.
|
void |
setInertialMass(double inertialMass)
Calibration function: setter for inertial mass.
|
void |
setMass(double mass)
Calibration function: setter for mass.
|
void |
setMaxAcceleration(double maxAcceleration)
Calibration function: setter for max acceleration.
|
void |
setMaxTraction(double maxTraction)
Calibration function: setter for max traction.
|
void |
setPower(double power)
Calibration function: setter for power.
|
public double getMass()
STSVehiclegetMass in interface STSVehiclepublic double getLambda()
STSVehiclegetLambda in interface STSVehiclepublic double getInertial_mass()
STSVehiclegetInertial_mass in interface STSVehiclepublic double[] getDavis()
STSVehiclegetDavis in interface STSVehiclepublic double getPower()
STSVehiclegetPower in interface STSVehiclepublic double getMax_speed()
STSVehiclegetMax_speed in interface STSVehiclepublic int getSeats()
STSVehiclegetSeats in interface STSVehiclepublic double getCo_fric()
STSVehiclegetCo_fric in interface STSVehiclepublic double getGravity()
STSVehiclegetGravity in interface STSVehiclepublic double getDriving_wheel_Po()
STSVehiclegetDriving_wheel_Po in interface STSVehiclepublic double getMax_traction()
STSVehiclegetMax_traction in interface STSVehiclepublic double getMax_accel()
STSVehiclegetMax_accel in interface STSVehiclepublic int getDwell()
STSVehiclegetDwell in interface STSVehiclepublic int getTerminal_time()
STSVehiclegetTerminal_time in interface STSVehiclepublic double getKd()
getKd in interface STSVehiclepublic int getNotch_num()
getNotch_num in interface STSVehiclepublic int getTrain_control()
getTrain_control in interface STSVehiclepublic double getBrake()
STSVehiclegetBrake in interface STSVehiclepublic double getLength()
STSVehiclegetLength in interface STSVehiclepublic int getWeightedPenaltyCostPerMinute()
STSVehiclegetWeightedPenaltyCostPerMinute in interface STSVehiclepublic void setDavis(double[] davis)
STSVehiclesetDavis in interface STSVehiclepublic void setPower(double power)
STSVehiclesetPower in interface STSVehiclepublic void setMass(double mass)
STSVehiclesetMass in interface STSVehiclepublic void setInertialMass(double inertialMass)
STSVehiclesetInertialMass in interface STSVehiclepublic void setMaxAcceleration(double maxAcceleration)
STSVehiclesetMaxAcceleration in interface STSVehiclepublic void setMaxTraction(double maxTraction)
STSVehiclesetMaxTraction in interface STSVehiclepublic void setBrake(double brake)
STSVehiclesetBrake in interface STSVehicle