I am trying to implement the following table (picture seen) in LaTeX. I am facing difficulty in writing the code since it consists of both multicolumn and multirow table commands. I truly appreciate if you guys can help me with it:
Here is the initial part of code using multicolumn and multirow, I can't understand where I am getting it wrong:
\begin{table}[tp]
\toprule
\renewcommand{\arraystretch}{1.3}
\setlength{\arrayrulewidth}{0.15mm}
\setlength{\doublerulesep}{0.12mm}
\caption{VSI Parameters}
\label{tab:2}
\centering
\begin{tabular}{t|t|t|t}
\hline
\hline
\multicolumn{2}{*}{\textbf{VSI Controller} \\
\textbf{Parameters} \\
& \textbf{Minimum} & \textbf{Maximum} \\
& \textbf{Value} & \textbf{Value} \\\otoprule
\hline
\hline
\multirow{4}{*}{Outer Control Loops} & \math{k_{p1}} & \SI{0.002}{} \\
& \math{T_{i1}} & \SI{0.0001}{} \\
& \math{k_{p2}} & \SI{0.01}{} \\
& \math{T_{i2}} & \SI{0.0001}{} \\ \hline
\end{tabular}
\end{table}
EDITED: @Bernard: I really like your format; if I opt for it in making all my tables, what is the modified code for the below table in my script:
\begin{table}[tp]
\toprule
\renewcommand{\arraystretch}{1.3}
\setlength{\arrayrulewidth}{0.15mm}
\setlength{\doublerulesep}{0.12mm}
\caption{Step Changes}
\label{tab:1}
\centering
\begin{tabular}{t|t|t}
\hline
\hline
Step Change & Initial & Final \\
Number & $\math{(W)}$ & $\math{(W)}$ \\\otoprule
\hline
\hline
\SI{1}{} & \SI{0}{} & \SI{500}{}\\
\hline
\SI{2}{} & \SI{500}{} & \SI{250}{}\\
\hline
\SI{3}{} & \SI{250}{} & \SI{750}{}\\
\hline
\hline
\end{tabular}
\end{table}
\otoprule
is defined and what might provide\SI
or whatt
and\doublerulesep
are. You need help solving the problem. But we need you to help by setting the problem up.