\chapter{Calculation Parameters}  \label{chapterCalculationParameters}

\section{DamLiveCalculationParameters.xsd}
\label{sec:DamLiveCalculationParameters}
There are calculation parameters that can be set for the DamLive calculation. You specify them in an XML file that has to conform to the XML scheme "DamLiveCalculationParameters.xsd". The XML contains two main keys:
\begin{itemize}
	\item CalculationModules
	\item MStabParamters
\end{itemize}

\subsection{CalculationModules}
\label{sec:DamLiveCalculationModules}
It is possible to simultaneous calculate several failure mechanisms. This is done by setting the XML key for a failure mechanism to 1. The failure mechanisms that can be defined are
\begin{itemize}
	\item StabilityInside
	\item StabilityOutside
	\item PipingWti (not implemented yet)
	\item PipingBligh (not implemented yet)
	\item PipingSellmeijer (not implemented yet)
\end{itemize}
If you select a not implemented failure mechanism, you will get an error message when performing the calculation. \\
Furthermore there are a couple of failure mechanisms that were available in previous versions but that are now removed. If you specify one of these, you will get an error message:
\begin{itemize}
	\item Stability (is now StabilityInside)
	\item PipingSellmeijerProbabilistic
	\item PipingIJkdijk
	\item Overtopping
\end{itemize}

\subsection{CalculationModules}
\label{sec:DamLiveCalculationModules}
There are a couple of MStab parameters that can be set. These are:
\begin{itemize}
	\item IsCalculateAllStabilityProjectsAtOnce
	\item CalculationModel;	supported models:
		\begin{itemize}
			\item Bishop
			\item Spencer
			\item Fellenius
			\item UpliftVan
			\item UpliftSpencer
			\item BishopRandomField
			\item HorizontalBalance
			\item BishopUpliftVan 
			\item SpencerHigh
			\item SpencerLow
		\end{itemize}
	\item SearchMethod;	supported methods:
		\begin{itemize}
			\item Grid
			\item GeneticAlgorithm
		\end{itemize}
	\item UseZones (boolean)
\end{itemize}
Furthermore there are a couple of parameters that were available in previous versions but that are now removed. If you specify one of these, you will get an error message.
\begin{itemize}
	\item Probabilistic
	\item IsOverrulePLLineCreation
	\item PLLineCreationMethod
\end{itemize}


\subsection{CalcualtionParameters XSD}
\label{sec:DamLiveCalcualtionParametersXsd}

This is the XML schema file for the calculation parameters file.
\lstinputlisting{xsd/DamLiveCalculationParameters.xsd}
