131 out <<
"ID: " <<
id.c_str() << std::endl;
134 out <<
"\tGears number: " << (int)
nGears << std::endl;
135 for (
int i = 0; i <
nGears; i++) {
136 out << std::setprecision(4) <<
"\tRatio of gear " << (i + 1) <<
": " <<
gearRatios[i] << std::endl;
138 out << std::setprecision(4) <<
"\tFinal drive ratio: " <<
differentialRatio << std::endl;
141 out << std::setprecision(3) <<
"\tDiameter: " <<
wheelDiameter_m <<
" m\n";
143 out << std::setprecision(10) <<
"\tcr1: " <<
cr1 << std::endl;
144 out << std::setprecision(10) <<
"\tcr2: " <<
cr2 << std::endl;
147 out << std::setprecision(2) <<
"\tMass: " <<
mass_kg <<
" kg\n";
148 out << std::setprecision(4) <<
"\tMass factor: " <<
massFactor << std::endl;
150 out <<
"Air drag:\n";
151 out << std::setprecision(4) <<
"\tDrag coefficient: " <<
cAir << std::endl;
152 out << std::setprecision(3) <<
"\tMax section: " <<
a_m2 <<
" m^2\n";
156 out <<
"\tCylinders: " <<
cylinders << std::endl;
157 out <<
"\tMinimum rpm: " <<
minRpm << std::endl;
158 out <<
"\tMaximum rpm: " <<
maxRpm << std::endl;
159 out <<
"\tMapping (rpm to hp) degree: " <<
engineMapping.degree << std::endl;
161 out <<
"\t\tMapping coefficient x" << i <<
": " <<
engineMapping.x[i] << std::endl;
163 out <<
"\tShifting rpm: " <<
shiftingRule.rpm << std::endl;
164 out <<
"\tShifting delta: " <<
shiftingRule.deltaRpm << std::endl;
167 out <<
"\tTime constant (s): " <<
brakesTau_s << std::endl;
169 out <<
"Vehicle unrelated parameters:\n";
170 out << std::setprecision(4) <<
"\tAir density: " <<
rho_kgpm3 <<
" kg/m^3\n";
171 out <<
"\tRoad slope: " <<
slope <<
" degrees\n";
172 out << std::setprecision(3) <<
"\tSimulation sampling time: " <<
dt <<
" s\n";