Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs
===================================================================
diff -u -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f -r00618d676d24ab85c8abdba42c5cf1272a6045ac
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs (.../StabilityPointStructuresCalculationConfiguration.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresCalculationConfiguration.cs (.../StabilityPointStructuresCalculationConfiguration.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
@@ -85,5 +85,35 @@
/// Gets or sets the stochast configuration for the inside water level of the structure.
///
public MeanStandardDeviationStochastConfiguration InsideWaterLevel { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the inside water level failure construction of the structure.
+ ///
+ public MeanStandardDeviationStochastConfiguration InsideWaterLevelFailureConstruction { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the crest level of the structure.
+ ///
+ public MeanStandardDeviationStochastConfiguration LevelCrestStructure { get; set; }
+
+ ///
+ /// Gets or sets the leveling count of the structure.
+ ///
+ public int? LevellingCount { get; set; }
+
+ ///
+ /// Gets or sets the probability of a secondary collision on the structure per leveling.
+ ///
+ public double? ProbabilityCollisionSecondaryStructure { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the mass of the ship.
+ ///
+ public MeanVariationCoefficientStochastConfiguration ShipMass { get; set; }
+
+ ///
+ /// Gets or sets the stochast configuration for the velocity of the ship.
+ ///
+ public MeanVariationCoefficientStochastConfiguration ShipVelocity { get; set; }
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs
===================================================================
diff -u -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f -r00618d676d24ab85c8abdba42c5cf1272a6045ac
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiers.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.IO/StabilityPointStructuresConfigurationSchemaIdentifiers.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiers.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
@@ -89,5 +89,35 @@
/// The identifier for the inside water level stochast name.
///
public const string InsideWaterLevelStochastName = "binnenwaterstand";
+
+ ///
+ /// The identifier for the inside water level failure construction stochast name.
+ ///
+ public const string InsideWaterLevelFailureConstructionStochastName = "binnenwaterstandbijfalen";
+
+ ///
+ /// The identifier for the level crest structure stochast name.
+ ///
+ public const string LevelCrestStructureStochastName = "kerendehoogte";
+
+ ///
+ /// The identifier for the leveling count elements.
+ ///
+ public const string LevellingCountElement = "nrnivelleringen";
+
+ ///
+ /// The identifier for the probability of a secondary collision on the structure per leveling elements.
+ ///
+ public const string ProbabilityCollisionSecondaryStructureElement = "kansaanvaringtweedekeermiddel";
+
+ ///
+ /// The identifier for the mass of the ship stochast name.
+ ///
+ public const string ShipMassStochastName = "massaschip";
+
+ ///
+ /// The identifier for the velocity of the ship stochast name.
+ ///
+ public const string ShipVelocityStochastName = "aanvaarsnelheid";
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs
===================================================================
diff -u -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f -r00618d676d24ab85c8abdba42c5cf1272a6045ac
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs (.../StabilityPointStructuresCalculationConfigurationTest.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresCalculationConfigurationTest.cs (.../StabilityPointStructuresCalculationConfigurationTest.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
@@ -62,6 +62,12 @@
Assert.IsNull(configuration.FlowVelocityStructureClosable);
Assert.AreEqual((ConfigurationInflowModelType) 0, configuration.InflowModelType);
Assert.IsNull(configuration.InsideWaterLevel);
+ Assert.IsNull(configuration.InsideWaterLevelFailureConstruction);
+ Assert.IsNull(configuration.LevelCrestStructure);
+ Assert.IsNull(configuration.LevellingCount);
+ Assert.IsNull(configuration.ProbabilityCollisionSecondaryStructure);
+ Assert.IsNull(configuration.ShipMass);
+ Assert.IsNull(configuration.ShipVelocity);
}
[Test]
@@ -80,6 +86,12 @@
var flowVelocityStructureClosable = new MeanVariationCoefficientStochastConfiguration();
var inflowModelType = random.NextEnumValue();
var insideWaterLevel = new MeanStandardDeviationStochastConfiguration();
+ var insideWaterLevelFailureConstruction = new MeanStandardDeviationStochastConfiguration();
+ var levelCrestStructure = new MeanStandardDeviationStochastConfiguration();
+ int levellingCount = random.Next();
+ double probabilityCollisionSecondaryStructure = random.NextDouble();
+ var shipMass = new MeanVariationCoefficientStochastConfiguration();
+ var shipVelocity = new MeanVariationCoefficientStochastConfiguration();
// Call
configuration.AreaFlowApertures = areaFlowApertures;
@@ -92,6 +104,12 @@
configuration.FlowVelocityStructureClosable = flowVelocityStructureClosable;
configuration.InflowModelType = inflowModelType;
configuration.InsideWaterLevel = insideWaterLevel;
+ configuration.InsideWaterLevelFailureConstruction = insideWaterLevelFailureConstruction;
+ configuration.LevelCrestStructure = levelCrestStructure;
+ configuration.LevellingCount = levellingCount;
+ configuration.ProbabilityCollisionSecondaryStructure = probabilityCollisionSecondaryStructure;
+ configuration.ShipMass = shipMass;
+ configuration.ShipVelocity = shipVelocity;
// Assert
Assert.AreSame(areaFlowApertures, configuration.AreaFlowApertures);
@@ -104,6 +122,12 @@
Assert.AreSame(flowVelocityStructureClosable, configuration.FlowVelocityStructureClosable);
Assert.AreEqual(inflowModelType, configuration.InflowModelType);
Assert.AreEqual(insideWaterLevel, configuration.InsideWaterLevel);
+ Assert.AreEqual(insideWaterLevelFailureConstruction, configuration.InsideWaterLevelFailureConstruction);
+ Assert.AreEqual(levelCrestStructure, configuration.LevelCrestStructure);
+ Assert.AreEqual(levellingCount, configuration.LevellingCount);
+ Assert.AreEqual(probabilityCollisionSecondaryStructure, configuration.ProbabilityCollisionSecondaryStructure);
+ Assert.AreSame(shipMass, configuration.ShipMass);
+ Assert.AreSame(shipVelocity, configuration.ShipVelocity);
}
}
}
\ No newline at end of file
Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs
===================================================================
diff -u -r848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f -r00618d676d24ab85c8abdba42c5cf1272a6045ac
--- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs) (revision 848cefd5bfad58ba8c4456d5ee70e7ef4e3d9b4f)
+++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.IO.Test/StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs (.../StabilityPointStructuresConfigurationSchemaIdentifiersTest.cs) (revision 00618d676d24ab85c8abdba42c5cf1272a6045ac)
@@ -42,6 +42,12 @@
Assert.AreEqual("lagedrempel", StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelLowSillStructure);
Assert.AreEqual("verdronkenkoker", StabilityPointStructuresConfigurationSchemaIdentifiers.InflowModelFloodedCulvertStructure);
Assert.AreEqual("binnenwaterstand", StabilityPointStructuresConfigurationSchemaIdentifiers.InsideWaterLevelStochastName);
+ Assert.AreEqual("binnenwaterstandbijfalen", StabilityPointStructuresConfigurationSchemaIdentifiers.InsideWaterLevelFailureConstructionStochastName);
+ Assert.AreEqual("kerendehoogte", StabilityPointStructuresConfigurationSchemaIdentifiers.LevelCrestStructureStochastName);
+ Assert.AreEqual("nrnivelleringen", StabilityPointStructuresConfigurationSchemaIdentifiers.LevellingCountElement);
+ Assert.AreEqual("kansaanvaringtweedekeermiddel", StabilityPointStructuresConfigurationSchemaIdentifiers.ProbabilityCollisionSecondaryStructureElement);
+ Assert.AreEqual("massaschip", StabilityPointStructuresConfigurationSchemaIdentifiers.ShipMassStochastName);
+ Assert.AreEqual("aanvaarsnelheid", StabilityPointStructuresConfigurationSchemaIdentifiers.ShipVelocityStochastName);
}
}
}
\ No newline at end of file