<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6">
  <compounddef id="simulator_8h" kind="file">
    <compoundname>simulator.h</compoundname>
    <includedby refid="pmsm__mix_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_mix.cpp</includedby>
    <includedby refid="pmsm__sim_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_sim.cpp</includedby>
    <includedby refid="pmsm__sim2_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_sim2.cpp</includedby>
    <includedby refid="pmsm__sim3_8cpp" local="yes">work/git/mixpp/pmsm/pmsm_sim3.cpp</includedby>
    <includedby refid="sim__var_8cpp" local="yes">work/git/mixpp/pmsm/sim_var.cpp</includedby>
    <includedby refid="ekf__obj_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/ekf_example/ekf_obj.cpp</includedby>
    <includedby refid="simulator_8cpp" local="yes">work/git/mixpp/pmsm/simulator_zdenek/simulator.cpp</includedby>
    <invincdepgraph>
      <node id="709">
        <label>work/git/mixpp/pmsm/simulator_zdenek/simulator.h</label>
        <link refid="simulator.h"/>
        <childnode refid="710" relation="include">
        </childnode>
        <childnode refid="711" relation="include">
        </childnode>
      </node>
      <node id="711">
        <label>work/git/mixpp/pmsm/sim_var.cpp</label>
        <link refid="sim__var_8cpp"/>
      </node>
      <node id="710">
        <label>work/git/mixpp/pmsm/pmsm_mix.cpp</label>
        <link refid="pmsm__mix_8cpp"/>
      </node>
    </invincdepgraph>
      <sectiondef kind="define">
      <memberdef kind="define" id="simulator_8h_1e71449b1cc6e6250b91f539153a7a0d3" prot="public" static="no">
        <name>M_PI</name>
        <initializer>3.14159265358979323846</initializer>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="15" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" bodystart="15" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="var">
      <memberdef kind="variable" id="simulator_8h_1ef96d7e2af821e8829d40ed1d8b0901d" prot="public" static="no" mutable="no">
        <type>double</type>
        <definition>double x[9]</definition>
        <argsstring>[9]</argsstring>
        <name>x</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="22" bodyfile="/home/smidl/work/git/mixpp/matlab/mex/ill_polyfit.m" bodystart="2" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="simulator_8h_187accd1af8e0aff4b818d891374f7cec" prot="public" static="no" mutable="no">
        <type>double</type>
        <definition>double t</definition>
        <argsstring></argsstring>
        <name>t</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="23" bodyfile="/home/smidl/work/git/mixpp/matlab/testKF.m" bodystart="50" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="simulator_8h_1f053457859f34ead8e8aee6e370743ac" prot="public" static="no" mutable="no">
        <type>double</type>
        <definition>double KalmanObs[10]</definition>
        <argsstring>[10]</argsstring>
        <name>KalmanObs</name>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="24" bodyfile="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.cpp" bodystart="71" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="func">
      <memberdef kind="function" id="simulator_8h_148bbddff535c313ce90ca6350372f6d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void pmsmsim_set_parameters</definition>
        <argsstring>(double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0)</argsstring>
        <name>pmsmsim_set_parameters</name>
        <param>
          <type>double</type>
          <declname>Rs0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>Ls0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>Fmag0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>Bf0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>p0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>kp0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>J0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>Uc0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>DT0</declname>
        </param>
        <param>
          <type>double</type>
          <declname>dt0</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="19"/>
      </memberdef>
      <memberdef kind="function" id="simulator_8h_1cdadda61be3f910910ac31cf4a3c1785" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void pmsmsim_step</definition>
        <argsstring>(double Ww)</argsstring>
        <name>pmsmsim_step</name>
        <param>
          <type>double</type>
          <declname>Ww</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h" line="20"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1"><highlight class="comment">/*</highlight></codeline>
<codeline lineno="2"><highlight class="comment"><sp/><sp/><sp/>Simulator<sp/>of<sp/>Vector<sp/>Controlled<sp/>PMSM<sp/>Drive</highlight></codeline>
<codeline lineno="3"><highlight class="comment"></highlight></codeline>
<codeline lineno="4"><highlight class="comment"><sp/><sp/><sp/>This<sp/>module<sp/>is<sp/>background<sp/>for<sp/>PMSM<sp/>drive<sp/>object<sp/>design<sp/>and</highlight></codeline>
<codeline lineno="5"><highlight class="comment"><sp/><sp/><sp/>introduces<sp/>basic<sp/>functions<sp/>...<sp/>set_parameters()<sp/>and<sp/>eval().</highlight></codeline>
<codeline lineno="6"><highlight class="comment"></highlight></codeline>
<codeline lineno="7"><highlight class="comment"><sp/><sp/><sp/>Z.<sp/>Peroutka</highlight></codeline>
<codeline lineno="8"><highlight class="comment"></highlight></codeline>
<codeline lineno="9"><highlight class="comment">Rev.<sp/>16.3.2008</highlight></codeline>
<codeline lineno="10"><highlight class="comment"></highlight></codeline>
<codeline lineno="11"><highlight class="comment">*/</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="12"><highlight class="normal"></highlight></codeline>
<codeline lineno="13"><highlight class="normal"></highlight><highlight class="comment">//<sp/>resi<sp/>problem<sp/>s<sp/>M_PI<sp/>ve<sp/>VC8</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="14"><highlight class="normal"></highlight><highlight class="preprocessor">#ifndef<sp/>M_PI</highlight></codeline>
<codeline lineno="15"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#define<sp/>M_PI<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>3.14159265358979323846</highlight></codeline>
<codeline lineno="16"><highlight class="preprocessor"></highlight><highlight class="preprocessor">#endif</highlight></codeline>
<codeline lineno="17"><highlight class="preprocessor"></highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="18"><highlight class="normal"></highlight></codeline>
<codeline lineno="19"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pmsmsim_set_parameters(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Rs0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ls0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Fmag0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Bf0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>p0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>kp0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>J0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Uc0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>DT0,<sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>dt0);</highlight></codeline>
<codeline lineno="20"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/>pmsmsim_step(</highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>Ww);</highlight></codeline>
<codeline lineno="21"><highlight class="normal"></highlight></codeline>
<codeline lineno="22"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>x[9];<sp/></highlight></codeline>
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>t;<sp/></highlight></codeline>
<codeline lineno="24"><highlight class="normal"></highlight><highlight class="keyword">extern</highlight><highlight class="normal"><sp/></highlight><highlight class="keywordtype">double</highlight><highlight class="normal"><sp/>KalmanObs[10];</highlight></codeline>
    </programlisting>
    <location file="/home/smidl/work/git/mixpp/pmsm/simulator_zdenek/simulator.h"/>
  </compounddef>
</doxygen>
