Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 229d1b8e authored by Martin Dippold's avatar Martin Dippold
Browse files

* Bugfix Excel-Tool heading control

* Correction of output names in *_MS_MEAS.csv
* Implementation of better beta_ame calculation (beta calculation correct wind angles that are not guilty after test procedure)
parent 0f4650f2
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,17 @@ Public Module main_calculation_call
Next i
Job.fv_pe = (sum_v_veh / (anz_DirID(0) + anz_DirID(1))) / (0.5 * (vair_ic(0) / anz_DirID(0) + vair_ic(1) / anz_DirID(1)))
If CalibRun Then Job.beta_ame = (0.5 * (beta_ic(0) / anz_DirID(0) + beta_ic(1) / anz_DirID(1))) - AmeAng
If CalibRun Then 'Job.beta_ame = (0.5 * (beta_ic(0) / anz_DirID(0) + beta_ic(1) / anz_DirID(1))) - AmeAng
If ((beta_ic(0) / anz_DirID(0)) <= 90 And (beta_ic(1) / anz_DirID(1)) >= 270) Or ((beta_ic(1) / anz_DirID(1)) <= 90 And (beta_ic(0) / anz_DirID(0)) >= 270) Then
If Job.beta_ame = (0.5 * (beta_ic(0) / anz_DirID(0) + beta_ic(1) / anz_DirID(1))) > 180 Then
Job.beta_ame = (0.5 * (beta_ic(0) / anz_DirID(0) + beta_ic(1) / anz_DirID(1))) - 360
Else
Job.beta_ame = (0.5 * (beta_ic(0) / anz_DirID(0) + beta_ic(1) / anz_DirID(1)))
End If
Else
Job.beta_ame = (0.5 * (beta_ic(0) / anz_DirID(0) + beta_ic(1) / anz_DirID(1))) - AmeAng
End If
End If
Return True
End Function
......
......@@ -132,8 +132,8 @@ Module output
If calibration Then
FileOut.WriteLine("# Datafile: ", Job.calib_run_fpath)
Else
FileOut.WriteLine("# Datafile LS1: ", coasting_fpaths(0))
FileOut.WriteLine("# Datafile HS: ", coasting_fpaths(1))
FileOut.WriteLine("# Datafile HS: ", coasting_fpaths(0))
FileOut.WriteLine("# Datafile LS1: ", coasting_fpaths(1))
FileOut.WriteLine("# Datafile LS2: ", coasting_fpaths(2))
End If
FileOut.WriteLine("#")
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment