\documentclass{general}
\usepackage{macros}

\title{ELEC 342 Lab 1\\AC/DC Circuits and Basic Measurements}
\author{Manav Khangura \and Warrick Lo \and Yuvraj Chadha}
\date{09 February 2026}

\begin{document}
\maketitle

\tableofcontents

\listoftables
\listoffigures

\newpage

\phantomsection
\addcontentsline{toc}{section}{Pre-Lab}
\section*{Pre-Lab}

\textbf{Warrick Lo, 09 February 2026}

Using $S = P + \j Q = VI$, we get
\begin{align*}
	S &= I^2 Z = I^2 \left(R + \j X\right) \quad \text{and} \\
	S &= \frac{V^2}{Z} = \frac{V^2}{R + \j X}.
\end{align*}
Thus, we can solve for P and Q when the impedances are all either purely
resistive or reactive:
\begin{subequations}
\begin{align}
	P &= I^2 R, \label{eq:p:ser} \\
	&= \frac{V^2}{R}, \quad \text{and} \label{eq:p:par} \\
	Q &= I^2 X, \label{eq:q:ser} \\
	&= \frac{V^2}{X}. \label{eq:q:par}
\end{align}
\end{subequations}

Using the power triangle and the definition of the power factor angle,
\begin{align*}
	\cos\phi = \frac{P}{S}, \quad \tan\phi = \frac{Q}{P},
\end{align*}
and thus,
\begin{align}
	Q &= P \tan\phi. \label{eq:q}
\end{align}

\textbf{Resistance}

\begin{subequations}
\begin{alignat}{3}
	\intertext{Series resistance:}
	R &= \frac{P}{I^2} && \quad\quad\quad \text{Using equations \eqref{eq:p:ser} and \eqref{eq:q}} \\
	\intertext{Parallel resistance:}
	R &= \frac{V^2}{P} && \quad\quad\quad \text{Using equations \eqref{eq:p:par} and \eqref{eq:q}}
\end{alignat}
\end{subequations}

\textbf{Inductance}

\begin{align}
	\j X_L &= \j\omega L \notag \\
	L &= \frac{X_L}{\omega} \label{eq:l}
\end{align}

\begin{subequations}
\begin{alignat}{3}
	\intertext{Series inductance:}
	L &= \frac{Q}{\omega I^2} && \quad\quad\quad \text{Using equations \eqref{eq:q:ser} and \eqref{eq:l}} \notag \\
	&= \frac{P \tan\phi}{\omega I^2} && \quad\quad\quad \text{Using equation \eqref{eq:q}} \notag \\
	&= \frac{P \tan\phi}{2\uppi f I^2} \\
	\intertext{Parallel inductance:}
	L &= \frac{V^2}{\omega Q} && \quad\quad\quad \text{Using equations \eqref{eq:q:par} and \eqref{eq:l}} \notag \\
	&= \frac{V^2}{\omega P \tan\phi} && \quad\quad\quad \text{Using equation \eqref{eq:q}} \notag \\
	&= \frac{V^2}{2\uppi f P \tan\phi}
\end{alignat}
\end{subequations}

\textbf{Capacitance}

\begin{align}
	-\j X_C &= \frac{1}{\j \omega C} = \frac{-\j}{\omega C} \notag \\
	C &= \frac{1}{\omega X_C} \label{eq:c}
\end{align}

\begin{subequations}
\begin{alignat}{3}
	\intertext{Series capacitance:}
	C &= \frac{I^2}{\omega Q} && \quad\quad\quad \text{Using equations \eqref{eq:q:ser} and \eqref{eq:c}} \notag \\
	&= \frac{I^2}{\omega P \tan\phi} && \quad\quad\quad \text{Using equation \eqref{eq:q}} \notag \\
	&= \frac{I^2}{2\uppi f P \tan\phi} \\
	\intertext{Parallel capacitance:}
	L &= \frac{Q}{\omega V^2} && \quad\quad\quad \text{Using equations \eqref{eq:q:par} and \eqref{eq:c}} \notag \\
	&= \frac{P \tan\phi}{\omega V^2} && \quad\quad\quad \text{Using equation \eqref{eq:q}} \notag \\
	&= \frac{P \tan\phi}{2\uppi f V^2}
\end{alignat}
\end{subequations}

\textbf{Instantaneous Power}

\begin{align}
	\cos\alpha \cos\beta = \frac{1}{2} \left( \cos(\alpha+\beta) + \cos(\alpha-\beta) \right) \label{eq:cos}
\end{align}

\begin{align*}
	v(t) &= \sqrt{2} V_\text{RMS} \cos\left(\omega t + \phi_v\right) \\
	i(t) &= \sqrt{2} I_\text{RMS} \cos\left(\omega t + \phi_i\right)
\end{align*}

\begin{align}
	p(t) &= v(t) i(t) \notag \\
	&= 2 V_\text{RMS} I_\text{RMS} \cos\left(\omega t\right) \cos\left(\omega t + \phi \right) \notag \\
	&= V_\text{RMS} I_\text{RMS} \left( \cos\phi + \cos(2\omega t + \phi) \right)
\end{align}

\textbf{Complex Power}

\begin{subequations}
\begin{align}
	S &= P + \j Q \notag \\
	&= VI \cos\phi + \j VI \sin\phi \notag \\
	P &= VI \cos\phi \\
	Q &= VI \sin\phi
\end{align}
\end{subequations}

\textbf{Three-Phase Power}

\begin{align*}
	V_\text{line} &= \sqrt{3} V_\text{phase}
\end{align*}

\begin{subequations}
\begin{align}
	P &= 3 V_\text{phase} I_\text{phase} \cos\phi \\
	&= \sqrt{3} V_\text{line} I_\text{line} \cos\phi
\end{align}
\end{subequations}

\begin{subequations}
\begin{align}
	Q &= 3 V_\text{phase} I_\text{phase} \sin\phi \\
	&= \sqrt{3} V_\text{line} I_\text{line} \sin\phi
\end{align}
\end{subequations}

\newpage

\phantomsection
\addcontentsline{toc}{section}{Lab}
\addcontentsline{toc}{subsection}{Task 1}
\section*{Task 1A. Measurements with RL Load Box}

\begin{table}[H]
	\centering
	\begin{tabular}{*{8}{c}}
		\toprule
		Measurement & $V_\text{1(RMS)}$ (\si{\V}) & $I_\text{1(RMS)}$ (\si{\A}) & $\phi_1$ (\si{\degree}) & $P_\text{1(AVG)}$ (\si{\W}) & $Z_\text{eq}$ (\si{\ohm}) & $R_\text{eq(series)}$ (\si{\ohm}) & $L_\text{eq}$ (\si{\mH}) \\
		\midrule
		One inductor & 14.11 & 0.64 & 85.4 & 0.72 & 22.18 & 1.758 & 57.95 \\
		Three inductors & 14.07 & 1.98 & 85.2 & 2.33 & 7.11 & 0.594 & 18.77 \\
		\bottomrule
	\end{tabular}
	\caption[Single-phase parallel inductors]{Single-phase parallel inductors.}
	\label{tab:1a}
\end{table}

\begin{itemize}
	\item \textbf{How is this inductor different from an ideal inductor element?} \\
		The inductor has many parasitic elements, including physical resistance from the metal conductor, self-capacitance, magnetic flux leakage, radiation losses at high frequencies, and core losses if it's not an air-core inductor.
	\item \textbf{Are the calculated values of inductance close to the expected value? What is the difference?} \\
		The nominal value for each inductor, as indicated on the load box, is \qty{40}{\mH}. With three inductors in parallel, this gives us an equivalent inductance of \qty{13.33}{\mH}. The measured values are higher, at \qty{57.95}{\mH} for the single inductor and \qty{18.77}{\mH} for the parallel inductors, giving a deviation of \qty{45}{\%} and \qty{41}{\%}, respectively. This is a relatively high amount of deviation and can be attributed to the parasitic properties of the inductor described above.
\end{itemize}

\section*{Task 1B. Measurements with RC Load Box}

\begin{table}[H]
	\centering
	\begin{tabular}{*{8}{c}}
		\toprule
		Measurement & $V_\text{1(RMS)}$ (\si{\V}) & $I_\text{1(RMS)}$ (\si{\A}) & $\phi_1$ (\si{\degree}) & $P_\text{1(AVG)}$ (\si{\W}) & $Z_\text{eq}$ (\si{\ohm}) & $R_\text{eq(parallel)}$ (\si{\ohm}) & $C_\text{eq}$ (\si{\uF}) \\
		\midrule
		One capacitor & 14.07 & 0.22 & -89.6 & 0.022 & 62.82 & 0.4545 & 40.74 \\
		Three capacitors & 14.12 & 0.68 & -89.8 & 0.034 & 20.47 & 0.0735 & 125.9 \\
		\bottomrule
	\end{tabular}
	\caption[Single-phase parallel capacitors]{Single-phase parallel capacitors.}
	\label{tab:1b}
\end{table}

\begin{itemize}
	\item \textbf{How is this capacitor different from an ideal capacitor element?} \\
		The capacitor has physical resistance from the metal conductor, self-inductance, fringing field losses, leakage current through the dielectric, and the skin effect at high frequencies, among other losses.
	\item \textbf{Are the calculated values of capacitance close to the expected value? What is the difference?} \\
		The nominal value for each capacitor, as indicated on the load box, is \qty{40}{\uF}. With three capacitors, the equivalence capacitance is \qty{120}{\uF}. The measured values are slightly higher, at \qty{40.74}{\uF} for the single capacitor and \qty{125.9}{\uF} for the parallel capacitors. This gives us a deviation of \qty{1.9}{\%} and \qty{4.9}{\%}, respectively, which is a reasonably low amount of deviation that can be attributed to the real-world properties of the capacitor described earlier.
\end{itemize}

\section*{Task 1C. Parallel Connection of RLC Components}

\begin{table}[H]
	\centering
	\begin{tabular}{*{8}{c}}
		\toprule
		Measurement & $I_\text{1(RMS)}$ (\si{\A}) & $\phi_1$ (\si{\degree}) & $I_\text{2(RMS)}$ (\si{\A}) & $\phi_2$ (\si{\degree}) & $I_\text{3(RMS)}$ (\si{\A}) & $\phi_3$ (\si{\degree}) & $P_\text{1(AVG)}$ (\si{\W}) \\
		\midrule
		$R_1$ & 0.71 & 0.2 & --- & --- & --- & --- & 10.0 \\
		$R_1$ and $L_1$ & 0.99 & 39.8 & 0.64 & 85.2 & --- & --- & 10.7 \\
		$R_1$, $L_1$, $C_1$, $C_2$, $C_3$ & 0.79 & -1.0 & 0.63 & 85.1 & 0.67 & -89.5 & 10.7 \\
		\bottomrule
	\end{tabular}
	\caption[Parallel connection of RLC components]{Parallel connection of RLC components. Supply voltage $V_1 = 14.16 \angle -1.7 \si{\degree}$ \si{\V} RMS.}
	\label{tab:1c}
\end{table}

\begin{itemize}
	\item \textbf{How has the real power changed when you connected inductors and capacitors in parallel?} \\
		In the ideal scenario, adding inductors and capacitors to the circuit won't change the real power as the components are purely reactive. However due to the parasitic resistances of the components, they consume small amounts of real power. The total real power of the circuit is then simply the sum of the resistor's real power and the reactive components' real power from losses.
	\item \textbf{How are the magnitudes of the currents $I_1$, $I_2$, and $I_3$ related to each other when all elements are connected in parallel?} \\
		The current $I_1$ is the sum of all three branch currents as phasors:
		\begin{align*}
			\tilde{I}_1 &= \tilde{I}_R + \tilde{I}_L + \tilde{I}_C.
		\end{align*}
		In the ideal model, the inductor and capacitor currents are, respectively, \ang{90} and \ang{-90} out of phase from the resistor current. Since they are \ang{180} apart, the magnitudes will subtract from each other. Thus the magnitude of the current $I_1$ can be given by
		\begin{align}
			\left|\tilde{I}_1\right| &= \sqrt{\left|\tilde{I}_R\right|^2 + \left(\left|\tilde{I}_2\right| - \left|\tilde{I}_3\right|\right)^2}.
			\label{eq:1c}
		\end{align}
	\item \textbf{Can either $I_2$ and/or $I_3$ have a magnitude larger than the magnitude of $I_1$? Explain.} \\
		Yes, if the resistor current is small enough, or equally if both inductor and capacitor currents are large enough. We can see this in \eqref{eq:1c}; the reactive components' currents ``nearly cancel'' each other out, giving only a small increase to $I_1$, but they can each be larger than $I_1$ individually.
\end{itemize}

\section*{Task 1D. Series Connection of RLC Components}

\begin{table}[H]
	\centering
	\begin{tabular}{*{8}{c}}
		\toprule
		Measurement & $I_\text{1(RMS)}$ (\si{\A}) & $\phi_1$ (\si{\degree}) & $V_\text{2(RMS)}$ (\si{\V}) & $\phi_2$ (\si{\degree}) & $V_\text{3(RMS)}$ (\si{\V}) & $\phi_3$ (\si{\degree}) & $P_\text{1(AVG)}$ (\si{\W}) \\
		\midrule
		$R_1$, $L_1$, $C_1$ & 0.32 & 55.3 & 8.65 & 218.3 & 20.58 & 31.2 & 2.3 \\
		$R_1$, $L_1$, $C_1$, $C_2$, $C_3$ & 0.64 & 0.8 & 14.25 & 80.6 & 13.97 & 90.5 & 9.0 \\
		$R_1$, $R_2$, $R_3$, $L_1$, $C_1$, $C_2$, $C_3$ & 1.56 & 25.3 & 27.17 & 245.0 & 34.08 & 60.6 & 19.5 \\
		\bottomrule
	\end{tabular}
	\caption[Series connection of RLC components]{Series connection of RLC components. Supply voltage $V_1 = 14.14 \angle -1.6 \si{\degree}$ \si{\V} RMS.}
	\label{tab:1d}
\end{table}

\begin{itemize}
	\item \textbf{How has the real power changed when you connected capacitors in parallel or resistors in parallel?} \\
		When the capacitors are connected in parallel, the equivalent impedance of the capacitors is significantly lowered. This matches with how see $V_3$ being lower afterwards. Thus, more current is flowing through the circuit and more power is being dissipated by the resistor.
		When the resistors are connected in parallel, more current is again going through the circuit and thus the real power increases as well.
	\item \textbf{How are the magnitudes of voltages $V_1$, $V_2$, and $V_3$ related to each other when all elements are connected in series?} \\
		The voltage $V_1$ is the sum of all three components' voltages as phasors:
		\begin{align*}
			\tilde{V}_1 = \tilde{V}_R + \tilde{V}_L + \tilde{V}_C.
		\end{align*}
		In the ideal model, the inductor and capacitor voltages are, respectively, \ang{90} and \ang{-90} out of phase from the resistor voltage. Since they are \ang{180} apart, the magnitudes will subtract from each other. Thus the magnitude of the voltage $V_1$ can be given by
		\begin{align}
			\left|\tilde{V}_1\right| = \sqrt{\left|\tilde{V}_R\right|^2 + \left(\left|\tilde{V}_2\right| - \left|\tilde{V}_3\right|\right)^2}.
			\label{eq:1d}
		\end{align}
	\item \textbf{Can either $V_2$ and/or $V_3$ have a magnitude larger than the magnitude of $V_1$? Explain.} \\
		Yes, if the resistor voltage is small enough, or equally if both inductor and capacitor voltages are large enough. Similar to Task 1C, we can see how according to equation \eqref{eq:1d}, the reactive components' voltages ``nearly cancel'' each other out, which allows $V_2$ and $V_3$ to be each larger than $V_1$ individually.
	\item \textbf{Support your answer with the phasor diagram corresponding to the measurement Task 1D, step 5.} \\
		See figure \ref{fig:1d:pha}.
\end{itemize}

\begin{figure}
	\centering
	\includegraphics[width=0.75\linewidth]{images/1d-3-phasor.png}
	\caption[Phasor view of circuit with three resistors, one inductor, and three capacitors]{Phasor view of circuit with three resistors, one inductor, and three capacitors.}
	\label{fig:1d:pha}
\end{figure}

\phantomsection
\addcontentsline{toc}{subsection}{Task 2}
\section*{Task 2A. Three-Phase Measurements with Wye-Connected RL Load Box}

\begin{table}[H]
\begin{adjustwidth}{-15mm}{-15mm}
	\centering
	\begin{tabular}{l*{7}{c}}
		\toprule
		& \multicolumn{2}{c}{Phase 1 (RMS)} & \multicolumn{2}{c}{Phase 2 (RMS)} & \multicolumn{2}{c}{Phase 3 (RMS)} & Total \\
		\cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(lr){6-7} \cmidrule(l){8-8}
		\multicolumn{1}{c}{Measurement} & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $P_\text{AVG}$ (\si{\W}) \\
		\midrule
		RL balanced load, & 10.17 $\angle$ 4.5 & 0.27 $\angle$ -46.3 & 10.15 $\angle$ -238.0 & 0.29 $\angle$ 73.3 & 9.79 $\angle$ -115.2 & 0.29 $\angle$ -163.6 & 5.6 \\
		\; neutrals disconnected \\[0.5em]
		RL unbalanced load, & 10.06 $\angle$ 4.4 & 0.38 $\angle$ -80.0 & 12.91 $\angle$ -251.8 & 0.39 $\angle$ 60.8 & 8.94 $\angle$ -139.9 & 0.26 $\angle$ -189.0 & 5.2 \\
		\; shorted resistor, \\
		\; neutrals disconnected \\[0.5em]
		RL unbalanced load, & 8.88 $\angle$ 0.9 & 0.45 $\angle$ 0.6 & 9.15 $\angle$ -199.3 & 0.26 $\angle$ -247.8 & 13.71 $\angle$ -98.4 & 0.43 $\angle$ -145.0 & 9.9 \\
		\; shorted inductor, \\
		\; neutrals disconnected \\[0.5em]
		RL unbalanced load, & 10.16 $\angle$ -1.5 & 0.4 $\angle$ -85.7 & 10.31 $\angle$ -241.4 & 0.3 $\angle$ 70.2 & 10.19 $\angle$ -120.6 & 0.30 $\angle$ -168.8 & 4.6 \\
		\; shorted resistor, \\
		\; neutrals connected \\[0.5em]
		RL unbalanced load, & 10.09 $\angle$ -1.8 & 0.51 $\angle$ -2.0 & 10.27 $\angle$ -241.5 & 0.30 $\angle$ 70.3 & 10.19 $\angle$ -120.8 & 0.30 $\angle$ -168.9 & 9.6 \\
		\; shorted inductor, \\
		\; neutrals connected \\
		\bottomrule
	\end{tabular}
	\caption[Balanced and unbalanced wye-connected RL three-phase load]{Balanced and unbalanced wye-connected RL three-phase load.}
	\label{tab:2a}
\end{adjustwidth}
\end{table}

\begin{itemize}
	\item \textbf{How close are your measurements to the ideal case when the RL load is balanced?} \\
		In the balanced load circuit, the voltages had phase differences that were calculated to be \ang{120 \pm 2.8} and maximum voltage spread of less than \qty{\pm 0.38}{\V}. Similarily, the currents had phase differences of \ang{120 \pm 3.1} and variations in magnitude of \qty{\pm 0.02}{\A}. These can be attributed to the tolerances in individual components, manufacturing variations, and parasitic impedances, among other things.
	\item \textbf{What happens to the phase voltages and currents when the resistor is shorted in one of the phases?} \\
		Looking at the phase current through the shorted load, the magnitude will increase due to the lower impedance from the short. That current will also lag the voltage by around \ang{90}, due to it being a (nearly) pure inductive load. Without the neutral line connected, the phase voltages drift from the target of \qty{10}{\V} and the phases deviate from their nominal \ang{120} separation.
	\item \textbf{What happens to the phase voltages and currents when the inductor is shorted in one of the phases?} \\
		Looking at the phase current through the shorted load, the magnitude will again increase due to the lower impedance from the short. That current will be roughly in phase with the voltage, due to it being purely resistive. Without the neutral line connected, the phase voltages also drift from the target of \qty{10}{\V} and the phases again deviate from their nominal \ang{120} separation.
	\item \textbf{How does connecting or disconnecting the neutral wire affect the phase voltages and currents when the load is unbalanced?} \\
		The neutral line allows the unbalanced current to flow back to the source. This stabilises the phase voltages even when the load is unbalanced, ensuring that the magnitudes stay around \qty{10}{\V} and the phase differences are around \ang{120}.
\end{itemize}

\section*{Task 2B. Three-Phase Measurements with Delta-Connected RL Load Box}

\begin{table}[H]
\begin{adjustwidth}{-15mm}{-15mm}
	\centering
	\begin{tabular}{l*{7}{c}}
		\toprule
		& \multicolumn{2}{c}{Phase 1 (RMS)} & \multicolumn{2}{c}{Phase 2 (RMS)} & \multicolumn{2}{c}{Phase 3 (RMS)} & Total \\
		\cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(lr){6-7} \cmidrule(l){8-8}
		\multicolumn{1}{c}{Measurement} & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $P_\text{AVG}$ (\si{\W}) \\
		\midrule
		RL balanced load & 9.98 $\angle$ -1.6 & 0.93 $\angle$ -47.0 & 10.06 $\angle$ -241.9 & 0.95 $\angle$ 72.0 & 9.93 $\angle$ -121.3 & 0.96 $\angle$ -167.1 & 19.7 \\[0.5em]
		RL unbalanced load, & 10.10 $\angle$ -1.5 & 0.94 $\angle$ -81.0 & 10.14 $\angle$ -241.7 & 1.39 $\angle$ 55.0 & 10.02 $\angle$ -121.3 & 0.97 $\angle$ -167.2 & 14.6 \\
		\; shorted resistor \\[0.5em]
		RL unbalanced load, & 9.97 $\angle$ -1.5 & 1.41 $\angle$ -26.2 & 10.15 $\angle$ -242.3 & 0.91 $\angle$ -248.7 & 10.03 $\angle$ -120.9 & 0.97 $\angle$ -166.6 & 28.8 \\
		\; shorted inductor \\
		\bottomrule
	\end{tabular}
	\caption[Balanced and unbalanced delta-connected RL three-phase load]{Balanced and unbalanced delta-connected RL three-phase load.}
	\label{tab:2b}
\end{adjustwidth}
\end{table}

\begin{itemize}
	\item \textbf{How close are your measurements to the ideal case when the RL load is balanced?} \\
		In the balanced load circuit, the voltages had phase differences that were calculated to be \ang{120 \pm 0.6} and maximum voltage spread of less than \qty{\pm 0.13}{\V}. Similarily, the currents had phase differences of \ang{120 \pm 1} and variations in magnitude of \qty{\pm 0.03}{\A}. These can be attributed to the tolerances in individual components, manufacturing variations, and parasitic impedances, among other things.
	\item \textbf{How do the current and power measurements (values) compare with the previous case when the balanced load was wye-connected?}
		The average power increases by a factor of \num{3}, compared to the wye-connected load. This is because the power per phase in a wye-connected load is given by $\left(V_\text{line}/\sqrt{3}\right)^2/Z \cdot \cos\phi$, whereas the delta-connected load's power per phase is given by $V_\text{line}^2/Z \cdot \cos\phi$. Similarly, the line current will increase by a factor of \num{3}, since in wye and delta connections the line current is given by $V_\text{line}/\left(\sqrt{3}Z\right)$ and $\sqrt{3} V_\text{line}/Z$, respectively.
	\item \textbf{What happens to the phase voltages and currents when the resistor is shorted in one of the phases?}
		The phase voltages do not change, staying approximately \ang{120} apart and having a maximum voltage spread of \qty{0.12}{\V}. Looking at the phase current through the shorted load, the magnitude will increase due to the lower impedance from the short. That current will also lag the voltage by around \ang{90}, due to it being a (nearly) pure inductive load.
	\item \textbf{What happens to the phase voltages and currents when the inductor is shorted in one of the phases?}
		The phase voltages do not change, staying approximately \ang{120} apart and having a maximum voltage spread of \qty{0.18}{\V}. Looking at the phase current through the shorted load, the magnitude will again increase due to the lower impedance from the short. That current will be in phase with the voltage, due to it being a purely resistive load.
\end{itemize}

\section*{Task 2C. Two-Wattmeter Measurement Method with Delta-Connected RL Load Box}

\begin{table}[H]
	\centering
	\begin{tabular}{l*{7}{c}}
		\toprule
		& \multicolumn{2}{c}{Phase 1 (RMS)} & \multicolumn{2}{c}{Phase 2 (RMS)} & \multicolumn{3}{c}{Average Power} \\
		\cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(l){6-8}
		\multicolumn{1}{c}{Measurement} & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $V \angle \phi_v$ (\si{\V}) & $I \angle \phi_i$ (\si{\A}) & $P_1$ (\si{\W}) & $P_2$ (\si{\W}) & $P_\text{total}$ (\si{\W}) \\
		\midrule
		RL balanced load & 17.34 $\angle$ -0.7 & 0.94 $\angle$ -76.2 & 17.58 $\angle$ 59.4 & 0.96 $\angle$ 42.6 & 4.1 & 15.6 & 19.8 \\[0.5em]
		RL unbalanced load, & 17.41 $\angle$ -0.7 & 0.94 $\angle$ -110.3 & 17.53 $\angle$ 59.5 & 1.40 $\angle$ 25.7 & -5.5 & 19.7 & 14.2 \\
		\; shorted resistor \\[0.5em]
		RL unbalanced load, & 17.37 $\angle$ -0.6 & 1.42 $\angle$ -55.6 & 17.67 $\angle$ 59.1 & 0.92 $\angle$ 81.8 & 14.3 & 14.5 & 28.7 \\
		\; shorted inductor \\
		\bottomrule
	\end{tabular}
	\caption[Two-wattmeter measurements with delta-connected RL three-phase load]{Two-wattmeter measurements with delta-connected RL three-phase load.}
	\label{tab:2c}
\end{table}

\begin{itemize}
	\item \textbf{The load circuit in Task 2B and Task 2C is identical in each step. Compare the measurements of currents and voltages of Task 2B and Task 2C. Explain the results.} \\
		The voltages measured here are greater compared to Task 2B because we are measuring the line-to-line voltage, as opposed to the phase voltage like what was done previously. As the line and phase voltages are related to each other by $V_\text{line} = \sqrt{3} V_\text{phase} \angle \ang{30}$, the voltage supply is giving the same output voltage in both Task 2B and Task 2C (as $\sqrt{3} \cdot \qty{10}{\V} \cong \qty{17.32}{\V}$). We also see this through our measurement of the current; the magnitude remains relatively unchanged from Task 2B to Task 2C, while the current shows a \ang{-30}  phase shift because of the change in our reference (the angle of $V_1$).
	\item \textbf{Compare the measurements of the real power of Task 2B and Task 2C. Explain the results.} \\
		The total real power remains relatively the same, as expected, since no part of the physical circuit changed. We see that when the resistor is shorted (the load is purely inductive), $P_1$ is negative. This can be explained by the power factor angle being more than \ang{90}, which will make the power, given by $P = V_\text{line} I_\text{phase} \cos\phi$, negative.
\end{itemize}

\newpage

\appendix

\phantomsection
\addcontentsline{toc}{section}{Appendix}

\addcontentsline{toc}{subsection}{MATLAB Code}
\section*{Appendix A. MATLAB Code}

\lstinputlisting[
	style=Matlab-editor,
	caption={Frequency spectrum analysis code.},
	captionpos=b
]{matlab/specan.m}

\newpage

\lstinputlisting[
	style=Matlab-editor,
	caption={Phasor plot code.},
	captionpos=b
]{matlab/phasor.m}

\newpage

\phantomsection
\addcontentsline{toc}{subsection}{Images}
\section*{Appendix B. Images}

\begin{figure}[H]
	\centering
	\includegraphics[width=0.75\linewidth]{images/1a-phasor.png}
	\caption[Phasor measurements for the RL load box with three inductors (Task 1A)]
		{Phasor measurements for the RL load box with three inductors (Task 1A).}
	\label{fig:1a}
\end{figure}

\begin{figure}[H]
	\centering
	\includegraphics[width=0.75\linewidth]{images/1b-phasor.png}
	\caption[Phasor measurements for the RC load box with three capacitors (Task 1B)]
		{Phasor measurements for the RC load box with three capacitors (Task 1B).}
	\label{fig:1b}
\end{figure}

\begin{figure}[H]
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1c-1-wave.png}
		\caption{Waveform of circuit with one resistor.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1c-2-wave.png}
		\caption{Waveform of circuit with one resistor and one inductor.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1c-3-wave.png}
		\caption{Waveform of circuit with one resistor, one inductor, and three capacitors.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1c-3-phasor.png}
		\caption{Phasor view of circuit with one resistor, one inductor, and three capacitors.}
	\end{subfigure}
	\caption[Measurements of parallel connections of RLC components (Task 1C)]
		{Measurements of parallel connections of RLC components (Task 1C).}
	\label{fig:1c}
\end{figure}

\begin{figure}[H]
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1d-1-wave.png}
		\caption{Waveform of circuit with one resistor, one inductor, and one capacitor.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1d-2-wave.png}
		\caption{Waveform of circuit with one resistor, one inductor, and three capacitors.}
	\end{subfigure}
	\caption[Measurements of series connections of RLC components (Task 1D)]
		{Measurements of series connections of RLC components (Task 1D).}
	\label{fig:1d}
\end{figure}

% Task 1D continued.

\begin{figure}[H]
	\ContinuedFloat
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1d-3-wave.png}
		\caption{Waveform of circuit with three resistors, one inductor, and three capacitors.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/1d-3-phasor.png}
		\caption{Phasor view of circuit with three resistors, one inductor, and three capacitors.}
	\end{subfigure}
	\captionsetup{list=no}
	\caption{Measurements of series connections of RLC components (Task 1D).}
	\captionsetup{list=yes}
\end{figure}

\begin{figure}[H]
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-1-wave.png}
		\caption{Waveform of circuit with RL balanced load, neutrals disconnected.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-1-phasor.png}
		\caption{Phasor view of circuit with RL balanced load, neutrals disconnected.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-2-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted resistor, neutrals disconnected.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-2-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted resistor, neutrals disconnected.}
	\end{subfigure}

	\caption[Three-phase measurements with wye-connected RL load box (Task 2A)]
		{Three-phase measurements with wye-connected RL load box (Task 2A).}
	\label{fig:2a}
\end{figure}

% Task 2A continued.

\begin{figure}
	\ContinuedFloat
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-3-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted inductor, neutrals disconnected.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-3-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted inductor, neutrals disconnected.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-4-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted resistor, neutrals connected.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-4-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted resistor, neutrals connected.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-5-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted inductor, neutrals connected.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2a-5-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted inductor, neutrals connected.}
	\end{subfigure}

	\captionsetup{list=no}
	\caption{Three-phase measurements with wye-connected RL load box (Task 2A).}
	\captionsetup{list=yes}
\end{figure}

\begin{figure}
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2b-1-wave.png}
		\caption{Waveform of circuit with RL balanced load.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2b-1-phasor.png}
		\caption{Phasor view of circuit with RL balanced load.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2b-2-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted resistor.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2b-2-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted resistor.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2b-3-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted inductor.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2b-3-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted inductor.}
	\end{subfigure}

	\caption[Three-phase measurements with delta-connected RL load box (Task 2B)]
		{Three-phase measurements with delta-connected RL load box (Task 2B).}
	\label{fig:2b}
\end{figure}

\begin{figure}
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2c-1-wave.png}
		\caption{Waveform of circuit with RL balanced load.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2c-1-phasor.png}
		\caption{Phasor view of circuit with RL balanced load.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2c-2-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted resistor.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2c-2-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted resistor.}
	\end{subfigure}

	\medskip

	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2c-3-wave.png}
		\caption{Waveform of circuit with RL unbalanced load, shorted inductor.}
	\end{subfigure}
	\hfill
	\begin{subfigure}{0.45\linewidth}
		\includegraphics[width=\linewidth]{images/2c-3-phasor.png}
		\caption{Phasor view of circuit with RL unbalanced load, shorted inductor.}
	\end{subfigure}

	\caption[Two-wattmeter measurements with delta-connected RL load box (Task 2C)]
		{Two-wattmeter measurements with delta-connected RL load box (Task 2C).}
	\label{fig:2c}
\end{figure}

\end{document}
