#include
#include "pmsm.h"
using namespace bdm;
//These lines are needed for use of cout and endl
using std::cout;
using std::endl;
int main()
{
vec x0 = "1 2 10 0";
vec u0 = "1 1";
double h=1e-6;
IMpmsmDQ I;
I.set_parameters ( 0.28, 0.003465, 0.003, h, 0.1989, 1.5 ,4.0, 0.04, 0.0 );
vec x(x0); x(0) += h;
cout << I.eval(x,u0) << ", " << I.eval(x0,u0) <