Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 252078f3 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge pull request #796 in VECTO/vecto-sim from...

Merge pull request #796 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:ReleaseCandidates/v3.3.4.1686 to master

* commit 'ee7ab587':
  updating release report
  adding results and release report
  compiling release version
  updating changelog
  updating release report
  updating .gitignore
  bugfix: Increasing number of iterations to find operating point
  validation of run-data: limit max. speed for checking loss-maps up to vehicle's design speed + ovespeed, limited by vehicle's max possible speed
parents f564a7d0 ee7ab587
No related branches found
No related tags found
No related merge requests found
Showing
with 51 additions and 26 deletions
...@@ -203,3 +203,4 @@ Documentation/VehiclesReleaseComparisonDeclarationMode/*.vmod ...@@ -203,3 +203,4 @@ Documentation/VehiclesReleaseComparisonDeclarationMode/*.vmod
Documentation/VehiclesReleaseComparisonDeclarationMode/*.vsum Documentation/VehiclesReleaseComparisonDeclarationMode/*.vsum
DISTR/ DISTR/
Documentation/VehiclesReleaseComparisonDeclarationMode/tmp/
No preview for this file type
File added
File added
No preview for this file type
No preview for this file type
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
**VECTO 3.3.4** **VECTO 3.3.4**
***Build 1716 (2019-09-13) OFFICIAL RELEASE***
- Bugfixes
* [VECTO-1074] - Vecto Calculation Aborts with Interpolation Error ([VECTO-1046])
* [VECTO-1111] - Simulation Abort in Municipal Reference Load
***Build 1686 (2019-08-14) RELEASE CANDIDATE*** ***Build 1686 (2019-08-14) RELEASE CANDIDATE***
- Improvement - Improvement
......
...@@ -7564,6 +7564,14 @@ CycleTime,UnknownCycleName,3600</code></pre> ...@@ -7564,6 +7564,14 @@ CycleTime,UnknownCycleName,3600</code></pre>
<div id="changelog" class="section level1"> <div id="changelog" class="section level1">
<h1>Changelog</h1> <h1>Changelog</h1>
<p><strong>VECTO 3.3.4</strong></p> <p><strong>VECTO 3.3.4</strong></p>
<p><strong><em>Build 1716 (2019-09-13) OFFICIAL RELEASE</em></strong></p>
<ul>
<li>Bugfixes
<ul>
<li>[VECTO-1074] - Vecto Calculation Aborts with Interpolation Error ([VECTO-1046])</li>
<li>[VECTO-1111] - Simulation Abort in Municipal Reference Load</li>
</ul></li>
</ul>
<p><strong><em>Build 1686 (2019-08-14) RELEASE CANDIDATE</em></strong></p> <p><strong><em>Build 1686 (2019-08-14) RELEASE CANDIDATE</em></strong></p>
<ul> <ul>
<li>Improvement <li>Improvement
File added
/* /*
* This file is part of VECTO. * This file is part of VECTO.
* *
* Copyright © 2012-2019 European Union * Copyright © 2012-2017 European Union
* *
* Developed by Graz University of Technology, * Developed by Graz University of Technology,
* Institute of Internal Combustion Engines and Thermodynamics, * Institute of Internal Combustion Engines and Thermodynamics,
...@@ -30,5 +30,5 @@ ...@@ -30,5 +30,5 @@
*/ */
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("0.2.0.1686")] [assembly: AssemblyVersion("0.2.0.1716")]
[assembly: AssemblyFileVersion("0.2.0.1686")] [assembly: AssemblyFileVersion("0.2.0.1716")]
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<WarningLevel>1</WarningLevel> <WarningLevel>1</WarningLevel>
<UseVSHostingProcess>true</UseVSHostingProcess> <UseVSHostingProcess>true</UseVSHostingProcess>
<WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors> <WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
<DefineConstants>RELEASE_CANDIDATE</DefineConstants> <DefineConstants>CERTIFICATION_RELEASE</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>None</DebugType> <DebugType>None</DebugType>
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors> <WarningsAsErrors>41999,42016,42017,42018,42019,42020,42021,42022,42032,42036</WarningsAsErrors>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<DefineConstants>RELEASE_CANDIDATE</DefineConstants> <DefineConstants>CERTIFICATION_RELEASE</DefineConstants>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Deploy|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Deploy|x86'">
<DefineTrace>true</DefineTrace> <DefineTrace>true</DefineTrace>
......
/* /*
* This file is part of VECTO. * This file is part of VECTO.
* *
* Copyright © 2012-2019 European Union * Copyright © 2012-2017 European Union
* *
* Developed by Graz University of Technology, * Developed by Graz University of Technology,
* Institute of Internal Combustion Engines and Thermodynamics, * Institute of Internal Combustion Engines and Thermodynamics,
...@@ -30,5 +30,5 @@ ...@@ -30,5 +30,5 @@
*/ */
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.3.3.1686")] [assembly: AssemblyVersion("3.3.4.1716")]
[assembly: AssemblyFileVersion("3.3.3.1686")] [assembly: AssemblyFileVersion("3.3.4.1716")]
\ No newline at end of file \ No newline at end of file
/* /*
* This file is part of VECTO. * This file is part of VECTO.
* *
* Copyright © 2012-2019 European Union * Copyright © 2012-2016 European Union
* *
* Developed by Graz University of Technology, * Developed by Graz University of Technology,
* Institute of Internal Combustion Engines and Thermodynamics, * Institute of Internal Combustion Engines and Thermodynamics,
...@@ -30,5 +30,5 @@ ...@@ -30,5 +30,5 @@
*/ */
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("1.2.0.1686")] [assembly: AssemblyVersion("1.2.0.1716")]
[assembly: AssemblyFileVersion("1.2.0.1686")] [assembly: AssemblyFileVersion("1.2.0.1716")]
/* /*
* This file is part of VECTO. * This file is part of VECTO.
* *
* Copyright © 2012-2019 European Union * Copyright © 2012-2017 European Union
* *
* Developed by Graz University of Technology, * Developed by Graz University of Technology,
* Institute of Internal Combustion Engines and Thermodynamics, * Institute of Internal Combustion Engines and Thermodynamics,
...@@ -30,5 +30,5 @@ ...@@ -30,5 +30,5 @@
*/ */
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.3.4.1686")] [assembly: AssemblyVersion("3.3.4.1716")]
[assembly: AssemblyFileVersion("3.3.4.1686")] [assembly: AssemblyFileVersion("3.3.4.1716")]
\ No newline at end of file \ No newline at end of file
...@@ -200,6 +200,7 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl ...@@ -200,6 +200,7 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl
foreach (var loading in mission.Loadings) { foreach (var loading in mission.Loadings) {
var simulationRunData = new VectoRunData { var simulationRunData = new VectoRunData {
Loading = loading.Key, Loading = loading.Key,
VehicleDesignSpeed = _segment.DesignSpeed,
VehicleData = _dao.CreateVehicleData(vehicle, mission, loading.Value), VehicleData = _dao.CreateVehicleData(vehicle, mission, loading.Value),
AirdragData = _dao.CreateAirdragData(vehicle.Components.AirdragInputData, mission, _segment), AirdragData = _dao.CreateAirdragData(vehicle.Components.AirdragInputData, mission, _segment),
EngineData = _engineData.Copy(), // a copy is necessary because every run has a different correction factor! EngineData = _engineData.Copy(), // a copy is necessary because every run has a different correction factor!
......
...@@ -49,11 +49,14 @@ namespace TUGraz.VectoCore.Models.Simulation.Data ...@@ -49,11 +49,14 @@ namespace TUGraz.VectoCore.Models.Simulation.Data
[CustomValidation(typeof(VectoRunData), "ValidateRunData")] [CustomValidation(typeof(VectoRunData), "ValidateRunData")]
public class VectoRunData : SimulationComponentData public class VectoRunData : SimulationComponentData
{ {
public VectoRunData() public VectoRunData()
{ {
Exempted = false; Exempted = false;
} }
public MeterPerSecond VehicleDesignSpeed { get; internal set; }
[ValidateObject] [ValidateObject]
public VehicleData VehicleData { get; internal set; } public VehicleData VehicleData { get; internal set; }
...@@ -157,7 +160,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Data ...@@ -157,7 +160,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Data
private static ValidationResult CheckPowertrainLossMapsSize(VectoRunData runData, GearboxData gearboxData, private static ValidationResult CheckPowertrainLossMapsSize(VectoRunData runData, GearboxData gearboxData,
CombustionEngineData engineData) CombustionEngineData engineData)
{ {
var maxSpeed = 95.KMPHtoMeterPerSecond();
var axleGearData = runData.AxleGearData; var axleGearData = runData.AxleGearData;
var angledriveData = runData.AngledriveData; var angledriveData = runData.AngledriveData;
var hasAngleDrive = angledriveData != null && angledriveData.Angledrive != null; var hasAngleDrive = angledriveData != null && angledriveData.Angledrive != null;
...@@ -167,6 +170,11 @@ namespace TUGraz.VectoCore.Models.Simulation.Data ...@@ -167,6 +170,11 @@ namespace TUGraz.VectoCore.Models.Simulation.Data
var axlegearRatio = axleGearData != null ? axleGearData.AxleGear.Ratio : 1.0; var axlegearRatio = axleGearData != null ? axleGearData.AxleGear.Ratio : 1.0;
var dynamicTyreRadius = runData.VehicleData != null ? runData.VehicleData.DynamicTyreRadius : 0.0.SI<Meter>(); var dynamicTyreRadius = runData.VehicleData != null ? runData.VehicleData.DynamicTyreRadius : 0.0.SI<Meter>();
var vehicleMaxSpeed = runData.EngineData.FullLoadCurves[0].N95hSpeed /
runData.GearboxData.Gears[runData.GearboxData.Gears.Keys.Max()].Ratio / axlegearRatio /
angledriveRatio * dynamicTyreRadius;
var maxSpeed = VectoMath.Min(vehicleMaxSpeed, (runData.VehicleDesignSpeed ?? 90.KMPHtoMeterPerSecond()) + (runData.DriverData?.OverSpeedEcoRoll?.OverSpeed ?? 0.KMPHtoMeterPerSecond()));
if (gearboxData.Gears.Count + 1 != engineData.FullLoadCurves.Count) { if (gearboxData.Gears.Count + 1 != engineData.FullLoadCurves.Count) {
return return
new ValidationResult( new ValidationResult(
...@@ -202,7 +210,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Data ...@@ -202,7 +210,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Data
} }
private static ValidationResult CheckLossMapsEntries(KeyValuePair<uint, GearData> gear, PerSecond angularVelocity, private static ValidationResult CheckLossMapsEntries(KeyValuePair<uint, GearData> gear, PerSecond angularVelocity,
NewtonMeter inTorque, AngledriveData angledriveData, AxleGearData axleGearData, SI velocity) NewtonMeter inTorque, AngledriveData angledriveData, AxleGearData axleGearData, MeterPerSecond velocity)
{ {
var hasAngleDrive = angledriveData != null && angledriveData.Angledrive != null; var hasAngleDrive = angledriveData != null && angledriveData.Angledrive != null;
var angledriveRatio = hasAngleDrive && angledriveData.Type == AngledriveType.SeparateAngledrive var angledriveRatio = hasAngleDrive && angledriveData.Type == AngledriveType.SeparateAngledrive
......
/* /*
* This file is part of VECTO. * This file is part of VECTO.
* *
* Copyright © 2012-2019 European Union * Copyright © 2012-2017 European Union
* *
* Developed by Graz University of Technology, * Developed by Graz University of Technology,
* Institute of Internal Combustion Engines and Thermodynamics, * Institute of Internal Combustion Engines and Thermodynamics,
...@@ -30,5 +30,5 @@ ...@@ -30,5 +30,5 @@
*/ */
using System.Reflection; using System.Reflection;
[assembly: AssemblyVersion("3.3.4.1686")] [assembly: AssemblyVersion("3.3.4.1716")]
[assembly: AssemblyFileVersion("3.3.4.1686")] [assembly: AssemblyFileVersion("3.3.4.1716")]
...@@ -132,7 +132,7 @@ namespace TUGraz.VectoCore.Utils ...@@ -132,7 +132,7 @@ namespace TUGraz.VectoCore.Utils
log.Debug("Log Disabled during LineSearch."); log.Debug("Log Disabled during LineSearch.");
LogManager.DisableLogging(); LogManager.DisableLogging();
try { try {
for (var count = 1; count < 100; count++, iterationCount++) { for (var count = 1; count < 150; count++, iterationCount++) {
if (origY.Sign() != y.Sign()) { if (origY.Sign() != y.Sign()) {
intervalFactor = 0.5; intervalFactor = 0.5;
} }
......
...@@ -47,7 +47,7 @@ namespace TUGraz.VectoCore.Utils ...@@ -47,7 +47,7 @@ namespace TUGraz.VectoCore.Utils
public static string VersionNumber public static string VersionNumber
{ {
get { get {
return "3.3.4.1686" + SUFFIX; return "3.3.4.1716" + SUFFIX;
} }
} }
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath> <OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;BETA_RELEASE</DefineConstants> <DefineConstants>DEBUG;CERTIFICATION_RELEASE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath> <OutputPath>bin\Release\</OutputPath>
<DefineConstants>RELEASE_CANDIDATE</DefineConstants> <DefineConstants>CERTIFICATION_RELEASE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks> <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment