// settings for pmsm_estim.cpp

experiment={
	ndat = 8000;
};

system= {
	type = "ITppFileDS";
	filename = "tec0009ALL.it";
	varname="D";
	rv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];};  // observed u
};

estimator = (
	 {type="EKF";
	 IM = {type="pmsmIM";
		params = {type = "external";filename = "../cfg/zcu.cfg";path = "pmsm107";};
		variant = "Mz";
	 };
	 OM = {type="pmsmOM";};
//	 dQ=[0.017, 0.017, 0.00000004, 1e-14, 1e-30];
	 dQ=[0.017, 0.017, 0.00000007, 1e-14, 1e-3];
	 dR=[0.025, 0.025];
	 dP0=[1., 1., 1., 10., 1e-10];
	 mu0=[1., 1., 1., 2.4, 1e-10];
	 //connect
	 drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];};  // observed u
	 //drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];}; // true u
	 rv = {type="rv"; names=["EKFMz"]; sizes=[5];};
	 options="logll,logbounds";
	 }
);
	
logger= {
	type="itpplog";
	maxlen = 8000;
	filename = "real.it";
};
