diff --git a/CHANGES.md b/CHANGES.md index 9cc36e412e78e422beae203ea616bf30e301c893..cff66636411557040f71e508121afab2c44ab8c5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,14 @@ VECTO-CSE: Changes =================== -#### 2014-09-30: v2.0.1-beta3 #### +#### 2014-11-13: v2.0.1-beta4 #### +Mostly TUG improvements: + + * Bugfix linear regression calculation LS + * Add control for beta angle <= 360° and calculation to +-180° if angle > +-180° + * Update user manual + * New Version number. + +#### 2014-11-10: v2.0.1-beta3 #### Mostly TUG improvements: * Correction HS calculation diff --git a/CSE/Calculation/sub_linear_regression.vb b/CSE/Calculation/sub_linear_regression.vb index f5fd82e26db94a879306f7f61c2b23554246c200..c8b15170e9dd59253252fe5795266f92865b6374 100644 --- a/CSE/Calculation/sub_linear_regression.vb +++ b/CSE/Calculation/sub_linear_regression.vb @@ -91,7 +91,7 @@ Module sub_linear_regression ' Get the values XLS1_Array(0, UBound(XLS1_Array, 2)) = 1 XLS1_Array(1, UBound(XLS1_Array, 2)) = ErgValuesComp(tCompErg.v_air_sq)(j) - YLS1_Array(UBound(XLS1_Array)) = ErgValuesComp(tCompErg.F_res_ref)(j) + YLS1_Array(UBound(YLS1_Array)) = ErgValuesComp(tCompErg.F_res_ref)(j) ' Add values for t_tire_min/max and rho_air into the result dictionary If FirstInLS1 Then diff --git a/CSE/IO/input.vb b/CSE/IO/input.vb index 86fc8a38c048f4e08d973d7721d9b798592169b2..4e153183ff07b5c08ba0f9c660ea98d281c1404c 100644 --- a/CSE/IO/input.vb +++ b/CSE/IO/input.vb @@ -336,6 +336,14 @@ Public Module input End If ElseIf sKV.Key = tComp.trigger Then CalcData(tCompCali.trigger_c).Add(CDbl(Line(sKV.Value))) + ElseIf sKV.Key = tComp.beta_ar Then + If InputData(sKV.Key)(tDim) > 360 Or InputData(sKV.Key)(tDim) < -360 Then + Throw New Exception("The beta_ar angle is higher then +-360°! This is not a possible angle. Please correct.") + ElseIf InputData(sKV.Key)(tDim) > 180 Then + InputData(sKV.Key)(tDim) = InputData(sKV.Key)(tDim) - 360 + ElseIf InputData(sKV.Key)(tDim) < -180 Then + InputData(sKV.Key)(tDim) = InputData(sKV.Key)(tDim) + 360 + End If End If Next sKV diff --git a/CSE/declaration_public.vb b/CSE/declaration_public.vb index 8d76ca431844e925a8c52484fffb13b94bbc3575..f0da7e7f9640274c26a311bc7e0f2596e446d648 100644 --- a/CSE/declaration_public.vb +++ b/CSE/declaration_public.vb @@ -13,7 +13,7 @@ Module declaration_public ' Description of the form Public Const AppName As String = "VECTO_CSE" ' Name of the programm - Public Const AppVers As String = "2.0.1-beta3" ' Version of the Programm + Public Const AppVers As String = "2.0.1-beta4" ' Version of the Programm Public AppDate As String ' Date of the compilation of the programm ' Control variables diff --git a/Docs/VECTO_CSE-User Manual.docx b/Docs/VECTO_CSE-User Manual.docx index 4442f3996913ad0f12a873599e6642b461690da0..f76d654e3fd5f1b50864f01cb2009fff283eb158 100644 Binary files a/Docs/VECTO_CSE-User Manual.docx and b/Docs/VECTO_CSE-User Manual.docx differ