1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: OMpmsm Class Reference</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
65 | </ul> |
---|
66 | </div> |
---|
67 | </div> |
---|
68 | <div class="contents"> |
---|
69 | <h1>OMpmsm Class Reference<br> |
---|
70 | <small> |
---|
71 | [<a class="el" href="group__PMSM.html">PMSM</a>]</small> |
---|
72 | </h1><!-- doxytag: class="OMpmsm" --><!-- doxytag: inherits="bdm::diffbifn" -->Observation model for PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">. |
---|
73 | <a href="#_details">More...</a> |
---|
74 | <p> |
---|
75 | <code>#include <<a class="el" href="pmsm_8h-source.html">pmsm.h</a>></code> |
---|
76 | <p> |
---|
77 | |
---|
78 | <p> |
---|
79 | <a href="classOMpmsm-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
80 | <tr><td></td></tr> |
---|
81 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e32392c9c635584606287b8c0e8c9da"></a><!-- doxytag: member="OMpmsm::eval" ref="8e32392c9c635584606287b8c0e8c9da" args="(const vec &x0, const vec &u0)" --> |
---|
83 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classOMpmsm.html#8e32392c9c635584606287b8c0e8c9da">eval</a> (const vec &x0, const vec &u0)</td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_83.png">. <br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOMpmsm.html#b75b5fd55b2ac5ed74b5b953af122821">dfdx_cond</a> (const vec &x0, const vec &u0, mat &A, bool full=true)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_84.png"> and writes result into <code>A</code> . <a href="#b75b5fd55b2ac5ed74b5b953af122821"></a><br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="OMpmsm::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &cond)" --> |
---|
90 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &cond)</td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_83.png"> (VS: Do we really need common eval? ). <br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">dfdu_cond</a> (const vec &x0, const vec &u0, mat &A, bool full=true)</td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_86.png"> and writes result into <code>A</code> . <a href="#6ea1dc7a482601b29c5ba36a52d20d07"></a><br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="OMpmsm::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " --> |
---|
97 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr> |
---|
98 | |
---|
99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="OMpmsm::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " --> |
---|
101 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr> |
---|
102 | |
---|
103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="OMpmsm::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &val)" --> |
---|
105 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &val)</td></tr> |
---|
106 | |
---|
107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr> |
---|
108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="083832294da9d1e40804158b979c4341"></a><!-- doxytag: member="OMpmsm::dimension" ref="083832294da9d1e40804158b979c4341" args="() const " --> |
---|
109 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341">dimension</a> () const </td></tr> |
---|
110 | |
---|
111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
112 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="OMpmsm::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" --> |
---|
114 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr> |
---|
115 | |
---|
116 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the first rv. <br></td></tr> |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="OMpmsm::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" --> |
---|
118 | RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr> |
---|
119 | |
---|
120 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Indentifier of the second rv. <br></td></tr> |
---|
121 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="OMpmsm::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" --> |
---|
122 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvx.count() <br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="OMpmsm::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" --> |
---|
126 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr> |
---|
127 | |
---|
128 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache for rvu.count() <br></td></tr> |
---|
129 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="OMpmsm::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" --> |
---|
130 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr> |
---|
131 | |
---|
132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Length of the output vector. <br></td></tr> |
---|
133 | </table> |
---|
134 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
135 | Observation model for PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">. <hr><h2>Member Function Documentation</h2> |
---|
136 | <a class="anchor" name="6ea1dc7a482601b29c5ba36a52d20d07"></a><!-- doxytag: member="OMpmsm::dfdu_cond" ref="6ea1dc7a482601b29c5ba36a52d20d07" args="(const vec &x0, const vec &u0, mat &A, bool full=true)" --> |
---|
137 | <div class="memitem"> |
---|
138 | <div class="memproto"> |
---|
139 | <table class="memname"> |
---|
140 | <tr> |
---|
141 | <td class="memname">virtual void bdm::diffbifn::dfdu_cond </td> |
---|
142 | <td>(</td> |
---|
143 | <td class="paramtype">const vec & </td> |
---|
144 | <td class="paramname"> <em>x0</em>, </td> |
---|
145 | </tr> |
---|
146 | <tr> |
---|
147 | <td class="paramkey"></td> |
---|
148 | <td></td> |
---|
149 | <td class="paramtype">const vec & </td> |
---|
150 | <td class="paramname"> <em>u0</em>, </td> |
---|
151 | </tr> |
---|
152 | <tr> |
---|
153 | <td class="paramkey"></td> |
---|
154 | <td></td> |
---|
155 | <td class="paramtype">mat & </td> |
---|
156 | <td class="paramname"> <em>A</em>, </td> |
---|
157 | </tr> |
---|
158 | <tr> |
---|
159 | <td class="paramkey"></td> |
---|
160 | <td></td> |
---|
161 | <td class="paramtype">bool </td> |
---|
162 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </td> |
---|
163 | </tr> |
---|
164 | <tr> |
---|
165 | <td></td> |
---|
166 | <td>)</td> |
---|
167 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> |
---|
168 | </tr> |
---|
169 | </table> |
---|
170 | </div> |
---|
171 | <div class="memdoc"> |
---|
172 | |
---|
173 | <p> |
---|
174 | Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_86.png"> and writes result into <code>A</code> . |
---|
175 | <p> |
---|
176 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
177 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
178 | <tr><td valign="top"></td><td valign="top"><em>full</em> </td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr> |
---|
179 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr> |
---|
180 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_85.png"> </td></tr> |
---|
181 | <tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>a place where the result will be stored. </td></tr> |
---|
182 | </table> |
---|
183 | </dl> |
---|
184 | |
---|
185 | <p>Reimplemented in <a class="el" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">bdm::bilinfn</a>, <a class="el" href="classIMpmsm.html#c3f8dad22ae9855c04a1d593b45c99b5">IMpmsm</a>, <a class="el" href="classIMpmsm2o.html#27f9d89bce832056f747d985df77a726">IMpmsm2o</a>, and <a class="el" href="classIMpmsmStat.html#ff740ee20100ae2a2d03a2538638f8e8">IMpmsmStat</a>.</p> |
---|
186 | |
---|
187 | </div> |
---|
188 | </div><p> |
---|
189 | <a class="anchor" name="b75b5fd55b2ac5ed74b5b953af122821"></a><!-- doxytag: member="OMpmsm::dfdx_cond" ref="b75b5fd55b2ac5ed74b5b953af122821" args="(const vec &x0, const vec &u0, mat &A, bool full=true)" --> |
---|
190 | <div class="memitem"> |
---|
191 | <div class="memproto"> |
---|
192 | <table class="memname"> |
---|
193 | <tr> |
---|
194 | <td class="memname">void OMpmsm::dfdx_cond </td> |
---|
195 | <td>(</td> |
---|
196 | <td class="paramtype">const vec & </td> |
---|
197 | <td class="paramname"> <em>x0</em>, </td> |
---|
198 | </tr> |
---|
199 | <tr> |
---|
200 | <td class="paramkey"></td> |
---|
201 | <td></td> |
---|
202 | <td class="paramtype">const vec & </td> |
---|
203 | <td class="paramname"> <em>u0</em>, </td> |
---|
204 | </tr> |
---|
205 | <tr> |
---|
206 | <td class="paramkey"></td> |
---|
207 | <td></td> |
---|
208 | <td class="paramtype">mat & </td> |
---|
209 | <td class="paramname"> <em>A</em>, </td> |
---|
210 | </tr> |
---|
211 | <tr> |
---|
212 | <td class="paramkey"></td> |
---|
213 | <td></td> |
---|
214 | <td class="paramtype">bool </td> |
---|
215 | <td class="paramname"> <em>full</em> = <code>true</code></td><td> </td> |
---|
216 | </tr> |
---|
217 | <tr> |
---|
218 | <td></td> |
---|
219 | <td>)</td> |
---|
220 | <td></td><td></td><td><code> [inline, virtual]</code></td> |
---|
221 | </tr> |
---|
222 | </table> |
---|
223 | </div> |
---|
224 | <div class="memdoc"> |
---|
225 | |
---|
226 | <p> |
---|
227 | Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_84.png"> and writes result into <code>A</code> . |
---|
228 | <p> |
---|
229 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
230 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
231 | <tr><td valign="top"></td><td valign="top"><em>full</em> </td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr> |
---|
232 | <tr><td valign="top"></td><td valign="top"><em>x0</em> </td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr> |
---|
233 | <tr><td valign="top"></td><td valign="top"><em>u0</em> </td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_85.png"> </td></tr> |
---|
234 | <tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>a place where the result will be stored. </td></tr> |
---|
235 | </table> |
---|
236 | </dl> |
---|
237 | |
---|
238 | <p>Reimplemented from <a class="el" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a>.</p> |
---|
239 | |
---|
240 | </div> |
---|
241 | </div><p> |
---|
242 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
243 | <li><a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul> |
---|
244 | </div> |
---|
245 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 17 13:52:06 2009 for mixpp by |
---|
246 | <a href="http://www.doxygen.org/index.html"> |
---|
247 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
248 | </body> |
---|
249 | </html> |
---|