PipingCalculationServiceTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Renamed TestUtils to TestUtil Related to Issue [WTI-184]

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

Former-commit-id: d7daba7b69132117103600f3370c1324765c1c86

  1. … 139 more files in changeset.
* Allowed the user to now add piping calculation groups/folders to the piping failure mechanism or other piping calculation groups/folders. * Allow the user to add new calculations for piping calculation groups/folders. ** As such, we need a 'Context' presentation object for PipingCalculationGroup similarly as for PipingCalculation. Therefore a base class PipingContext has been introduced. * Added validation Icon. * Moved PipingCalculatrionFactory from Ringtoets.Piping.Service.Test to Ringtoets.Piping.Data.TestUtil Related to Issue [WTI-174]

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

Former-commit-id: d381b4b12066b6e4a0770085b66a67471bc089c0

  1. … 39 more files in changeset.
* Renamed PipingCalculationData to PipingCalculation and updated all related classes. Related to Issue [WTI-171]

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

Former-commit-id: 832c14db09804a09c42e01c6be26655c33056494

    • -31
    • +31
    ./PipingCalculationServiceTest.cs
  1. … 47 more files in changeset.
* Refactored PipingData such that calculation input properties have been moved to a new class: PipingInputParameters * PipingInputParameters have been made available in the project tree through the PipingInputParametersContext ** Properties for input parameters have been refactored, impacting TypeConverters and UIEditors. ** Presentation class was required in order to allow user to select a SurfaceLine or SoilProfile from all available instances in the parent PipingFailureMechanism. Related to Issue [WTI-171]

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

Former-commit-id: a3b330e5b37f626212dcf5a1ab73f3c666be73bf

  1. … 46 more files in changeset.
* Renamed PipingData to PipingCalculationData. ** Also extended it with Comments and CalculationReport properties. * Extended PipingCalculationInputsNodePresenter to take new properties into account. Related to Issue [WTI-171]

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

Former-commit-id: f917873c23cbde22bc004003aebd5b821015d599

  1. … 33 more files in changeset.
Added test for incorrect soil profile database file. Correctly dispose files after incorrect db file version. Related to Issue [WTI-85]

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

Former-commit-id: 0923867978433aa14075e9494d8efab3ed0ab680

  1. … 7 more files in changeset.
* When creating the input for the piping calculation, the various random variables are now properly projected into their respective design values. ** Some tests have been removed as the problems they tested are not reproducible any more (such as parameters always being greater to 0 now). Related to Issue [WTI-33]

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

Former-commit-id: 7bfc8eb0ede6861b98684c62bbbfa2b8226fe58d

  1. … 3 more files in changeset.
* Introduced NormalDistribution and LognormalDistribution. ** Applied probabilistic distributions to PipingData properties, and rewired usage to the means. Related to Issue [WTI-32]

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

Former-commit-id: 0479c8f4b978fde4748589a4001a3a257ccd973e

  1. … 15 more files in changeset.
Merged revision(s) from branches/0.5.0.0461: Related to Issue [WTI-92]

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

Former-commit-id: c77f919dd86664474244af27a39295d55589d0ab

    • -0
    • +132
    ./PipingCalculationServiceTest.cs
  1. … 4839 more files in changeset.
Merged revision(s) 485 from trunk/src/Plugins/Ringtoets/Piping: * Cleaned PipingCalculationService, removing methods made superfluous with PipingCalculationActivity. * Refactored calculating all piping calculations for a PipingFailureMechanism, by queuing multiple PipingCalculationActivity. Related to Issue WTI-103 ........ Related to Issue [WTI-92]

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

Former-commit-id: b81901c978c1ec9cc7138df5291629100d307996

    • -96
    • +28
    ./PipingCalculationServiceTest.cs
  1. … 10 more files in changeset.
Merged revision(s) 478 from trunk/src/Plugins/Ringtoets/Piping/test/Ringtoets.Piping.Service.Test: * Introduced PipingCalculationActivity in order to run a piping calculation asynchronously from the UI thread and to be able to provide progress notification. * Fixed threading exception when consuming all newly added logmessage a new message has been added. ConcurrentQueue implementation fixes this. * Moved test-data creation methods related to PipingData to new testhelper: PipingDataFactory. Related to Issue WTI-103 ........

Related to Issue [WTI-92]

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

Former-commit-id: 5007b1fd825cc4f78e61989c2a2b1dd72eb4b0ca

    • -50
    • +17
    ./PipingCalculationServiceTest.cs
  1. … 10 more files in changeset.
Merged revision(s) 470 from trunk/test/Common/DelftTools.TestUtils: * Extended TestHelper with test method to delegate assertions on log-messages to caller. * Improved messages by PipingCalculationService to mention name of calculation at start and end of both validation and calculation. Related to Issue WTI-24 ........

Related to Issue [WTI-92]

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

Former-commit-id: 49a8a31949b383a8099a9d34176615a91d42bba4

  1. … 6 more files in changeset.
Merged revision(s) 464 from trunk/src/Plugins/Ringtoets/Piping/test/Ringtoets.Piping.Service.Test: * Extended context menu for node of PipingFailureMechanism to validate and calculate all piping calculations. * Extended PipingCalculationService with calculate all method. Related to Issue WTI-24 ........

Related to Issue [WTI-92]

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

Former-commit-id: 7a4af02efb70cdc87755d0abffacd9bbe41182ef

    • -49
    • +130
    ./PipingCalculationServiceTest.cs
  1. … 7 more files in changeset.
Solution can be build without errors after namespace changes - NOTE: Resharper still has 21 errors Related to Issue [WTI-92]

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

Former-commit-id: 5812111d2fd060d5e55769d7204ebe52cecb945e

  1. … 1181 more files in changeset.
- Moved almost all projects to their new location Only test projects remain Related to Issue [WTI-92]

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

Former-commit-id: c185e6c39ddf027192b7941455855a3cebac9cfc

    • -0
    • +106
    ./PipingCalculationServiceTest.cs
  1. … 4008 more files in changeset.