.
More...
#include <pmsm.h>
Public Member Functions | |
| void | set_parameters (double Rs0, double Ls0, double dt0, double Ypm0, double kp0, double p0, double J0, double Mz0) |
| Set mechanical and electrical variables. | |
| vec | eval (const vec &x0, const vec &u0) |
Evaluates . | |
| vec | eval2o (const vec &du) |
| eval 2nd order Taylor expansion, MUST be used only as a follow up AFTER eval()!! | |
| void | dfdx_cond (const vec &x0, const vec &u0, mat &A, bool full=true) |
Evaluates and writes result into A . | |
| void | dfdu_cond (const vec &x0, const vec &u0, mat &A, bool full=true) |
Evaluates and writes result into A . | |
| vec | eval (const vec &cond) |
Evaluates (VS: Do we really need common eval? ). | |
| int | _dimx () const |
| access function | |
| int | _dimu () const |
| access function | |
| virtual void | condition (const vec &val) |
| function substitutes given value into an appropriate position | |
| int | dimension () const |
| access function | |
Protected Attributes | |
| double | dia |
| store first derivatives for the use in second derivatives | |
| double | dib |
| double | dom |
| double | dth |
| double | d2t |
| d2t = dt^2/2, cth = cos(th), sth=sin(th) | |
| double | cth |
| double | sth |
| double | iam |
| double | ibm |
| double | omm |
| double | thm |
| double | uam |
| double | ubm |
| double | Rs |
| double | Ls |
| double | dt |
| double | Ypm |
| double | kp |
| double | p |
| double | J |
| double | Mz |
| RV | rvx |
| Indentifier of the first rv. | |
| RV | rvu |
| Indentifier of the second rv. | |
| int | dimx |
| cache for rvx.count() | |
| int | dimu |
| cache for rvu.count() | |
| int | dimy |
| Length of the output vector. | |
. | void IMpmsm2o::dfdu_cond | ( | const vec & | x0, | |
| const vec & | u0, | |||
| mat & | A, | |||
| bool | full = true | |||
| ) | [inline, virtual] |
Evaluates
and writes result into A .
| full | denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. | |
| x0 | numeric value of , | |
| u0 | numeric value of | |
| A | a place where the result will be stored. |
Reimplemented from IMpmsm.
| void IMpmsm2o::dfdx_cond | ( | const vec & | x0, | |
| const vec & | u0, | |||
| mat & | A, | |||
| bool | full = true | |||
| ) | [inline, virtual] |
Evaluates
and writes result into A .
| full | denotes that even unchanged entries are to be rewritten. When, false only the changed elements are computed. | |
| x0 | numeric value of , | |
| u0 | numeric value of | |
| A | a place where the result will be stored. |
Reimplemented from IMpmsm.
1.5.8