\chapter{Discussion}\label{cha:discussion}

\section{Results}

\section{Method}

It was suprisingly difficult to find and choose apropriate components for the dummy load. The resistors had to tolerate extreme surges and the relays had to have high insulation voltages between the contacts.

\subsection{Attenuators}
\label{discussion_attenuators}
During the project, the attenuation was considered as the voltage attenuation $att = 20 log_{10}\left( \frac{V_{in}}{V_{out}} \right)  \si{\deci\bel}$. However, lots of information and many tools for RF applications, including the calculator used for the attenuators in this project, assume power attenuation $att = 10 log_{10}\left( \frac{P_{in}}{P_{out}} \right)  \si{\deci\bel}$. The result of these two properties coincides when the input and output impedance, as well as the driving and loading impedance, are all the same.

The fact that these two ways of expressing attenuation could be mixed up was not noticed until very late in the project. Thus the values provided by the online attenuator tool did not give the desired results in the simulator, for the \SI{1000}{\ohm} attenuator. This was at the time manually tweaked until the desired attenuation was acquired, but the out impedance was not considered during the tweaking and ended thereby up being a bit mismatched for the next $\Pi$ link.

There are infinitely many constellations to approximate the nominal value, in this project it was tried to use as few resistors as possible. This process was performed manually, since no suitable software for solving the problem was found. Thus the chosen constellations might not be optimal.

\section{The work in a wider context}
Ethical aspects

\section{References}
Source critisism



