\section{Derivation of \cref{EQINFWELL}}
	\label{AINFWELL}
\begin{equation*}
	\pi_{w}=\int_{t=0}^{T}\left[ \left(P_{ur}\cdot q_{i}\cdot e^{-Dt}-C_{op}\right)e^{-rt}\right] \,dt-C_{Drill}-C_{Res}\cdot e^{-rT} \
\end{equation*}

\begin{equation*}
	\frac{d \pi_{w}}{dT}= \left(P_{ur}\cdot q_{i}-C_{op}e^{-rT}+r\cdot C_{Res}\right)e^{-rT}=0 \
\end{equation*}

\begin{equation*}
	 P_{ur}\cdot q_{i}\cdot e^{-DT}=C_{op}-r\cdot C_{Res} 
\end{equation*}

\begin{equation*}
	e^{-DT}=\frac{C_{op}-r\cdot C_{Res}}{ P_{ur}\cdot q_{i}}
\end{equation*}

\begin{equation*}
	-DT=ln(\frac{C_{op}-r\cdot C_{Res}}{ P_{ur}\cdot q_{i}})
\end{equation*}

\begin{equation*}
	-DT=\ln(C_{op}-r\cdot C_{Res})-\ln( P_{ur}\cdot q_{i})
\end{equation*}
\begin{equation*}
	-DT=\ln(C_{op}-r\cdot C_{Res})-\left(\ln( P_{ur})+\ln(\cdot q_{i})\right)
\end{equation*}
\begin{equation*}
	-DT=\ln(C_{op}-r\cdot C_{Res})-\ln( P_{ur})-\ln(\cdot q_{i})
\end{equation*}

\begin{equation*}
	T^{\star}=\frac{\ln(P_{ur})+\ln(q_{i})-\ln(C_{op}-r C_{Res})}{D}
\end{equation*}


\section{Derivation of \cref{EQPROD}}
	\label{APROD}
\begin{equation}
	\Delta Q =\int_{T_{1}^{\star}}^{T_{1}^{\star}+\Delta T} q_{i}\cdot e^{-rt}\,dt
\end{equation}
\begin{equation*}
	\Delta Q = -\frac{q_{i}\cdot e^{-D \left(T_{1}^{\star}+\Delta T\right)}}{D}+\frac{q_{i}\cdot e^{-D T_{1}^{\star}}}{D}
\end{equation*}

\begin{equation*}
	\Delta Q = -\frac{q_{i}\cdot e^{-D T_{1}^{\star}}\cdot e^{-D \Delta T}}{D}+\frac{q_{i}\cdot e^{-D T_{1}^{\star}}}{D}
\end{equation*}

\begin{equation*}
	\Delta Q = q_{i}\cdot e^{-D T_{1}^{\star}}\frac{-e^{-D \Delta T}+1}{D}
\end{equation*}

\begin{equation*}
	\Delta Q = \frac{q_{i}\cdot e^{-D T_{1}^{\star}}}{D}\left(1-e^{-D \Delta T}\right)
\end{equation*}

\begin{equation*}
	\Delta Q = \frac{q_{i}\cdot e^{-D T_{1}^{\star}}}{D}\left(1-e^{-D \frac{\ln(C_{op}-r C_{Res})-\ln(C_{op})}{D}
}\right)
\end{equation*}
\begin{equation*}
	\Delta Q = \frac{q_{i}\cdot e^{-D T_{1}^{\star}}}{D}\left(1-e^{-\ln(C_{op}-r C_{Res})+\ln(C_{op})}\right)
\end{equation*}

\begin{equation*}
	\Delta Q = \frac{q_{i}\cdot e^{-D T_{1}^{\star}}}{D}\left(1-\frac{C_{op}}{C_{op}-r C_{Res}}\right)
\end{equation*}

\begin{equation*}
	\Delta Q = \frac{q_{i}\cdot e^{-D \frac{\ln(P_{ur})+\ln(q_{i})-\ln(C_{op})}{D} }}{D}\left(1-\frac{C_{op}}{C_{op}-r C_{Res}}\right)
\end{equation*}

\begin{equation*}
	\Delta Q = \frac{q_{i}}{D}\cdot e^{-\ln(P_{ur})-\ln(q_{i})+\ln(C_{op})}\left(1-\frac{C_{op}}{C_{op}-r C_{Res}}\right)
\end{equation*}

\begin{equation*}
	\Delta Q = q_{i}\frac{C_{op}}{D\cdot P_{ur}\cdot q_{i}}\left(1-\frac{C_{op}}{C_{op}-r C_{Res}}\right)
\end{equation*}

\begin{equation*}
	\Delta Q = \frac{C_{op}}{D\cdot P_{ur}}\left(1-\frac{C_{op}}{C_{op}-r C_{Res}}\right)
\end{equation*}

