root/doc/html/classIMpmsmStat.html @ 261

Revision 261, 18.6 kB (checked in by smidl, 16 years ago)

doc

Line 
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: IMpmsmStat Class Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.6 -->
8<div class="navigation" id="top">
9  <div class="tabs">
10    <ul>
11      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13      <li><a href="modules.html"><span>Modules</span></a></li>
14      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
15      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
16      <li><a href="files.html"><span>Files</span></a></li>
17    </ul>
18  </div>
19  <div class="tabs">
20    <ul>
21      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
22      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
23      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
24      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
25    </ul>
26  </div>
27</div>
28<div class="contents">
29<h1>IMpmsmStat Class Reference<br>
30<small>
31[<a class="el" href="group__PMSM.html">PMSM</a>]</small>
32</h1><!-- doxytag: class="IMpmsmStat" --><!-- doxytag: inherits="IMpmsm" -->State evolution model for a PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">, equation for <img class="formulaInl" alt="$\omega$" src="form_65.png"> is omitted.$. 
33<a href="#_details">More...</a>
34<p>
35<code>#include &lt;<a class="el" href="pmsm_8h-source.html">pmsm.h</a>&gt;</code>
36<p>
37<div class="dynheader">
38Inheritance diagram for IMpmsmStat:</div>
39<div class="dynsection">
40<p><center><img src="classIMpmsmStat__inherit__graph.png" border="0" usemap="#IMpmsmStat__inherit__map" alt="Inheritance graph"></center>
41<map name="IMpmsmStat__inherit__map">
42<area shape="rect" href="classIMpmsm.html" title="State evolution model for a PMSM drive and its derivative with respect to ." alt="" coords="24,239,99,265"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="12,161,111,188"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function &#160;of variable &#160;represented by rv." alt="" coords="23,84,100,111"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"></map>
43<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
44<div class="dynheader">
45Collaboration diagram for IMpmsmStat:</div>
46<div class="dynsection">
47<p><center><img src="classIMpmsmStat__coll__graph.png" border="0" usemap="#IMpmsmStat__coll__map" alt="Collaboration graph"></center>
48<map name="IMpmsmStat__coll__map">
49<area shape="rect" href="classIMpmsm.html" title="State evolution model for a PMSM drive and its derivative with respect to ." alt="" coords="41,279,116,305"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="29,199,128,225"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function &#160;of variable &#160;represented by rv." alt="" coords="5,87,83,113"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="45,7,157,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="107,87,181,113"></map>
50<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
51
52<p>
53<a href="classIMpmsmStat-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
54<tr><td></td></tr>
55<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
56<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6379210623a2d353d42bfc87ccbd4384"></a><!-- doxytag: member="IMpmsmStat::set_parameters" ref="6379210623a2d353d42bfc87ccbd4384" args="(double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0)" -->
57void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsmStat.html#6379210623a2d353d42bfc87ccbd4384">set_parameters</a> (double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0)</td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set mechanical and electrical variables. <br></td></tr>
60<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ed3582c2c0edb0753387a82598f8d21"></a><!-- doxytag: member="IMpmsmStat::eval" ref="5ed3582c2c0edb0753387a82598f8d21" args="(const vec &amp;x0, const vec &amp;u0)" -->
61vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsmStat.html#5ed3582c2c0edb0753387a82598f8d21">eval</a> (const vec &amp;x0, const vec &amp;u0)</td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_49.png">. <br></td></tr>
64<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsmStat.html#29a9c09fd328e89748d9be0801e84831">dfdx_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> .  <a href="#29a9c09fd328e89748d9be0801e84831"></a><br></td></tr>
67<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIMpmsmStat.html#ff740ee20100ae2a2d03a2538638f8e8">dfdu_cond</a> (const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> .  <a href="#ff740ee20100ae2a2d03a2538638f8e8"></a><br></td></tr>
70<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="188f31066bd72e1bf0ddacd1eb0e6af3"></a><!-- doxytag: member="IMpmsmStat::eval" ref="188f31066bd72e1bf0ddacd1eb0e6af3" args="(const vec &amp;cond)" -->
71vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">eval</a> (const vec &amp;cond)</td></tr>
72
73<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluates <img class="formulaInl" alt="$f(x0,u0)$" src="form_49.png"> (VS: Do we really need common eval? ). <br></td></tr>
74<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1b3c8f5949f13d86d2661e191d4b369b"></a><!-- doxytag: member="IMpmsmStat::_dimx" ref="1b3c8f5949f13d86d2661e191d4b369b" args="() const " -->
75int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#1b3c8f5949f13d86d2661e191d4b369b">_dimx</a> () const </td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="031458f38c97cdb3aecde16f6a06dced"></a><!-- doxytag: member="IMpmsmStat::_dimu" ref="031458f38c97cdb3aecde16f6a06dced" args="() const " -->
79int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#031458f38c97cdb3aecde16f6a06dced">_dimu</a> () const </td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
82<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0786e40fade2663a70d654c1dda5d73e"></a><!-- doxytag: member="IMpmsmStat::condition" ref="0786e40fade2663a70d654c1dda5d73e" args="(const vec &amp;val)" -->
83virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#0786e40fade2663a70d654c1dda5d73e">condition</a> (const vec &amp;val)</td></tr>
84
85<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">function substitutes given value into an appropriate position <br></td></tr>
86<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2277a400fc9f4d6c0bf24dc7156183f"></a><!-- doxytag: member="IMpmsmStat::_dimy" ref="a2277a400fc9f4d6c0bf24dc7156183f" args="() const " -->
87int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#a2277a400fc9f4d6c0bf24dc7156183f">_dimy</a> () const </td></tr>
88
89<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
90<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
91<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5908138b6c11f32971542423978a25d3"></a><!-- doxytag: member="IMpmsmStat::Rs" ref="5908138b6c11f32971542423978a25d3" args="" -->
92double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Rs</b></td></tr>
93
94<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="829e309d689b7e148d761d36b1b62fb7"></a><!-- doxytag: member="IMpmsmStat::Ls" ref="829e309d689b7e148d761d36b1b62fb7" args="" -->
95double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Ls</b></td></tr>
96
97<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec462f3df7355cc72843c945d887b9d3"></a><!-- doxytag: member="IMpmsmStat::dt" ref="ec462f3df7355cc72843c945d887b9d3" args="" -->
98double&nbsp;</td><td class="memItemRight" valign="bottom"><b>dt</b></td></tr>
99
100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1b973c18d381e7ec717165aa306b613"></a><!-- doxytag: member="IMpmsmStat::Ypm" ref="a1b973c18d381e7ec717165aa306b613" args="" -->
101double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Ypm</b></td></tr>
102
103<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03f1857fb1910c7b06dac4ce50482516"></a><!-- doxytag: member="IMpmsmStat::kp" ref="03f1857fb1910c7b06dac4ce50482516" args="" -->
104double&nbsp;</td><td class="memItemRight" valign="bottom"><b>kp</b></td></tr>
105
106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0eddf56a8feb6b837ee3c36c0ac6b781"></a><!-- doxytag: member="IMpmsmStat::p" ref="0eddf56a8feb6b837ee3c36c0ac6b781" args="" -->
107double&nbsp;</td><td class="memItemRight" valign="bottom"><b>p</b></td></tr>
108
109<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83e4149bb70b022f3a19208f14eac0e3"></a><!-- doxytag: member="IMpmsmStat::J" ref="83e4149bb70b022f3a19208f14eac0e3" args="" -->
110double&nbsp;</td><td class="memItemRight" valign="bottom"><b>J</b></td></tr>
111
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0aa4f9ee2b9babdc05f62ba275a9575f"></a><!-- doxytag: member="IMpmsmStat::Mz" ref="0aa4f9ee2b9babdc05f62ba275a9575f" args="" -->
113double&nbsp;</td><td class="memItemRight" valign="bottom"><b>Mz</b></td></tr>
114
115<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f56547d8e9378b669d3cc19d7831cbb"></a><!-- doxytag: member="IMpmsmStat::rvx" ref="5f56547d8e9378b669d3cc19d7831cbb" args="" -->
116RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#5f56547d8e9378b669d3cc19d7831cbb">rvx</a></td></tr>
117
118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the first rv. <br></td></tr>
119<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8e3e861d5ec2a7ae9524e6338e58320"></a><!-- doxytag: member="IMpmsmStat::rvu" ref="a8e3e861d5ec2a7ae9524e6338e58320" args="" -->
120RV&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a8e3e861d5ec2a7ae9524e6338e58320">rvu</a></td></tr>
121
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indentifier of the second rv. <br></td></tr>
123<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a193aa2c4a500139c0c4b669691e588e"></a><!-- doxytag: member="IMpmsmStat::dimx" ref="a193aa2c4a500139c0c4b669691e588e" args="" -->
124int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">dimx</a></td></tr>
125
126<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvx.count() <br></td></tr>
127<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30c45617eec89adeb4ebaa763d093fb0"></a><!-- doxytag: member="IMpmsmStat::dimu" ref="30c45617eec89adeb4ebaa763d093fb0" args="" -->
128int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">dimu</a></td></tr>
129
130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache for rvu.count() <br></td></tr>
131<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="52156cb4a52a62d51fc7455985797a62"></a><!-- doxytag: member="IMpmsmStat::dimy" ref="52156cb4a52a62d51fc7455985797a62" args="" -->
132int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1fnc.html#52156cb4a52a62d51fc7455985797a62">dimy</a></td></tr>
133
134<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Length of the output vector. <br></td></tr>
135</table>
136<hr><a name="_details"></a><h2>Detailed Description</h2>
137State evolution model for a PMSM drive and its derivative with respect to <img class="formulaInl" alt="$x$" src="form_28.png">, equation for <img class="formulaInl" alt="$\omega$" src="form_65.png"> is omitted.$. <hr><h2>Member Function Documentation</h2>
138<a class="anchor" name="29a9c09fd328e89748d9be0801e84831"></a><!-- doxytag: member="IMpmsmStat::dfdx_cond" ref="29a9c09fd328e89748d9be0801e84831" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
139<div class="memitem">
140<div class="memproto">
141      <table class="memname">
142        <tr>
143          <td class="memname">void IMpmsmStat::dfdx_cond           </td>
144          <td>(</td>
145          <td class="paramtype">const vec &amp;&nbsp;</td>
146          <td class="paramname"> <em>x0</em>, </td>
147        </tr>
148        <tr>
149          <td class="paramkey"></td>
150          <td></td>
151          <td class="paramtype">const vec &amp;&nbsp;</td>
152          <td class="paramname"> <em>u0</em>, </td>
153        </tr>
154        <tr>
155          <td class="paramkey"></td>
156          <td></td>
157          <td class="paramtype">mat &amp;&nbsp;</td>
158          <td class="paramname"> <em>A</em>, </td>
159        </tr>
160        <tr>
161          <td class="paramkey"></td>
162          <td></td>
163          <td class="paramtype">bool&nbsp;</td>
164          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
165        </tr>
166        <tr>
167          <td></td>
168          <td>)</td>
169          <td></td><td></td><td><code> [inline, virtual]</code></td>
170        </tr>
171      </table>
172</div>
173<div class="memdoc">
174
175<p>
176Evaluates <img class="formulaInl" alt="$A=\frac{d}{dx}f(x,u)|_{x0,u0}$" src="form_1.png"> and writes result into <code>A</code> .
177<p>
178<dl compact><dt><b>Parameters:</b></dt><dd>
179  <table border="0" cellspacing="2" cellpadding="0">
180    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
181    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
182    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_50.png"> </td></tr>
183    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
184  </table>
185</dl>
186
187<p>Reimplemented from <a class="el" href="classIMpmsm.html#b4378b5d3bf64c683e4cf5c5f1cd56f1">IMpmsm</a>.</p>
188
189</div>
190</div><p>
191<a class="anchor" name="ff740ee20100ae2a2d03a2538638f8e8"></a><!-- doxytag: member="IMpmsmStat::dfdu_cond" ref="ff740ee20100ae2a2d03a2538638f8e8" args="(const vec &amp;x0, const vec &amp;u0, mat &amp;A, bool full=true)" -->
192<div class="memitem">
193<div class="memproto">
194      <table class="memname">
195        <tr>
196          <td class="memname">void IMpmsmStat::dfdu_cond           </td>
197          <td>(</td>
198          <td class="paramtype">const vec &amp;&nbsp;</td>
199          <td class="paramname"> <em>x0</em>, </td>
200        </tr>
201        <tr>
202          <td class="paramkey"></td>
203          <td></td>
204          <td class="paramtype">const vec &amp;&nbsp;</td>
205          <td class="paramname"> <em>u0</em>, </td>
206        </tr>
207        <tr>
208          <td class="paramkey"></td>
209          <td></td>
210          <td class="paramtype">mat &amp;&nbsp;</td>
211          <td class="paramname"> <em>A</em>, </td>
212        </tr>
213        <tr>
214          <td class="paramkey"></td>
215          <td></td>
216          <td class="paramtype">bool&nbsp;</td>
217          <td class="paramname"> <em>full</em> = <code>true</code></td><td>&nbsp;</td>
218        </tr>
219        <tr>
220          <td></td>
221          <td>)</td>
222          <td></td><td></td><td><code> [inline, virtual]</code></td>
223        </tr>
224      </table>
225</div>
226<div class="memdoc">
227
228<p>
229Evaluates <img class="formulaInl" alt="$A=\frac{d}{du}f(x,u)|_{x0,u0}$" src="form_2.png"> and writes result into <code>A</code> .
230<p>
231<dl compact><dt><b>Parameters:</b></dt><dd>
232  <table border="0" cellspacing="2" cellpadding="0">
233    <tr><td valign="top"></td><td valign="top"><em>full</em>&nbsp;</td><td>denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. </td></tr>
234    <tr><td valign="top"></td><td valign="top"><em>x0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$x$" src="form_28.png">, </td></tr>
235    <tr><td valign="top"></td><td valign="top"><em>u0</em>&nbsp;</td><td>numeric value of <img class="formulaInl" alt="$u$" src="form_50.png"> </td></tr>
236    <tr><td valign="top"></td><td valign="top"><em>A</em>&nbsp;</td><td>a place where the result will be stored. </td></tr>
237  </table>
238</dl>
239
240<p>Reimplemented from <a class="el" href="classIMpmsm.html#c3f8dad22ae9855c04a1d593b45c99b5">IMpmsm</a>.</p>
241
242</div>
243</div><p>
244<hr>The documentation for this class was generated from the following file:<ul>
245<li><a class="el" href="pmsm_8h-source.html">pmsm.h</a></ul>
246</div>
247<hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 12:16:59 2009 for mixpp by&nbsp;
248<a href="http://www.doxygen.org/index.html">
249<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
250</body>
251</html>
Note: See TracBrowser for help on using the browser.