PipingCalculationServiceTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated license headers in Piping. Related to Issue [WTI-1242]

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

Former-commit-id: fda79840b5ca2b26234f71f990a231a69cefce05

Former-commit-id: 22decd2346491fae07602843fbe9b8931260bcc6

  1. … 394 more files in changeset.
Changed all local vars to consts if possible. Related to Issue [WTI-1242]

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

Former-commit-id: 4684a5017b9aff9f6175f7d781cb29409f50a18e

Former-commit-id: 853c649ebc49a9513535e40ec705d5b928af0bc4

  1. … 283 more files in changeset.
Code cleanup: Ringtoets.GrassCoverErosionInwards Ringtoets.Piping

Related to Issue [WTI-1242]

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

Former-commit-id: 6b066ee60035964ef40e9bcb01857d32effd227f

Former-commit-id: b973d6385ff4b8d55ee6f8eb6c35c02c5a8bf8ca

    • -25
    • +27
    ./PipingCalculationServiceTest.cs
  1. … 183 more files in changeset.
Changed type of the Permeability and D70 for piping from Stochasts with Standard Deviation to Stochasts with Coefficient of Variation. Updated test data where required. Performed cleanup over some files Related to Issue [WTI-1238]

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

Former-commit-id: 3a76d5669162ce88fb78512a671fee1b6582a885

Former-commit-id: e5f3f1d2a3a720bb9515c25d788ddf4f0206f73d

    • -20
    • +20
    ./PipingCalculationServiceTest.cs
  1. … 48 more files in changeset.
Adapted some resources Related to Issue [WTI-1050]

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

Former-commit-id: 79a3ced3f781b25959e8fc3332ce56b93f1a2f0e

Former-commit-id: e68fc5f94054d41bd52be4a76511d885eabecefc

  1. … 13 more files in changeset.
Adapted resource Related to Issue [WTI-1050]

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

Former-commit-id: b72845a31328c9f9b084acec26e4596fa83dc783

Former-commit-id: 8191af01979e4f40454788786a7fa70777677d3c

  1. … 9 more files in changeset.
Added null checks in piping calculation service.

Related to Issue [WTI-777]

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

Former-commit-id: e2e731e8fc2b5997fd49e1bbcaefeba249b39a60

Former-commit-id: 836ea3a7b98ad248a81d5b6fb9e54c41aa2b525d

    • -49
    • +68
    ./PipingCalculationServiceTest.cs
  1. … 1 more file in changeset.
Exposed Validate method of the EffectiveThicknessCalculator. Updated PipingCalculator Validate() routine to be more reliant on the subcalculators validation routines. Removed (undesired) calls to the PipingProfile.Validate() and PipingSurfaceLine.Validate() methods and replaced with Validate routine of the EffectiveThicknessCalculator and PipingProfilePropertyCalculator.

Related to Issue [WTI-1033]

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

Former-commit-id: 36fad3ea21e15a74508973e5acffbe149d2aa740

Former-commit-id: 45c1d4a2394a7d38131a1a53f89023135bb85079

  1. … 6 more files in changeset.
Performed Resharper cleanup

Related to Issue [WTI-1008]

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

Former-commit-id: 23d17fd6b5257a25b167839d9106eea6fa7be554

Former-commit-id: 4a817a07bc646924777514e78010c89bc0fdf9b5

  1. … 114 more files in changeset.
Updated WTIPiping kernel and the wiring. Related to Issue [WTI-1004]

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

Former-commit-id: 4e5a1484f2f8d9b8a2cd5641cbb9bf1909c5d635

Former-commit-id: 6b92a4a7c6b257604ef0c4af051fb9d8cba8ffd4

  1. … 7 more files in changeset.
In case cover layer is not present: - input is considered valid, but warning about this situation are shown - saturated volumic weight will return a 0.0 deterministic design value. Added UpliftEffectiveStress as output of a piping calculation.

Related to Issue [WTI-1004]

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

Former-commit-id: 21e3047f62ba242f7ff794943893af8b2b7f14d8

Former-commit-id: 34823e9d0d2f463c17a430c494cf72742b6bd709

    • -15
    • +23
    ./PipingCalculationServiceTest.cs
  1. … 87 more files in changeset.
* Cleanup. * Small refactoring in PipingCalculationServiceTest to remove magic number based on highest point on surfaceline. * Made variables explicit. * Fixed typos. Related to Issue [WTI-1004]

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

Former-commit-id: 8cdb4c55e5019ad4d028d545d7cf999c0ceedc23

Former-commit-id: b61510084497c08b0ec3756fcacf5a63c42b3be5

    • -110
    • +93
    ./PipingCalculationServiceTest.cs
  1. … 9 more files in changeset.
* Refactored PipingCalculationService validation method to improve code cohesion and reduce size of validation method. Related to Issue [WTI-1014]

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

Former-commit-id: 1604a5cc5f7a96d8ab04c0348e2fd904c282bf99

Former-commit-id: dff5e3e6e43809c3ef671cc65483f56456ea70cb

  1. … 1 more file in changeset.
Incorporated comments review 1261 - Made implicit behaviour into explicit behaviour for the relevant CreateExtension - Changed AssessmentLevel setter in PipingInput: throw Exception when attempting to set a new value while UseAssessmentLevelManualInput is FALSE - Implemented specific conditions in functions determining readonly and visibility of properties - Extracted method from the piping calculation service for validating the assessment level Related to Issue [WTI-1014]

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

Former-commit-id: 2bffc35682e9f178a84665d85e080f35de7c9c84

Former-commit-id: 7b9f9f33c5e32ab897224d4c169abeb19a4003bf

  1. … 7 more files in changeset.
SaturatedVolumicWeight returns NaN design variable again if it could not be derived (missing on soil profile or no coverage layer). Restructured PipingCalculationService Validate and GetInputWarnings methods.

Related to Issue [WTI-1004]

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

Former-commit-id: fbfe2562f35001083d92255218ec3005c67fb8c4

Former-commit-id: 307b186286c07b029a67e7f1d31e5e8f9c19c6e3

  1. … 3 more files in changeset.
Deterministic value is now a constructor parameter instead of a property on DeterministicDesignVariable. Added AreEqual to DistributionAssert for also testing shifts of LogNormalDistribution. Added test for DeterministicDesignVariable. Improved docs and fixed inconsistencies with conventions. Related to Issue [WTI-1004]

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

Former-commit-id: 75f914b2467b36ceab14de4ad8531f65cdd855b2

Former-commit-id: 58f7e88ce5ebda059995ab97b2437c5e32414281

    • -233
    • +260
    ./PipingCalculationServiceTest.cs
  1. … 26 more files in changeset.
Removed public setter of HydraulicBoundaryLocation's DesignWaterLevel Related to Issue [WTI-987]

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

Former-commit-id: 0018877f8439cb75e6046fbc25c717dbe355bfc8

Former-commit-id: 69cd960ecdba3ec73fdaed212f57fd857864b0a2

  1. … 25 more files in changeset.
Incorporated feature: - User can select if he wants to manually enter the assessment level: -- If yes, dropdown box hydraulic boundary locations disappears and the assessment level box becomes editable -- If no, dropdown box hydraulic boundary location appears and the assessment level box becomes readonly and synchronized with values of the selected hydraulic boundary location - Adapted the affected Create and Read extensions to reflect the new situation - Adjusted the validation which is now a function of the UseAssessmentLevelManualInput - Adjusted failing tests, implemented new tests Related to Issue [WTI-1014]

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

Former-commit-id: ae9ad69faa9fc522800632c7944d8b790dac770f

Former-commit-id: d200214e586def9e76afba8695f2f52963026039

    • -11
    • +12
    ./PipingCalculationServiceTest.cs
  1. … 18 more files in changeset.
Added EffectiveThicknessCoverageLayer to the piping input property control. Used effective thickness coverage layer to the Uplift calculator Related to Issue [WTI-1025]

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

Former-commit-id: f3bf3dd197b54ac5ec581addb55071db1aec7826

Former-commit-id: e36106ec1568524d0e5323ef7aa00f2b83c1247a

  1. … 14 more files in changeset.
- Implemented new checks and rules for setting the DarcyPermeabilityDistribution. - Updated soil profile database so that DarcyPermeability std is half of mean. Related to Issue [WTI-1005]

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

Former-commit-id: 9e4be4a29db917c2273b0719df525998bc67377d

Former-commit-id: be290b3b6b095a35023e0e5b62118e582a9bf970

    • -25
    • +19
    ./PipingCalculationServiceTest.cs
  1. … 5 more files in changeset.
Extended calculator stubs with booleans indicating whether the calculator was calculated or validated. Related to Issue [WTI-1004]

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

Former-commit-id: 2fb8d2a81f8303217deb080a02eb11379c47e394

Former-commit-id: c6d83983b640aa56b0cef2e8402cc229524e95e9

    • -10
    • +57
    ./PipingCalculationServiceTest.cs
  1. … 13 more files in changeset.
* Moved HydraulicBoundaryLocation and related classes from HydraRing.Data to Ringtoets.Common.Data\Hydraulics * Removed HydraRing.Data and related test projects. * Moved importer related test data from HydraRing.IO to Ringtoets.Common.IO Related to Issue [WTI-988]

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

Former-commit-id: 17347220df48d78521b65d257dde9b4ffdace273

Former-commit-id: dc5ddfa6d8f3719bd2dd4a2f62ed94f98f962499

  1. … 426 more files in changeset.
Update soil profile database so that the layers extent beyond the surface line top (i.e. 10). Added validation of the PipingProfilePropertyCalculator. Used BottomLevelAquitardAboveExitPointZ in sellmeijer and heave calculations. Related to Issue [WTI-1004]

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

Former-commit-id: 0339bbd859a53e6795486dc868ba112d59ad4577

Former-commit-id: b03236c92a6c60fc4ef905abc633d8863b5f3904

  1. … 2 more files in changeset.
Incorporated comments review 1247: - Replaced StringAssert.StartsWith() with Assert.AreEqual when the validation message is fully defined Related to Issue [WTI-1014]

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

Former-commit-id: 43f3524ffa759adc37251c21f078ace17169341d

Former-commit-id: 0f6084e023a53b8c5c9fb44bdbce92519e4b4fd0

    • -26
    • +26
    ./PipingCalculationServiceTest.cs
  1. … 9 more files in changeset.
Changed resource. Related to Issue [WTI-1011]

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

Former-commit-id: be33929eac215248172619f0c395b07fa830435d

Former-commit-id: 18533ab0ea93290e574482f8bf8862b9cc1438dd

  1. … 2 more files in changeset.
Adjusted validation routine for the "Toetspeil" property in Piping: - When HBL is null (not selected), validation will only generate an error if: -- AssessmentLevel is NaN, positive or negative infinity -- Same for the values of PiezometricHeadExit - Tree node info, activity and service tests are adjusted. One more message is generated in case there is an invalid calculation (both AssessmentLevel and the related PiezometricHeadExit related error will be generated)

Related to Issue [WTI-1014]

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

Former-commit-id: d45ce3a6be2f6f1f4eb08a664684c7096e1d96c2

Former-commit-id: 1c03483a86aa8b4ae5ee233a43d68d322dd08f31

    • -16
    • +21
    ./PipingCalculationServiceTest.cs
  1. … 8 more files in changeset.
review related changes paired with tangerma Related to Issue [WTI-1011]

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

Former-commit-id: caa2c904bc51ab777d79f91f313d3654a85a6980

Former-commit-id: f2f90bb0c195a9336aa74052af7762a0a1618387

  1. … 6 more files in changeset.
Make the "Toetspeil" property editable in the Piping Input properties: - Moved the logic for determining the AssessmentLevel from DerivedPipingInput to PipingInput. DerivedPipingInput uses the AssesmentLevel as provided by the PipingInput - Implemented a setter for the PipingInput and PipingInputContextProperties - Adjusted the PipingCalculationServiceTest: the PipingCalculationScenarioFactory creates a scenario with a valid hydraulic boundary location and assessment level. However, the current logic updates the assessment level based on the hydraulic boundary location a new HBL is set on the input

Related to Issue [WTI-1014]

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

Former-commit-id: ce0b3c30fc5e44463c1c1c49fa8daafbc59ad5af

Former-commit-id: 316cffddf93389c40e93d355f8839ca36a50fc54

  1. … 6 more files in changeset.
Added validation for when saturated volumic weight of the coverage layers is less than the volumic weight of water. Related to Issue [WTI-1004]

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

Former-commit-id: 2b4a2b833ed100206de52e8f7093a5727325a3e0

Former-commit-id: a483b9614a277e7f56567d7fbf2e14c9febebfaf

    • -23
    • +133
    ./PipingCalculationServiceTest.cs
  1. … 3 more files in changeset.
Added extra validation and warning message for d70. Related to Issue [WTI-1011]

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

Former-commit-id: cb33811eaee3600647323c22b83d851ffe162166

Former-commit-id: d6f758965b1dc96937635f5202774f3c1f1ceed1

    • -10
    • +61
    ./PipingCalculationServiceTest.cs
  1. … 4 more files in changeset.