Changeset 1306
- Timestamp:
- 03/23/11 22:52:02 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/simulator.cpp
r1294 r1306 485 485 pmsm_model(5); 486 486 487 // TODO - check ZP 487 488 double Umk=*u*Uc/Ucn;// !!!! 489 ualfa=Umk*cos(*(u+1)); // usx = usa 490 ub=Umk*cos(*(u+1)-2./3.*M_PI); 491 ubeta=(ualfa+2.*ub)/sqrt(3.); // usy 492 488 493 489 494 // KalmanObs[0]=Umk*cos(*(u+1)); // usx = usa 490 495 // KalmanObs[1]=(KalmanObs[0]+2.*ub)/sqrt(3.); // usy 491 496 492 KalmanObs[0]=ua ;//Umk*cos(*(u+1)); // usx = usa493 KalmanObs[1]=ub ;//(KalmanObs[0]+2.*Umk*cos(*(u+1)-2./3.*M_PI))/sqrt(3.); // usy497 KalmanObs[0]=ualfa;//Umk*cos(*(u+1)); // usx = usa 498 KalmanObs[1]=ubeta;//(KalmanObs[0]+2.*Umk*cos(*(u+1)-2./3.*M_PI))/sqrt(3.); // usy 494 499 495 500 KalmanObs[2]=x[0];