Index: DamClients/DamLive/branches/DamLive 19.2/data/Projects/Grebbedijk - Piping/csvfiles/scenarios.csv =================================================================== diff -u --- DamClients/DamLive/branches/DamLive 19.2/data/Projects/Grebbedijk - Piping/csvfiles/scenarios.csv (revision 0) +++ DamClients/DamLive/branches/DamLive 19.2/data/Projects/Grebbedijk - Piping/csvfiles/scenarios.csv (revision 3295) @@ -0,0 +1,3 @@ +location_id;location_scenario_id;water_height;water_height_low;dike_table_height;safety_factor_stability_inner_slope;safety_factor_stability_outer_slope;uplift_criterion_piping;uplift_criterion_stability;safety_factor_piping +grebbedijk3a;1;11.6;11;8;1.17;1.17;1.2;1.2;1.2 +grebbedijk1a;1;10.5;10;7.5;1.17;1.17;1.2;1.2;1.2 Index: DamClients/DamLive/branches/DamLive 19.2/src/Deltares.DamLive.Tests/DamLivePipingGrebbedijkTest.cs =================================================================== diff -u -r3272 -r3295 --- DamClients/DamLive/branches/DamLive 19.2/src/Deltares.DamLive.Tests/DamLivePipingGrebbedijkTest.cs (.../DamLivePipingGrebbedijkTest.cs) (revision 3272) +++ DamClients/DamLive/branches/DamLive 19.2/src/Deltares.DamLive.Tests/DamLivePipingGrebbedijkTest.cs (.../DamLivePipingGrebbedijkTest.cs) (revision 3295) @@ -166,7 +166,7 @@ [Test] [Category("Integration")] [Category("Work_In_Progress")] - public void CalculateStabilityUsingTestFilesHasExpectedResultsInOutputFile() + public void CalculatePipingUsingTestFilesHasExpectedResultsInOutputFile() { const double cTolerance = 0.0005; SetupStabilityProject(); Index: DamClients/DamLive/branches/DamLive 19.2/src/Deltares.Dam.Application.Live/DamEngineRunner.cs =================================================================== diff -u -r3272 -r3295 --- DamClients/DamLive/branches/DamLive 19.2/src/Deltares.Dam.Application.Live/DamEngineRunner.cs (.../DamEngineRunner.cs) (revision 3272) +++ DamClients/DamLive/branches/DamLive 19.2/src/Deltares.Dam.Application.Live/DamEngineRunner.cs (.../DamEngineRunner.cs) (revision 3295) @@ -238,7 +238,8 @@ } } - // Wat te doen: debug input xml file (InputFile.xml in debug dir DamLive) oppakken en gebruiken in DamEngine via de aanstuurtruc van Tom en dan kijken wat daar gebeurt. + // Wat te doen bij fouten in DamLive: debug input xml file (InputFile.xml in debug dir DamLive) oppakken en gebruiken in DamEngine via de + // aanstuurtruc van Tom (zie DebuggingTest in IntegrationTests van de Engine) en dan kijken wat daar gebeurt. /// /// Runs this instance. @@ -269,16 +270,23 @@ } if (CalculationParameters.CalculationModules.PipingBligh) { - RunPiping(FailureMechanismSystemType.Piping); - //Logger.LogError("Calculation module PipingBligh not implemented yet"); + DamProjectData.DamProjectCalculationSpecification.CurrentSpecification.PipingModelType = PipingModelType.Bligh; + if (!RunPiping(FailureMechanismSystemType.Piping)) + { + Logger.LogError("During the Piping Bligh calculation, (some) errors occured, see the output files."); + } } if (CalculationParameters.CalculationModules.PipingSellmeijer) { - Logger.LogError("Calculation module PipingSellmeijer not implemented yet"); + DamProjectData.DamProjectCalculationSpecification.CurrentSpecification.PipingModelType = PipingModelType.Sellmeijer; + if (!RunPiping(FailureMechanismSystemType.Piping)) + { + Logger.LogError("During the Piping Sellmeijer calculation, (some) errors occured, see the output files."); + } } if (CalculationParameters.CalculationModules.PipingWti) { - //Logger.LogError("Calculation module PipingWti not implemented yet"); + DamProjectData.DamProjectCalculationSpecification.CurrentSpecification.PipingModelType = PipingModelType.Wti2017; if (!RunPiping(FailureMechanismSystemType.Piping)) { Logger.LogError("During the Piping Wti calculation, (some) errors occured, see the output files."); @@ -289,10 +297,7 @@ private bool RunPiping(FailureMechanismSystemType failureMechanismSystemType) { DamProjectData.DamProjectCalculationSpecification.CurrentSpecification.FailureMechanismSystemType = failureMechanismSystemType; - // foreach (var location in DamProjectData.Locations) - // { - // location.StabilityZoneType = CalculationParameters.MStabParameters.ZonesType; - // } + var result = CallDamEngine(); if (DamProjectData.OutputTimeSerieCollection != null) { @@ -331,7 +336,7 @@ { Input input = FillXmlInputFromDamUi.CreateInput(DamProjectData); #if DEBUG - const string inputFilename = "InputFile.xml"; + const string inputFilename = "InputForDebugging.xml"; DamXmlSerialization.SaveInputAsXmlFile(inputFilename, input); #endif string inputXml = DamXmlSerialization.SaveInputAsXmlString(input); Index: DamClients/DamLive/branches/DamLive 19.2/data/Projects/Grebbedijk - Piping/Grebbedijk Piping.damx =================================================================== diff -u -r3272 -r3295 --- DamClients/DamLive/branches/DamLive 19.2/data/Projects/Grebbedijk - Piping/Grebbedijk Piping.damx (.../Grebbedijk Piping.damx) (revision 3272) +++ DamClients/DamLive/branches/DamLive 19.2/data/Projects/Grebbedijk - Piping/Grebbedijk Piping.damx (.../Grebbedijk Piping.damx) (revision 3295) @@ -1,1112 +1,1204 @@  - - - + + + - + - + - - - + - + - - - + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + - - - - - + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + - - - + + + - - - - - + + + - - + + - - - - + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - - - - - - - - + + + + + + + + - - - + + + - - - - - + + + + + + + - - - + + + - - - - + + + + - - + + - - - - - - - + + + + + + + - + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + - - + + - - - - - + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -1115,86 +1207,96 @@ - - - + - - - - - + + + + + + + + + + + - - + + - - - - - + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + - - + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -1203,34 +1305,1782 @@ - - - + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - \ No newline at end of file