| 1 | \hypertarget{classIMpmsmStat}{ | 
|---|
| 2 | \section{IMpmsmStat Class Reference} | 
|---|
| 3 | \label{classIMpmsmStat}\index{IMpmsmStat@{IMpmsmStat}} | 
|---|
| 4 | } | 
|---|
| 5 | State evolution model for a PMSM drive and its derivative with respect to $x$, equation for $\omega$ is omitted.\$.   | 
|---|
| 6 |  | 
|---|
| 7 |  | 
|---|
| 8 | {\tt \#include $<$pmsm.h$>$} | 
|---|
| 9 |  | 
|---|
| 10 | Inheritance diagram for IMpmsmStat:\nopagebreak | 
|---|
| 11 | \begin{figure}[H] | 
|---|
| 12 | \begin{center} | 
|---|
| 13 | \leavevmode | 
|---|
| 14 | \includegraphics[width=61pt]{classIMpmsmStat__inherit__graph} | 
|---|
| 15 | \end{center} | 
|---|
| 16 | \end{figure} | 
|---|
| 17 | Collaboration diagram for IMpmsmStat:\nopagebreak | 
|---|
| 18 | \begin{figure}[H] | 
|---|
| 19 | \begin{center} | 
|---|
| 20 | \leavevmode | 
|---|
| 21 | \includegraphics[width=88pt]{classIMpmsmStat__coll__graph} | 
|---|
| 22 | \end{center} | 
|---|
| 23 | \end{figure} | 
|---|
| 24 | \subsection*{Public Member Functions} | 
|---|
| 25 | \begin{CompactItemize} | 
|---|
| 26 | \item  | 
|---|
| 27 | \hypertarget{classIMpmsmStat_6379210623a2d353d42bfc87ccbd4384}{ | 
|---|
| 28 | void \hyperlink{classIMpmsmStat_6379210623a2d353d42bfc87ccbd4384}{set\_\-parameters} (double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0)} | 
|---|
| 29 | \label{classIMpmsmStat_6379210623a2d353d42bfc87ccbd4384} | 
|---|
| 30 |  | 
|---|
| 31 | \begin{CompactList}\small\item\em Set mechanical and electrical variables. \item\end{CompactList}\item  | 
|---|
| 32 | \hypertarget{classIMpmsmStat_5ed3582c2c0edb0753387a82598f8d21}{ | 
|---|
| 33 | vec \hyperlink{classIMpmsmStat_5ed3582c2c0edb0753387a82598f8d21}{eval} (const vec \&x0, const vec \&u0)} | 
|---|
| 34 | \label{classIMpmsmStat_5ed3582c2c0edb0753387a82598f8d21} | 
|---|
| 35 |  | 
|---|
| 36 | \begin{CompactList}\small\item\em Evaluates $f(x0,u0)$. \item\end{CompactList}\item  | 
|---|
| 37 | void \hyperlink{classIMpmsmStat_29a9c09fd328e89748d9be0801e84831}{dfdx\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true) | 
|---|
| 38 | \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  | 
|---|
| 39 | void \hyperlink{classIMpmsmStat_ff740ee20100ae2a2d03a2538638f8e8}{dfdu\_\-cond} (const vec \&x0, const vec \&u0, mat \&A, bool full=true) | 
|---|
| 40 | \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  | 
|---|
| 41 | \hypertarget{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}{ | 
|---|
| 42 | vec \hyperlink{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3}{eval} (const vec \&cond)} | 
|---|
| 43 | \label{classbdm_1_1diffbifn_188f31066bd72e1bf0ddacd1eb0e6af3} | 
|---|
| 44 |  | 
|---|
| 45 | \begin{CompactList}\small\item\em Evaluates $f(x0,u0)$ (VS: Do we really need common eval? ). \item\end{CompactList}\item  | 
|---|
| 46 | \hypertarget{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}{ | 
|---|
| 47 | int \hyperlink{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b}{\_\-dimx} () const } | 
|---|
| 48 | \label{classbdm_1_1diffbifn_1b3c8f5949f13d86d2661e191d4b369b} | 
|---|
| 49 |  | 
|---|
| 50 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  | 
|---|
| 51 | \hypertarget{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}{ | 
|---|
| 52 | int \hyperlink{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced}{\_\-dimu} () const } | 
|---|
| 53 | \label{classbdm_1_1diffbifn_031458f38c97cdb3aecde16f6a06dced} | 
|---|
| 54 |  | 
|---|
| 55 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  | 
|---|
| 56 | \hypertarget{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}{ | 
|---|
| 57 | virtual void \hyperlink{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e}{condition} (const vec \&val)} | 
|---|
| 58 | \label{classbdm_1_1fnc_0786e40fade2663a70d654c1dda5d73e} | 
|---|
| 59 |  | 
|---|
| 60 | \begin{CompactList}\small\item\em function substitutes given value into an appropriate position \item\end{CompactList}\item  | 
|---|
| 61 | \hypertarget{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}{ | 
|---|
| 62 | int \hyperlink{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f}{\_\-dimy} () const } | 
|---|
| 63 | \label{classbdm_1_1fnc_a2277a400fc9f4d6c0bf24dc7156183f} | 
|---|
| 64 |  | 
|---|
| 65 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} | 
|---|
| 66 | \subsection*{Protected Attributes} | 
|---|
| 67 | \begin{CompactItemize} | 
|---|
| 68 | \item  | 
|---|
| 69 | \hypertarget{classIMpmsm_5908138b6c11f32971542423978a25d3}{ | 
|---|
| 70 | double \textbf{Rs}} | 
|---|
| 71 | \label{classIMpmsm_5908138b6c11f32971542423978a25d3} | 
|---|
| 72 |  | 
|---|
| 73 | \item  | 
|---|
| 74 | \hypertarget{classIMpmsm_829e309d689b7e148d761d36b1b62fb7}{ | 
|---|
| 75 | double \textbf{Ls}} | 
|---|
| 76 | \label{classIMpmsm_829e309d689b7e148d761d36b1b62fb7} | 
|---|
| 77 |  | 
|---|
| 78 | \item  | 
|---|
| 79 | \hypertarget{classIMpmsm_ec462f3df7355cc72843c945d887b9d3}{ | 
|---|
| 80 | double \textbf{dt}} | 
|---|
| 81 | \label{classIMpmsm_ec462f3df7355cc72843c945d887b9d3} | 
|---|
| 82 |  | 
|---|
| 83 | \item  | 
|---|
| 84 | \hypertarget{classIMpmsm_a1b973c18d381e7ec717165aa306b613}{ | 
|---|
| 85 | double \textbf{Ypm}} | 
|---|
| 86 | \label{classIMpmsm_a1b973c18d381e7ec717165aa306b613} | 
|---|
| 87 |  | 
|---|
| 88 | \item  | 
|---|
| 89 | \hypertarget{classIMpmsm_03f1857fb1910c7b06dac4ce50482516}{ | 
|---|
| 90 | double \textbf{kp}} | 
|---|
| 91 | \label{classIMpmsm_03f1857fb1910c7b06dac4ce50482516} | 
|---|
| 92 |  | 
|---|
| 93 | \item  | 
|---|
| 94 | \hypertarget{classIMpmsm_0eddf56a8feb6b837ee3c36c0ac6b781}{ | 
|---|
| 95 | double \textbf{p}} | 
|---|
| 96 | \label{classIMpmsm_0eddf56a8feb6b837ee3c36c0ac6b781} | 
|---|
| 97 |  | 
|---|
| 98 | \item  | 
|---|
| 99 | \hypertarget{classIMpmsm_83e4149bb70b022f3a19208f14eac0e3}{ | 
|---|
| 100 | double \textbf{J}} | 
|---|
| 101 | \label{classIMpmsm_83e4149bb70b022f3a19208f14eac0e3} | 
|---|
| 102 |  | 
|---|
| 103 | \item  | 
|---|
| 104 | \hypertarget{classIMpmsm_0aa4f9ee2b9babdc05f62ba275a9575f}{ | 
|---|
| 105 | double \textbf{Mz}} | 
|---|
| 106 | \label{classIMpmsm_0aa4f9ee2b9babdc05f62ba275a9575f} | 
|---|
| 107 |  | 
|---|
| 108 | \item  | 
|---|
| 109 | \hypertarget{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}{ | 
|---|
| 110 | RV \hyperlink{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb}{rvx}} | 
|---|
| 111 | \label{classbdm_1_1diffbifn_5f56547d8e9378b669d3cc19d7831cbb} | 
|---|
| 112 |  | 
|---|
| 113 | \begin{CompactList}\small\item\em Indentifier of the first rv. \item\end{CompactList}\item  | 
|---|
| 114 | \hypertarget{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}{ | 
|---|
| 115 | RV \hyperlink{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320}{rvu}} | 
|---|
| 116 | \label{classbdm_1_1diffbifn_a8e3e861d5ec2a7ae9524e6338e58320} | 
|---|
| 117 |  | 
|---|
| 118 | \begin{CompactList}\small\item\em Indentifier of the second rv. \item\end{CompactList}\item  | 
|---|
| 119 | \hypertarget{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}{ | 
|---|
| 120 | int \hyperlink{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e}{dimx}} | 
|---|
| 121 | \label{classbdm_1_1diffbifn_a193aa2c4a500139c0c4b669691e588e} | 
|---|
| 122 |  | 
|---|
| 123 | \begin{CompactList}\small\item\em cache for rvx.count() \item\end{CompactList}\item  | 
|---|
| 124 | \hypertarget{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}{ | 
|---|
| 125 | int \hyperlink{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0}{dimu}} | 
|---|
| 126 | \label{classbdm_1_1diffbifn_30c45617eec89adeb4ebaa763d093fb0} | 
|---|
| 127 |  | 
|---|
| 128 | \begin{CompactList}\small\item\em cache for rvu.count() \item\end{CompactList}\item  | 
|---|
| 129 | \hypertarget{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{ | 
|---|
| 130 | int \hyperlink{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62}{dimy}} | 
|---|
| 131 | \label{classbdm_1_1fnc_52156cb4a52a62d51fc7455985797a62} | 
|---|
| 132 |  | 
|---|
| 133 | \begin{CompactList}\small\item\em Length of the output vector. \item\end{CompactList}\end{CompactItemize} | 
|---|
| 134 |  | 
|---|
| 135 |  | 
|---|
| 136 | \subsection{Detailed Description} | 
|---|
| 137 | State evolution model for a PMSM drive and its derivative with respect to $x$, equation for $\omega$ is omitted.\$.  | 
|---|
| 138 |  | 
|---|
| 139 | \subsection{Member Function Documentation} | 
|---|
| 140 | \hypertarget{classIMpmsmStat_29a9c09fd328e89748d9be0801e84831}{ | 
|---|
| 141 | \index{IMpmsmStat@{IMpmsmStat}!dfdx\_\-cond@{dfdx\_\-cond}} | 
|---|
| 142 | \index{dfdx\_\-cond@{dfdx\_\-cond}!IMpmsmStat@{IMpmsmStat}} | 
|---|
| 143 | \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{]}}}} | 
|---|
| 144 | \label{classIMpmsmStat_29a9c09fd328e89748d9be0801e84831} | 
|---|
| 145 |  | 
|---|
| 146 |  | 
|---|
| 147 | Evaluates $A=\frac{d}{dx}f(x,u)|_{x0,u0}$ and writes result into {\tt A} .  | 
|---|
| 148 |  | 
|---|
| 149 | \begin{Desc} | 
|---|
| 150 | \item[Parameters:] | 
|---|
| 151 | \begin{description} | 
|---|
| 152 | \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} | 
|---|
| 153 | \end{Desc} | 
|---|
| 154 |  | 
|---|
| 155 |  | 
|---|
| 156 | Reimplemented from \hyperlink{classIMpmsm_b4378b5d3bf64c683e4cf5c5f1cd56f1}{IMpmsm}.\hypertarget{classIMpmsmStat_ff740ee20100ae2a2d03a2538638f8e8}{ | 
|---|
| 157 | \index{IMpmsmStat@{IMpmsmStat}!dfdu\_\-cond@{dfdu\_\-cond}} | 
|---|
| 158 | \index{dfdu\_\-cond@{dfdu\_\-cond}!IMpmsmStat@{IMpmsmStat}} | 
|---|
| 159 | \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{]}}}} | 
|---|
| 160 | \label{classIMpmsmStat_ff740ee20100ae2a2d03a2538638f8e8} | 
|---|
| 161 |  | 
|---|
| 162 |  | 
|---|
| 163 | Evaluates $A=\frac{d}{du}f(x,u)|_{x0,u0}$ and writes result into {\tt A} .  | 
|---|
| 164 |  | 
|---|
| 165 | \begin{Desc} | 
|---|
| 166 | \item[Parameters:] | 
|---|
| 167 | \begin{description} | 
|---|
| 168 | \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} | 
|---|
| 169 | \end{Desc} | 
|---|
| 170 |  | 
|---|
| 171 |  | 
|---|
| 172 | Reimplemented from \hyperlink{classIMpmsm_c3f8dad22ae9855c04a1d593b45c99b5}{IMpmsm}. | 
|---|
| 173 |  | 
|---|
| 174 | The documentation for this class was generated from the following file:\begin{CompactItemize} | 
|---|
| 175 | \item  | 
|---|
| 176 | work/git/mixpp/pmsm/pmsm.h\end{CompactItemize} | 
|---|