Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs
===================================================================
diff -u -r00618d676d24ab85c8abdba42c5cf1272a6045ac -r239e0091ca8c9878fc6d324b5a0b85179c45dbb7
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs (.../StabilityPointStructuresCalculationConfiguration.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs (.../StabilityPointStructuresCalculationConfiguration.cs) (revision 239e0091ca8c9878fc6d324b5a0b85179c45dbb7)
@@ -115,5 +115,25 @@
/// Gets or sets the stochast configuration for the velocity of the ship.
///
public MeanVariationCoefficientStochastConfiguration ShipVelocity { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the stability properties of the linear load model of the structure.
+ ///
+ public MeanVariationCoefficientStochastConfiguration StabilityLinearLoadModel { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the stability properties of the quadratic load model of the structure.
+ ///
+ public MeanVariationCoefficientStochastConfiguration StabilityQuadraticLoadModel { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the threshold height of the open weir of the structure.
+ ///
+ public MeanStandardDeviationStochastConfiguration ThresholdHeightOpenWeir { get; set; }
+
+ ///
+ /// Gets or sets the vertical distance of the structure.
+ ///
+ public double? VerticalDistance { get; set; }
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs
===================================================================
diff -u -r00618d676d24ab85c8abdba42c5cf1272a6045ac -r239e0091ca8c9878fc6d324b5a0b85179c45dbb7
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiers.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiers.cs) (revision 239e0091ca8c9878fc6d324b5a0b85179c45dbb7)
@@ -119,5 +119,25 @@
/// The identifier for the velocity of the ship stochast name.
///
public const string ShipVelocityStochastName = "aanvaarsnelheid";
+
+ ///
+ /// The identifier for the stability properties of the linear load model stochast name.
+ ///
+ public const string StabilityLinearLoadModelStochastName = "lineairebelastingschematiseringstabiliteit";
+
+ ///
+ /// The identifier for the stability properties of the quadratic load model stochast name.
+ ///
+ public const string StabilityQuadraticLoadModelStochastName = "kwadratischebelastingschematiseringstabiliteit";
+
+ ///
+ /// The identifier for the threshold height of the open weir stochast name.
+ ///
+ public const string ThresholdHeightOpenWeirStochastName = "drempelhoogte";
+
+ ///
+ /// The identifier for the vertical distance of the structure elements.
+ ///
+ public const string VerticalDistanceElement = "afstandonderkantwandteendijk";
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs
===================================================================
diff -u -r00618d676d24ab85c8abdba42c5cf1272a6045ac -r239e0091ca8c9878fc6d324b5a0b85179c45dbb7
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs (.../StabilityPointStructuresCalculationConfigurationTest.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs (.../StabilityPointStructuresCalculationConfigurationTest.cs) (revision 239e0091ca8c9878fc6d324b5a0b85179c45dbb7)
@@ -68,6 +68,10 @@
Assert.IsNull(configuration.ProbabilityCollisionSecondaryStructure);
Assert.IsNull(configuration.ShipMass);
Assert.IsNull(configuration.ShipVelocity);
+ Assert.IsNull(configuration.StabilityLinearLoadModel);
+ Assert.IsNull(configuration.StabilityQuadraticLoadModel);
+ Assert.IsNull(configuration.ThresholdHeightOpenWeir);
+ Assert.IsNull(configuration.VerticalDistance);
}
[Test]
@@ -92,6 +96,10 @@
double probabilityCollisionSecondaryStructure = random.NextDouble();
var shipMass = new MeanVariationCoefficientStochastConfiguration();
var shipVelocity = new MeanVariationCoefficientStochastConfiguration();
+ var stabilityLinearLoadModel = new MeanVariationCoefficientStochastConfiguration();
+ var stabilityQuadraticLoadModel = new MeanVariationCoefficientStochastConfiguration();
+ var thresholdHeightOpenWeir = new MeanStandardDeviationStochastConfiguration();
+ double verticalDistance = random.NextDouble();
// Call
configuration.AreaFlowApertures = areaFlowApertures;
@@ -110,6 +118,10 @@
configuration.ProbabilityCollisionSecondaryStructure = probabilityCollisionSecondaryStructure;
configuration.ShipMass = shipMass;
configuration.ShipVelocity = shipVelocity;
+ configuration.StabilityLinearLoadModel = stabilityLinearLoadModel;
+ configuration.StabilityQuadraticLoadModel = stabilityQuadraticLoadModel;
+ configuration.ThresholdHeightOpenWeir = thresholdHeightOpenWeir;
+ configuration.VerticalDistance = verticalDistance;
// Assert
Assert.AreSame(areaFlowApertures, configuration.AreaFlowApertures);
@@ -128,6 +140,10 @@
Assert.AreEqual(probabilityCollisionSecondaryStructure, configuration.ProbabilityCollisionSecondaryStructure);
Assert.AreSame(shipMass, configuration.ShipMass);
Assert.AreSame(shipVelocity, configuration.ShipVelocity);
+ Assert.AreSame(stabilityLinearLoadModel, configuration.StabilityLinearLoadModel);
+ Assert.AreSame(stabilityQuadraticLoadModel, configuration.StabilityQuadraticLoadModel);
+ Assert.AreSame(thresholdHeightOpenWeir, configuration.ThresholdHeightOpenWeir);
+ Assert.AreEqual(verticalDistance, configuration.VerticalDistance);
}
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs
===================================================================
diff -u -r00618d676d24ab85c8abdba42c5cf1272a6045ac -r239e0091ca8c9878fc6d324b5a0b85179c45dbb7
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs) (revision 239e0091ca8c9878fc6d324b5a0b85179c45dbb7)
@@ -48,6 +48,10 @@
Assert.AreEqual("kansaanvaringtweedekeermiddel", StabilityPointStructuresConfigurationSchemaIdentifiers.ProbabilityCollisionSecondaryStructureElement);
Assert.AreEqual("massaschip", StabilityPointStructuresConfigurationSchemaIdentifiers.ShipMassStochastName);
Assert.AreEqual("aanvaarsnelheid", StabilityPointStructuresConfigurationSchemaIdentifiers.ShipVelocityStochastName);
+ Assert.AreEqual("lineairebelastingschematiseringstabiliteit", StabilityPointStructuresConfigurationSchemaIdentifiers.StabilityLinearLoadModelStochastName);
+ Assert.AreEqual("kwadratischebelastingschematiseringstabiliteit", StabilityPointStructuresConfigurationSchemaIdentifiers.StabilityQuadraticLoadModelStochastName);
+ Assert.AreEqual("drempelhoogte", StabilityPointStructuresConfigurationSchemaIdentifiers.ThresholdHeightOpenWeirStochastName);
+ Assert.AreEqual("afstandonderkantwandteendijk", StabilityPointStructuresConfigurationSchemaIdentifiers.VerticalDistanceElement);
}
}
}
\ No newline at end of file