#########################################
######## CONFIGURACOES DO MOTOR
#########################################

[engine]
idle_rpm=640
idle_rpm_torque=115
idle_rpm_curve_bias=0.3
peak_rpm=1450
peak_rpm_torque=660
peak_rpm_curve_bias=0.02
max_rpm=3000
inertia=4
friction_torque=53
rotational_friction=0.67
viscous_friction=0.05
use_rpm_limiter=1
rpm_limiter_trigger=6000
rpm_limiter_cutoff_time=0.075
;Idle control: 0 = passive, 1 = active
idle_control=1
max_idle_throttle=1
can_stall=1
stall_sensitivity=0.301
stalled_friction_torque=1000
starter_effectiveness=1
max_fuel_per_rev=0.7

#########################################
######## CONFIGURACOES DO CAMBIO
#########################################

## automatic

[clutch_torque_converter]
lock_rpm=1550
lock_ratio_bias=0.2

[automatic_gearbox]
num_forward_ratios=4
fwd_ratio_1=3.58
fwd_ratio_2=2.09
fwd_ratio_3=1.39
fwd_ratio_4=1.00
reverse_ratio=-5.67
gear_change_time=0.8
gear_transition_time=1
gear_down_rpm=1100
gear_up_rpm=1900
start_gear=1
next_gear_min_speed=3
strict_park_mode=1



#########################################
######## CONFIGURACOES DO DIFERENCIAL
#########################################

[differential]
gearRatio=6.143
//do scania era 6.5, aumentando o valor anda mais rapido

## AS OPCOES ABAIXO NAO ESTAO APLICADAS AINDA

type=viscous
#opcoes: open locked viscous clutch_pack torque_bias

## opcoes para viscous
preload=0
powerStiffness=0.2
coastStiffness=0.2

## opcoes para clutch_pack
clutchPreload=0
clutchPackFriction=0
powerAngle=0
coastAngle=0

## opcoes para torque_bias
torquePreload=0
powerRatio=0
coastRatio=0

#########################################
######## CONFIGURACOES DO GIRO DA RODA/DIREÇÃO
#########################################

[steering]
max_steer_angle=38
toe_angle=0
;Ackerman: 0 = disabled, 1 = enabled
use_ackerman=1

; Generally this will be the center of the last axle
[pos_ackerman]
posY=0.52
posZ=-2.88

#########################################
######## CONFIGURACOES DO FREIO
#########################################

[brakes]
max_brake_torque=30000
brake_bias=0.7
handbrake_torque=40000
;Handbrake Axle: 0 = rear only, 1 = front only, middle: both
handbrakeAxle=0

#########################################
######## CONFIGURACOES DO RETARDER
#########################################

[retarder]
curve=simple
## a curva pode ser simple ou parametric
levels=2
## deixe em 0 levels para ficar sem retarder

## configuracoes caso escolha curve=simples
## valores q tava 3500, 100, 2500, 0.7
simple_maxTorque=2000
simple_minRpm=100
simple_maxRpm=1000
simple_curveBias=0.7

## configuracoes caso escolha curve=parametric
parametric_baseRpm=100
parametric_peakRpm=1000
parametric_peakTorque=3500
parametric_limitRpm=2500
parametric_limitTorque=2000

#########################################
######## CONFIGURACOES DOS PNEUS
#########################################

## AS CONFIGURACOES DOS PNEUS NAO  ESTAO PROGRAMADAS AINDA
## NAO ALTERE DAQUI PARA BAIXO

## THESE SETTINGS ARE NOT CODED YET, DO NOT CHANGE BELOW

#[tires]
#type=pacejka

#[tires_pacejka]
#adherent_u=0.95
#stiffness=0.8
#shape=1.5
#peak_u=1.1
#curvature=-2
