\hypertarget{classIMpmsmStat}{
\section{IMpmsmStat Class Reference}
\label{classIMpmsmStat}\index{IMpmsmStat@{IMpmsmStat}}
}
State evolution model for a PMSM drive and its derivative with respect to $x$, equation for $\omega$ is omitted.\$.  


{\tt \#include $<$pmsm.h$>$}

Inheritance diagram for IMpmsmStat:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=61pt]{classIMpmsmStat__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for IMpmsmStat:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=88pt]{classIMpmsmStat__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classIMpmsmStat_6379210623a2d353d42bfc87ccbd4384}{
void \hyperlink{classIMpmsmStat_6379210623a2d353d42bfc87ccbd4384}{set\_\-parameters} (double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0)}
\label{classIMpmsmStat_6379210623a2d353d42bfc87ccbd4384}

\begin{CompactList}\small\item\em Set mechanical and electrical variables. \item\end{CompactList}\item 
\hypertarget{classIMpmsmStat_5ed3582c2c0edb0753387a82598f8d21}{
vec \hyperlink{classIMpmsmStat_5ed3582c2c0edb0753387a82598f8d21}{eval} (const vec \&x0, const vec \&u0)}
\label{classIMpmsmStat_5ed3582c2c0edb0753387a82598f8d21}

\begin{CompactList}\small\item\em Evaluates $f(x0,u0)$. \item\end{CompactList}\item 
void \hyperlink{classIMpmsmStat_29a9c09fd328e89748d9be0801e84831}{dfdx\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true)
\begin{CompactList}\small\item\em Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . \item\end{CompactList}\item 
void \hyperlink{classIMpmsmStat_ff740ee20100ae2a2d03a2538638f8e8}{dfdu\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true)
\begin{CompactList}\small\item\em Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}{
vec \hyperlink{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}{eval} (const vec \&cond)}
\label{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}

\begin{CompactList}\small\item\em Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ). \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}{
int \hyperlink{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}{\_\-dimx} () const }
\label{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}{
int \hyperlink{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}{\_\-dimu} () const }
\label{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
\hypertarget{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}{
virtual void \hyperlink{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}{condition} (const vec \&val)}
\label{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}

\begin{CompactList}\small\item\em function substitutes given value into an appropriate position \item\end{CompactList}\item 
\hypertarget{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}{
int \hyperlink{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}{\_\-dimy} () const }
\label{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
\hypertarget{classIMpmsm_5908138b6c11f32971542423978a25d3}{
double \textbf{Rs}}
\label{classIMpmsm_5908138b6c11f32971542423978a25d3}

\item 
\hypertarget{classIMpmsm_829e309d689b7e148d761d36b1b62fb7}{
double \textbf{Ls}}
\label{classIMpmsm_829e309d689b7e148d761d36b1b62fb7}

\item 
\hypertarget{classIMpmsm_ec462f3df7355cc72843c945d887b9d3}{
double \textbf{dt}}
\label{classIMpmsm_ec462f3df7355cc72843c945d887b9d3}

\item 
\hypertarget{classIMpmsm_a1b973c18d381e7ec717165aa306b613}{
double \textbf{Ypm}}
\label{classIMpmsm_a1b973c18d381e7ec717165aa306b613}

\item 
\hypertarget{classIMpmsm_03f1857fb1910c7b06dac4ce50482516}{
double \textbf{kp}}
\label{classIMpmsm_03f1857fb1910c7b06dac4ce50482516}

\item 
\hypertarget{classIMpmsm_0eddf56a8feb6b837ee3c36c0ac6b781}{
double \textbf{p}}
\label{classIMpmsm_0eddf56a8feb6b837ee3c36c0ac6b781}

\item 
\hypertarget{classIMpmsm_83e4149bb70b022f3a19208f14eac0e3}{
double \textbf{J}}
\label{classIMpmsm_83e4149bb70b022f3a19208f14eac0e3}

\item 
\hypertarget{classIMpmsm_0aa4f9ee2b9babdc05f62ba275a9575f}{
double \textbf{Mz}}
\label{classIMpmsm_0aa4f9ee2b9babdc05f62ba275a9575f}

\item 
\hypertarget{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}{
RV \hyperlink{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}{rvx}}
\label{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}

\begin{CompactList}\small\item\em Indentifier of the first rv. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}{
RV \hyperlink{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}{rvu}}
\label{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}

\begin{CompactList}\small\item\em Indentifier of the second rv. \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}{
int \hyperlink{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}{dimx}}
\label{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}

\begin{CompactList}\small\item\em cache for rvx.count() \item\end{CompactList}\item 
\hypertarget{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}{
int \hyperlink{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}{dimu}}
\label{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}

\begin{CompactList}\small\item\em cache for rvu.count() \item\end{CompactList}\item 
\hypertarget{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{
int \hyperlink{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{dimy}}
\label{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}

\begin{CompactList}\small\item\em Length of the output vector. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
State evolution model for a PMSM drive and its derivative with respect to $x$, equation for $\omega$ is omitted.\$. 

\subsection{Member Function Documentation}
\hypertarget{classIMpmsmStat_29a9c09fd328e89748d9be0801e84831}{
\index{IMpmsmStat@{IMpmsmStat}!dfdx\_\-cond@{dfdx\_\-cond}}
\index{dfdx\_\-cond@{dfdx\_\-cond}!IMpmsmStat@{IMpmsmStat}}
\subsubsection[dfdx\_\-cond]{\setlength{\rightskip}{0pt plus 5cm}void IMpmsmStat::dfdx\_\-cond (const vec \& {\em x0}, \/  const vec \& {\em u0}, \/  mat \& {\em A}, \/  bool {\em full} = {\tt true})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classIMpmsmStat_29a9c09fd328e89748d9be0801e84831}


Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em full}]denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. \item[{\em x0}]numeric value of $x$, \item[{\em u0}]numeric value of $u$ \item[{\em A}]a place where the result will be stored. \end{description}
\end{Desc}


Reimplemented from \hyperlink{classIMpmsm_b4378b5d3bf64c683e4cf5c5f1cd56f1}{IMpmsm}.\hypertarget{classIMpmsmStat_ff740ee20100ae2a2d03a2538638f8e8}{
\index{IMpmsmStat@{IMpmsmStat}!dfdu\_\-cond@{dfdu\_\-cond}}
\index{dfdu\_\-cond@{dfdu\_\-cond}!IMpmsmStat@{IMpmsmStat}}
\subsubsection[dfdu\_\-cond]{\setlength{\rightskip}{0pt plus 5cm}void IMpmsmStat::dfdu\_\-cond (const vec \& {\em x0}, \/  const vec \& {\em u0}, \/  mat \& {\em A}, \/  bool {\em full} = {\tt true})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}}
\label{classIMpmsmStat_ff740ee20100ae2a2d03a2538638f8e8}


Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into {\tt A} . 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em full}]denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. \item[{\em x0}]numeric value of $x$, \item[{\em u0}]numeric value of $u$ \item[{\em A}]a place where the result will be stored. \end{description}
\end{Desc}


Reimplemented from \hyperlink{classIMpmsm_c3f8dad22ae9855c04a1d593b45c99b5}{IMpmsm}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
work/git/mixpp/pmsm/pmsm.h\end{CompactItemize}
