pmsmDS Class Reference

Simulator of PMSM machine with predefined profile on omega. More...

#include <pmsmDS.h>

Inheritance diagram for pmsmDS:

Inheritance graph
[legend]
Collaboration diagram for pmsmDS:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 pmsmDS (int Dt0)
void set_parameters (double Rs0, double Ls0, double Fmag0, double Bf0, double p0, double kp0, double J0, double Uc0, double DT0, double dt0)
void getdata (vec &dt)
 Returns full vector of observed data.
void write (vec &ut)
 Accepts action variable and schedule it for application.
void step ()
 Moves from $t$ to $t+1$, i.e. perfroms the actions and reads response of the system.
void log_add (logger &L)
void logit (logger &L)
void set_profile (double dt, const vec &Ww)
void getdata (vec &dt, ivec &indeces)
 Returns data records at indeces.
void write (vec &ut, ivec &indeces)
 Accepts action variables at specific indeces.
void linkrvs (RV &drv, RV &urv)
 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.

Protected Attributes

int L_x
 indeces of logged variables
int L_ou
int L_oy
int L_iu
vec profileWw
 Setpoints of omega in timespans given by dt_prof.
double dt_prof
 time-step for profiles
int Dt
 Number of miliseconds per discrete time step.
RV Drv
 Observed variables, returned by getdata().
RV Urv
 Action variables, accepted by write().


Detailed Description

Simulator of PMSM machine with predefined profile on omega.

Member Function Documentation

void bdm::DS::linkrvs ( RV drv,
RV urv 
) [inherited]

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.

(Inherited from m3k, may be deprecated soon).

Reimplemented in bdm::MemDS.


The documentation for this class was generated from the following file:

Generated on Tue Jan 27 16:30:35 2009 for mixpp by  doxygen 1.5.6