Index: DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators/KernelWrappers/WtiPipingSellmeijerRevised/WtiPipingSellmeijerRevisedKernelWrapper.cs =================================================================== diff -u -r3737 -r4295 --- DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators/KernelWrappers/WtiPipingSellmeijerRevised/WtiPipingSellmeijerRevisedKernelWrapper.cs (.../WtiPipingSellmeijerRevisedKernelWrapper.cs) (revision 3737) +++ DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators/KernelWrappers/WtiPipingSellmeijerRevised/WtiPipingSellmeijerRevisedKernelWrapper.cs (.../WtiPipingSellmeijerRevisedKernelWrapper.cs) (revision 4295) @@ -435,7 +435,7 @@ upliftFactor = upliftLocationAndResult.UpliftFactor; } var seepageLength = (xExit - xEntry) + damKernelInput.Location.DistanceToEntryPoint; - + seepageLength = Math.Max(0, seepageLength); // Reference level is highest value of surfaceLevel or PolderLevel // Uit TR Zandmeevoerende wellen (1999): "Het verval dH is gelijk aan het verschil tussen buitenwaterstand (het ontwerppeil(OP)) // bij zeedijken en de maatgevende hoogwaterstand (MHW bij rivierdijken) en de waterstand binnendijks ter plaatse van het uittredepunt, Index: DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs =================================================================== diff -u -r4290 -r4295 --- DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs (.../DesignCalculator.cs) (revision 4290) +++ DamEngine/branches/DamEngine 19.3/src/Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs (.../DesignCalculator.cs) (revision 4295) @@ -337,8 +337,35 @@ private void SynchronizeScenarioDataWithLocationData(DesignScenario designScenario, Location location) { // Synchronize PlLine parameters - location.CurrentScenario = designScenario; + location.CurrentScenario = new DesignScenario(); + location.CurrentScenario.LocationScenarioID = designScenario.LocationScenarioID; + location.CurrentScenario.ModelFactors = designScenario.ModelFactors; + location.CurrentScenario.RiverLevel = designScenario.RiverLevel; + location.CurrentScenario.RiverLevelLow = designScenario.RiverLevelLow; + location.CurrentScenario.DikeTableHeight = designScenario.DikeTableHeight; + location.CurrentScenario.RequiredSafetyFactorStabilityInnerSlope = + designScenario.RequiredSafetyFactorStabilityInnerSlope; + location.CurrentScenario.RequiredSafetyFactorStabilityOuterSlope = + designScenario.RequiredSafetyFactorStabilityOuterSlope; + location.CurrentScenario.RequiredSafetyFactorPiping = designScenario.RequiredSafetyFactorPiping; + location.CurrentScenario.UpliftCriterionPiping = designScenario.UpliftCriterionPiping; + location.CurrentScenario.UpliftCriterionStability = designScenario.UpliftCriterionStability; + location.CurrentScenario.PlLineOffsetBelowDikeTopAtPolder = designScenario.PlLineOffsetBelowDikeTopAtPolder; + location.CurrentScenario.PlLineOffsetBelowDikeTopAtRiver = designScenario.PlLineOffsetBelowDikeTopAtRiver; + location.CurrentScenario.PlLineOffsetBelowShoulderBaseInside = + designScenario.PlLineOffsetBelowShoulderBaseInside; + location.CurrentScenario.PlLineOffsetBelowDikeToeAtPolder = designScenario.PlLineOffsetBelowDikeToeAtPolder; + location.CurrentScenario.UsePlLineOffsetBelowDikeCrestMiddle = + designScenario.UsePlLineOffsetBelowDikeCrestMiddle; + location.CurrentScenario.PlLineOffsetBelowDikeCrestMiddle = designScenario.PlLineOffsetBelowDikeCrestMiddle; + location.CurrentScenario.UsePlLineOffsetFactorBelowShoulderCrest = + designScenario.UsePlLineOffsetFactorBelowShoulderCrest; + location.CurrentScenario.PlLineOffsetFactorBelowShoulderCrest = + designScenario.PlLineOffsetFactorBelowShoulderCrest; + location.CurrentScenario.HeadPl3 = designScenario.HeadPl3; + location.CurrentScenario.HeadPl4 = designScenario.HeadPl4; + location.PlLineOffsetBelowDikeToeAtPolder = designScenario.PlLineOffsetBelowDikeToeAtPolder; location.PlLineOffsetBelowDikeTopAtPolder = designScenario.PlLineOffsetBelowDikeTopAtPolder; location.PlLineOffsetBelowDikeTopAtRiver = designScenario.PlLineOffsetBelowDikeTopAtRiver;