Changeset 280 for doc/html/classpmsmDS.html
- Timestamp:
- 02/24/09 14:12:46 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/html/classpmsmDS.html
r261 r280 6 6 </head><body> 7 7 <!-- Generated by Doxygen 1.5.6 --> 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> 8 49 <div class="navigation" id="top"> 9 50 <div class="tabs"> 10 51 <ul> 11 <li><a href=" index.html"><span>Main Page</span></a></li>52 <li><a href="main.html"><span>Main Page</span></a></li> 12 53 <li><a href="pages.html"><span>Related Pages</span></a></li> 13 54 <li><a href="modules.html"><span>Modules</span></a></li> 14 <li><a href="namespaces.html"><span>Namespaces</span></a></li>15 55 <li class="current"><a href="classes.html"><span>Classes</span></a></li> 16 56 <li><a href="files.html"><span>Files</span></a></li> … … 27 67 </div> 28 68 <div class="contents"> 29 <h1>pmsmDS Class Reference</h1><!-- doxytag: class="pmsmDS" --><!-- doxytag: inherits="bdm::DS" -->Simulator of PMSM machine with predefined profile on omega. 30 <a href="#_details">More...</a> 31 <p> 32 <code>#include <<a class="el" href="pmsmDS_8h-source.html">pmsmDS.h</a>></code> 69 <h1>pmsmDS Class Reference</h1><!-- doxytag: class="pmsmDS" --><!-- doxytag: inherits="bdm::DS" --><code>#include <<a class="el" href="pmsmDS_8h-source.html">pmsmDS.h</a>></code> 33 70 <p> 34 71 <div class="dynheader"> 35 72 Inheritance diagram for pmsmDS:</div> 36 73 <div class="dynsection"> 37 <p><center><img src="classpmsmDS__inherit__graph.png" border="0" usemap="#pmsmDS__inherit__map" alt="Inheritance graph"></center> 38 <map name="pmsmDS__inherit__map"> 39 <area shape="rect" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data." 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> 40 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 41 <div class="dynheader"> 42 Collaboration diagram for pmsmDS:</div> 43 <div class="dynsection"> 44 <p><center><img src="classpmsmDS__coll__graph.png" border="0" usemap="#pmsmDS__coll__map" alt="Collaboration graph"></center> 45 <map name="pmsmDS__coll__map"> 46 <area shape="rect" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data." alt="" coords="17,199,95,225"><area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,7,117,33"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="72,87,147,113"></map> 47 <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> 74 75 <p><center><img src="classpmsmDS.png" usemap="#pmsmDS_map" border="0" alt=""></center> 76 <map name="pmsmDS_map"> 77 <area href="classbdm_1_1DS.html" alt="bdm::DS" shape="rect" coords="0,56,86,80"> 78 <area href="classbdm_1_1bdmroot.html" alt="bdm::bdmroot" shape="rect" coords="0,0,86,24"> 79 </map> 80 </div> 48 81 49 82 <p> 50 <a href="classpmsmDS-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 83 <a href="classpmsmDS-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 84 Simulator of PMSM machine with predefined profile on omega. <table border="0" cellpadding="0" cellspacing="0"> 51 85 <tr><td></td></tr> 52 86 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> … … 61 95 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmDS.html#4e47e678eb56e0b3bd47d801d0995e46">getdata</a> (vec &dt)</td></tr> 62 96 63 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data . <br></td></tr>97 <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns full vector of observed data=[output, input]. <br></td></tr> 64 98 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e9a2b9d82bd1b71d66778021d1e8b4"></a><!-- doxytag: member="pmsmDS::write" ref="35e9a2b9d82bd1b71d66778021d1e8b4" args="(vec &ut)" --> 65 99 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmDS.html#35e9a2b9d82bd1b71d66778021d1e8b4">write</a> (vec &ut)</td></tr> … … 69 103 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmDS.html#664fc8deff7c141ee7ab826a9abb387b">step</a> ()</td></tr> 70 104 71 <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t$" src="form_38.png"> to <img class="formulaInl" alt="$t+1$" src="form_39.png">, i.e. perfroms the actions and reads response of the system. <br></td></tr>105 <tr><td class="mdescLeft"> </td><td class="mdescRight">Moves from <img class="formulaInl" alt="$ t $" src="form_47.png"> to <img class="formulaInl" alt="$ t+1 $" src="form_48.png">, i.e. perfroms the actions and reads response of the system. <br></td></tr> 72 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d75b83468db25c56977ffccff46b0b37"></a><!-- doxytag: member="pmsmDS::log_add" ref="d75b83468db25c56977ffccff46b0b37" args="(logger &L)" --> 73 void </td><td class="memItemRight" valign="bottom"><b>log_add</b> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> 74 107 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmDS.html#d75b83468db25c56977ffccff46b0b37">log_add</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> 108 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">Register DS for logging into logger L. <br></td></tr> 75 110 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="21cac6deaac2dd073c982d7bec839b47"></a><!-- doxytag: member="pmsmDS::logit" ref="21cac6deaac2dd073c982d7bec839b47" args="(logger &L)" --> 76 void </td><td class="memItemRight" valign="bottom"><b>logit</b> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> 77 111 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmDS.html#21cac6deaac2dd073c982d7bec839b47">logit</a> (<a class="el" href="classbdm_1_1logger.html">logger</a> &L)</td></tr> 112 113 <tr><td class="mdescLeft"> </td><td class="mdescRight">Register DS for logging into logger L. <br></td></tr> 78 114 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="60d213a13fd9c3b4ac9e8202ca5d772e"></a><!-- doxytag: member="pmsmDS::set_profile" ref="60d213a13fd9c3b4ac9e8202ca5d772e" args="(double dt, const vec &Ww)" --> 79 115 void </td><td class="memItemRight" valign="bottom"><b>set_profile</b> (double dt, const vec &Ww)</td></tr> … … 87 123 88 124 <tr><td class="mdescLeft"> </td><td class="mdescRight">Accepts action variables at specific indeces. <br></td></tr> 89 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d41210a809d312621ab2c0b1ed3bfc1a">linkrvs</a> (RV &drv, RV &urv)</td></tr> 90 91 <tr><td class="mdescLeft"> </td><td class="mdescRight">Method that assigns random variables to the datasource. Typically, the datasource will be constructed without knowledge of random variables. This method will associate existing variables with RVs. <a href="#d41210a809d312621ab2c0b1ed3bfc1a"></a><br></td></tr> 125 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed2113851294ed96abe60fc3f05aa660"></a><!-- doxytag: member="pmsmDS::_drv" ref="ed2113851294ed96abe60fc3f05aa660" args="() const " --> 126 virtual RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#ed2113851294ed96abe60fc3f05aa660">_drv</a> () const </td></tr> 127 128 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 129 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6a9a375da64c82fc227bda3418a1f33"></a><!-- doxytag: member="pmsmDS::_urv" ref="a6a9a375da64c82fc227bda3418a1f33" args="() const " --> 130 const RV & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">_urv</a> () const </td></tr> 131 132 <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> 92 133 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 93 134 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3975e648cc981a550997df8120e176f7"></a><!-- doxytag: member="pmsmDS::L_x" ref="3975e648cc981a550997df8120e176f7" args="" --> … … 121 162 <tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classpmsmDS.html#d410b9ca1a362e50a0833ae67803b7ee">opt</a></td></tr> 122 163 164 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f96cae44624e79638a91ec4f2c7c81a9"></a><!-- doxytag: member="pmsmDS::dtsize" ref="f96cae44624e79638a91ec4f2c7c81a9" args="" --> 165 int </td><td class="memItemRight" valign="bottom"><b>dtsize</b></td></tr> 166 167 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d7467046a0bd05bc992cc5e1bdedb983"></a><!-- doxytag: member="pmsmDS::utsize" ref="d7467046a0bd05bc992cc5e1bdedb983" args="" --> 168 int </td><td class="memItemRight" valign="bottom"><b>utsize</b></td></tr> 169 123 170 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8db125ac35f3b8eeb773fc9a4cb45ec"></a><!-- doxytag: member="pmsmDS::Drv" ref="d8db125ac35f3b8eeb773fc9a4cb45ec" args="" --> 124 171 RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#d8db125ac35f3b8eeb773fc9a4cb45ec">Drv</a></td></tr> 125 172 126 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Observed variables, returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data.">getdata()</a></code>. <br></td></tr>173 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data returned by <code><a class="el" href="classbdm_1_1DS.html#c1ec862dec7164fee3284c6f9a51b0ba" title="Returns full vector of observed data=[output, input].">getdata()</a></code>. <br></td></tr> 127 174 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ac5970128fd39f4f6226723cd1de702"></a><!-- doxytag: member="pmsmDS::Urv" ref="9ac5970128fd39f4f6226723cd1de702" args="" --> 128 175 RV </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#9ac5970128fd39f4f6226723cd1de702">Urv</a></td></tr> 129 176 130 <tr><td class="mdescLeft"> </td><td class="mdescRight">Action variables, accepted by <code><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr> 177 <tr><td class="mdescLeft"> </td><td class="mdescRight">Description of data witten by by <code><a class="el" href="classbdm_1_1DS.html#f5baeee8528e5e4c5c7a344b2e3f192a" title="Accepts action variable and schedule it for application.">write()</a></code>. <br></td></tr> 178 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4b7bdb9d98a11ab587aa0ad803bb867"></a><!-- doxytag: member="pmsmDS::L_dt" ref="b4b7bdb9d98a11ab587aa0ad803bb867" args="" --> 179 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html#b4b7bdb9d98a11ab587aa0ad803bb867">L_dt</a></td></tr> 180 181 <tr><td class="mdescLeft"> </td><td class="mdescRight">Remember its own index in Logger L. <br></td></tr> 182 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b56b74ec21485846ccfad461f33b0e7a"></a><!-- doxytag: member="pmsmDS::L_ut" ref="b56b74ec21485846ccfad461f33b0e7a" args="" --> 183 int </td><td class="memItemRight" valign="bottom"><b>L_ut</b></td></tr> 184 131 185 </table> 132 <hr><a name="_details"></a><h2>Detailed Description</h2>133 Simulator of PMSM machine with predefined profile on omega. <hr><h2>Member Function Documentation</h2>134 <a class="anchor" name="d41210a809d312621ab2c0b1ed3bfc1a"></a><!-- doxytag: member="pmsmDS::linkrvs" ref="d41210a809d312621ab2c0b1ed3bfc1a" args="(RV &drv, RV &urv)" -->135 <div class="memitem">136 <div class="memproto">137 <table class="memname">138 <tr>139 <td class="memname">virtual void bdm::DS::linkrvs </td>140 <td>(</td>141 <td class="paramtype"><a class="el" href="classbdm_1_1RV.html">RV</a> & </td>142 <td class="paramname"> <em>drv</em>, </td>143 </tr>144 <tr>145 <td class="paramkey"></td>146 <td></td>147 <td class="paramtype"><a class="el" href="classbdm_1_1RV.html">RV</a> & </td>148 <td class="paramname"> <em>urv</em></td><td> </td>149 </tr>150 <tr>151 <td></td>152 <td>)</td>153 <td></td><td></td><td><code> [virtual, inherited]</code></td>154 </tr>155 </table>156 </div>157 <div class="memdoc">158 159 <p>160 Method that assigns random variables to the datasource. Typically, the datasource will be constructed without knowledge of random variables. This method will associate existing variables with RVs.161 <p>162 (Inherited from m3k, may be deprecated soon).163 <p>Reimplemented in <a class="el" href="classbdm_1_1MemDS.html#5f72b555e0e4a61de1440c457cf57007">bdm::MemDS</a>.</p>164 165 </div>166 </div><p>167 186 <hr><h2>Member Data Documentation</h2> 168 187 <a class="anchor" name="d410b9ca1a362e50a0833ae67803b7ee"></a><!-- doxytag: member="pmsmDS::opt" ref="d410b9ca1a362e50a0833ae67803b7ee" args="" --> … … 179 198 <p> 180 199 options for logging, string in which each character has a meaning: <code>u</code> - log predictions of 'true' voltage 200 <p>Referenced by <a class="el" href="pmsmDS_8h-source.html#l00065">log_add()</a>, and <a class="el" href="pmsmDS_8h-source.html#l00076">logit()</a>.</p> 201 181 202 </div> 182 203 </div><p> … … 184 205 <li><a class="el" href="pmsmDS_8h-source.html">pmsmDS.h</a></ul> 185 206 </div> 186 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Feb 6 12:17:002009 for mixpp by 207 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Feb 18 17:38:54 2009 for mixpp by 187 208 <a href="http://www.doxygen.org/index.html"> 188 209 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>