PipingCalculationServiceTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added validation so entry point cannot be equal or larger than exit point. Related to Issue [WTI-396]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3881 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3d635fafcdf847c102b9e83ae574728db235cff5

Former-commit-id: 9aab1910478b2562abf3f44f9253ea03d1c3b37c

  1. … 13 more files in changeset.
Used <\{\s+public class .+Test> regular expression to find all Tests with missing TestFixture annotation and added it. Related to Issue [WTI-137]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3869 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 906cef178e830ee9cf94061e9f26cbc0bbf7b09e

Former-commit-id: 06b94ee02114697f44260fcafbb6350638b82f2b

  1. … 30 more files in changeset.
Fixed some translations into better dutch or better matching parameter descriptions in interface. Related to Issue [WTI-671]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3816 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 934e9b22236914449fd6f08525726f284fc68138

Former-commit-id: bbee3d912327ebd983559dc37a5862b17747d24c

  1. … 20 more files in changeset.
Added validations for piping input for: - missing hydraulic location - missing surface line - missing soil profile - missing entry point - missing exit point - exit point before entry point - assessment level missing - piezometric head missing - thickness aquifer missing - thickness coverage layer missing Related to Issue [WTI-671]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3772 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: c5520b5b035ebfec21d200af21dfd08b0bb6f7cd

Former-commit-id: c92c9727bf6377b93304cc7194314fc536cc12cb

    • -0
    • +220
    ./PipingCalculationServiceTest.cs
  1. … 4 more files in changeset.
- Unified usage of interval to [{0}, {1}] - Unified uages of "in het bereik [{0}, {1}]" - Added missing license headers - Small review changes - Removed piping report item "Berekeningsverslag" Related to Issue [WTI-468]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3475 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e307358598eeec5d3920265013b44f7e46f4107a

Former-commit-id: c5288c3e72e39414915f498b134f7b324f923ea7

  1. … 35 more files in changeset.
Removed PipingProbabilityAssessmentInput property from PipingCalculation Related to Issue [WTI-468]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3470 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b4a8aa29c94feedc0c32c6187aea543d07324dbb

Former-commit-id: 3ea92116d9b14e96908618d5332108d86422d91c

  1. … 38 more files in changeset.
Renamed NormProbabilityPipingInput into PipingProbabilityAssessmentInput Related to Issue [WTI-536]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3399 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: bd9715138a15e54058eb801bc8eeddfd21be3bdc

Former-commit-id: 23ed63f5ac8e606dec38761a823029e99eae49b5

  1. … 38 more files in changeset.
- Created test utils for Ringtoets.Common.Data -- Moved LimitedPrecisionHelper to new location

Related to Issue [WTI-468]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3245 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d1b35313f1a1d246abf79bb50f6ade7da7fdce38

Former-commit-id: 246506a038b23ea0e9a89c2893df11fcb0c022c5

  1. … 23 more files in changeset.
- Renamed *SemiProbabilisticInput* to *NormProbabilityInput* after consulting PO - Added PropertyClass for GrassCoverErosionInwardsFailureMechanismContext Related to Issue [WTI-462]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@3018 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3d20fe0bd61be009155ad8512b15e459bf34afa9

Former-commit-id: 79ebeb50cc59bcce0a960b49bd8c9827ed384e8e

  1. … 51 more files in changeset.
* Moved GetAccuracy methods to LimitedPrecisionHelper to reuse. Related to Issue [WTI-436]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2720 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4386ae028e8d42177331ad62889ba8ec1b43546b

Former-commit-id: 8ac8bf19013c640f5bd7c5254eb1d99be18132e5

    • -23
    • +14
    ./PipingCalculationServiceTest.cs
  1. … 10 more files in changeset.
Improvements after review. Related to Issue [WTI-436]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2715 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9944e6ecef4d6e0431896d679656d3bef892d518

Former-commit-id: 93a0082c99705eb79ce740c721c64afa0d8e21c3

  1. … 13 more files in changeset.
Moved PipingSubCalculatorFactoryConfig and PipingSubCalculatorFactoryConfigTest to Ringtoets.Piping.KernelWrapper.TestUtil and Ringtoets.Piping.KernelWrapper.TestUtil.Test. Removed now empty projects Ringtoets.Piping.Service.TestUtil and Ringtoets.Piping.Service.TestUtil.Test. Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2674 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e61562e14f665560014b2fe7bcd92b14c2168e7b

Former-commit-id: 6c57cce796c28f9b72ccb6e1d729e639f62d33e0

  1. … 19 more files in changeset.
Made PipingSubCalculatorFactory a singleton. Removed obsolete InputParameterCalculationServiceConfig and its test. Removed obsolete Ringtoets.Piping.InputParameterCalculation.Test and Ringtoets.Piping.InputParameterCalculation.TestUtil projects. Made derived properties not publically modifiable. Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2673 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 3eda5d1868bff7c9f7747a7358118c25e95334ea

Former-commit-id: bf1040fa06476797a753249726b15d00b4c873dc

  1. … 30 more files in changeset.
Extracted new InputParameterCalculationService from the PipingCalculationService. Added licenses and updated license doc. Moved PipingSemiProbabilisticDesignValueFactory to Ringtoets.Piping.Data. Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2619 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f9a013e2ecffa875c08fefa67004a8b6441da9db

Former-commit-id: 4158cad58646d44a4155bffe254eaea32cf59fef

    • -173
    • +0
    ./PipingCalculationServiceTest.cs
  1. … 26 more files in changeset.
Renamed Ringtoets.Piping.Calculation (and related projects) to Ringtoets.Piping.KernelWrapper (and related projects) to better match its purpose. Added Ringtoets.Piping.Primitives project and test project. Added Ringtoets.Piping.InputParameterCalculation project and test project. Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2611 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 30dd3bacca55bb31c1a89d7e4baa3e821bd6eb9f

Former-commit-id: 114abaff74ca4c64bc6b43ae4ce78b856e4fb2f4

  1. … 97 more files in changeset.
- Refactored SoilProfile such, that it also saves the database identifier - Added XML doc Related to Issue [WTI-414]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2579 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a8b9a97044c8220d7c33e7c337439db7add3afe5

Former-commit-id: eb2587d8db1441313f14aecbc3d900ae10c60451

  1. … 35 more files in changeset.
Improved logging when setting thickness of coverage and aquifer layer. Only log when input is complete (but calculation returns a double.NaN). Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2564 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 6f097ab2b73284860f82ebe27a3b57ef3c28b6dd

Former-commit-id: 42e2c6a52ad868121f7cde80a2f3d563ad3cddff

  1. … 10 more files in changeset.
Set default values for HydraulicBoundaryLocation.DesignWaterLevel in demo project (from real calculation with HydraRing). used PipingInput's PiezometricHeadExit instead of re-executing the calculator. PipingInput synchronization is controlled by the PipingInputSynchronizer. Removed obsolete PipingInputExtensions. Initialized PipingInputSynchronizer from PipingInputContext.

Related to Issue [WTI-383]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2555 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f692208aa69a3778a2b4b079225e6a4c2bcd356b

Former-commit-id: ff687c104b36f923a3b28f7d43f454a3b8d57921

    • -15
    • +14
    ./PipingCalculationServiceTest.cs
  1. … 22 more files in changeset.
Use calculated PiezometricHeadExit from the PipingInput (transformed to PipingCalculatorInput) so that the calculation input matches the input on the screen.

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/PipingInputSynchronizer@2553 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 37902a2867d66d383ec3de703cf4f9a8fe45caea

Former-commit-id: de59aaa34631023d48150f2c834b1de18f841635

  1. … 8 more files in changeset.
Update test set

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/PipingInputSynchronizer@2547 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e7623001e8508465676fdce582cfad05b050ecf3

Former-commit-id: f5ac9053cb4102a8bd310a4ffdb619e1f5f27031

    • -11
    • +12
    ./PipingCalculationServiceTest.cs
  1. … 9 more files in changeset.
Set AssessmentLevel from HydraulicBoundaryLocation.DesignWaterLevel. Calculate PiezometricHeadExit using PipingCalculationService. Related to Issue [WTI-383]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2531 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: fa8f70e73c9afc37e354a143cf3ea057dc732821

Former-commit-id: 4c1e8489c2b9b946861f3227b59d1387737b4afb

  1. … 21 more files in changeset.
* RoundDouble '+' operator implemented. * DesignVariable now returns RoundDouble instead of Double, due to calculations being based on RoundedDouble instances. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2525 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ebb991100c2ad61931a80671532939993d1adf44

Former-commit-id: d3d42cf7f98460e2e03c3cf78edce1c08c8bd4fe

    • -19
    • +42
    ./PipingCalculationServiceTest.cs
  1. … 13 more files in changeset.
Removed PiezometricHeadPolder as input (not required for piping). Added SaturatedVolumicWeightOfCoverageLayer as a stochast to PipingInput.

Related to Issue [WTI-383]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2523 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ccb565f23caa5b22c6b687720b462b7184ecb256

Former-commit-id: fe0e8d6227a6c43562882c8da215c9d977ed2f3b

    • -12
    • +28
    ./PipingCalculationServiceTest.cs
  1. … 17 more files in changeset.
Added SaturatedVolumicWeightOfCoverageLayer as input for PipingCalculator (not yet in interface) Added IPiezoHeadCalculator and the implementations to wrap the static call to the piping kernel and be able to verify the input of the calculation. PipingCalculationService.CalculateThicknessCoverageLayer no longer throws exceptions, but handles it just like the other service calculation calls. Added PipingCalculationService.CalculatePiezometricHeadAtExit to be able to show it in the interface.

Related to Issue [WTI-383]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2518 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: af7eb286d6627e0cd74da817014d635b006061ed

Former-commit-id: 6a9dc5a69a04b25ca7e9f29cdfb6969d5d206495

    • -39
    • +44
    ./PipingCalculationServiceTest.cs
  1. … 23 more files in changeset.
Bound phreatic level exit to PhiPolder parameter. Added setting characteristic point to PipingSurfaceLineCreator Related to Issue [WTI-383]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2511 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d3652b4d381d53180d6dcb26013f98ccc7c55524

Former-commit-id: 097913fbd589fe68b72a6bba75453cd014dcd814

    • -76
    • +95
    ./PipingCalculationServiceTest.cs
  1. … 6 more files in changeset.
Verified input set on the sub calculators for piping. Related to Issue [WTI-383]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2508 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 825f42d75509bc2bdb3f3302c86d6c0dc36fb79e

Former-commit-id: 0f86324e55aff31181554584428fccd59290d543

    • -0
    • +111
    ./PipingCalculationServiceTest.cs
  1. … 10 more files in changeset.
* Introduced TypeConverter to be used with RoundedDouble editable property control field. * RoundedDouble now has explicit cast from double to RoundedDouble. * Used Math.Round(double, int) API to prevent having to roundtrip to decimal. Also has more accurate 'number of decimals'. * RoundedDouble constructor refactorings. * PipingInput now has ExitPointL and EntryPointL as RoundedDouble. Related to Issue [WTI-388]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2504 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 526f9ff6b020e4718add2dba1aaae259930df73d

Former-commit-id: d1774deeae4f90d0df667370350841782cc5a005

  1. … 18 more files in changeset.
Update Aquifer layer thickness based on input. Added validation for adding layers to a soil profile: a profile only accepts layer collections which have all layer tops defined above the bottom of the profile. Added method of obtaining thickness of a layer (PipingSoilProfile.GetLayerThickness). Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2450 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 464c984683b35661479f7085f70a1cb525599fcf

Former-commit-id: 970a9e47e3cc2501bd020b15616e7d852075a638

  1. … 10 more files in changeset.
* Introduced GeneralPipingInput class to hold piping calculation input parameters that apply to all calculations. * Extended PipingFailureMechanism to own an instance of GeneralPipingInput. * Refactored PipingInput to be dependent on GeneralPipingInput, and refactored creation paths to PipingInput to provide the dependency. * Parameters coming from GeneralPipingInput are now readonly properties. ** Removed Observable from class again, as values cannot change. * Introduced ObjectProperties implementation for GeneralPipingInput, for when PipingFailureMechanism is selected. * Improved PipingCalculator to catch and handle SoilVolumicMassCalculatorExceptions thrown by EffectiveThicknessCalculator. Related to Issue [WTI-387]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2426 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9ed0912328f00c7c400f19bab3f9d2b0957c4a47

Former-commit-id: 6066cdb71845bd7428dd40cc0651d58520fcbe15

  1. … 37 more files in changeset.
Determine thickness using the EffectiveThicknessCalculator. Related to Issue [WTI-382]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@2363 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a4ed6bdf8746d31845f695fa6bb6d1eba6fab52b

Former-commit-id: e803e959cafc57140b3f6850051d874a35502c68

  1. … 6 more files in changeset.