Changeset 42 for tests/pmsm.h
- Timestamp:
- 03/19/08 15:33:43 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/pmsm.h
r33 r42 33 33 xk ( 2 ) = omm + kp*p*p * Ypm/J*dt* ( ibm * cos ( thm )-iam * sin ( thm ) ) - p/J*dt*Mz; 34 34 //th 35 xk ( 3 ) = rem(thm + omm*dt, 2*pi);35 xk ( 3 ) = rem(thm + omm*dt,pi); //or 2*pi? 36 36 return xk; 37 37 }