# settings for sim.cpp

experiment={
	ndat = 9000;
};

system= {
	type = "stateDS";
	IM = {type="mprod";
	mpdfs=(
		   {type="mgnorm"; 
		   g={type="pmsmIM"; 
			   params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";};
		   };
		   dR=
		   }} 
		  );
	}
	tstep = 1.0; // steps for profile in [s]
	profile = [1, 5, 0, -3, 8];
	opt = "u";
};

estimator = (
			 {type="EKF";
			 IM = {type="pmsmIM";
				params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";};
			 };
			 OM = {type="pmsmOM";};
			 dQ=[62., 66., 44., 0.03];
			 dR=[100, 100];
			 //connect
			 drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];};
			 rv = {type="rv"; names=["EKF"]; sizes=[4];};
			 }
);
	
logger= {
	type="dirfilelog";
	maxlen = 1000;
	dirname = "exp/sim";
};
