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