Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/WaveConditions/WaveConditionsInput.cs =================================================================== diff -u -r4570069d5b3d1ff54d5a2bfa6a14d083ac1450df -r8818857bf54e26fcd900b3abdf07b999e359b3bc --- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/WaveConditions/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 4570069d5b3d1ff54d5a2bfa6a14d083ac1450df) +++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/WaveConditions/WaveConditionsInput.cs (.../WaveConditionsInput.cs) (revision 8818857bf54e26fcd900b3abdf07b999e359b3bc) @@ -32,6 +32,9 @@ private readonly double beta; private readonly IEnumerable forelandPoints; private readonly HydraRingBreakWater breakWater; + private readonly double waterLevel; + private readonly double a; + private readonly double b; private readonly HydraRingSection section; /// @@ -40,17 +43,28 @@ /// The id of the section to use during the calculation. /// The id of the hydraulic station to use during the calculation. /// The norm to use during the calculation. - /// The foreland points to use during the calculation. - /// The break water to use during the calculation. + /// The foreland points to use during the calculation. + /// The break water to use during the calculation. + /// The water level to calculate the wave conditions for. + /// The a-value to use during the calculation. + /// The b-value to use during the calculation. /// As a part of the constructor, the is automatically converted into a reliability index. - protected WaveConditionsInput(int sectionId, long hydraulicBoundaryLocationId, double norm, - IEnumerable hydraRingForelandPoints, - HydraRingBreakWater hydraRingBreakWater) + protected WaveConditionsInput(int sectionId, + long hydraulicBoundaryLocationId, + double norm, + IEnumerable forelandPoints, + HydraRingBreakWater breakWater, + double waterLevel, + double a, + double b) : base(hydraulicBoundaryLocationId) { beta = StatisticsConverter.NormToBeta(norm); - forelandPoints = hydraRingForelandPoints; - breakWater = hydraRingBreakWater; + this.forelandPoints = forelandPoints; + this.breakWater = breakWater; + this.waterLevel = waterLevel; + this.a = a; + this.b = b; section = new HydraRingSection(sectionId, double.NaN, double.NaN); } @@ -109,5 +123,24 @@ return beta; } } + + private IEnumerable GetHydraRingVariables() + { + // Water level + yield return new HydraRingVariable(113, HydraRingDistributionType.Deterministic, waterLevel, + HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); + + // Resistance Q-variant + yield return new HydraRingVariable(114, HydraRingDistributionType.Deterministic, 1.0, + HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); + + // a-value + yield return new HydraRingVariable(115, HydraRingDistributionType.Deterministic, a, + HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); + + // b-value + yield return new HydraRingVariable(116, HydraRingDistributionType.Deterministic, b, + HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); + } } } \ No newline at end of file