# settings for sim.cpp

experiment={
	ndat = 90000;
};

system= {
	class = "pmsmDS";
	params = "pmsm107@zcu.cfg";
	tstep = 1.0; // steps for profile in [s]
	profileW = [1, 5, 0, -3, 0, 0, 0, 1, 0, 0 ];
	opt = "u";
};

estimator = (
	 {class="EKFfull";
		IM = {class="IMpmsm";
			params = "pmsm107@cfg/zcu.cfg";
		};
		OM = {class="OMpmsm";};
		dQ=[0.17, 0.17, 0.0000004, 1e-11];
		dR=[0.0006, 0.0006];
		//connect
		drv = {class="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 = {class="RV"; names=("EKF"); sizes=[4];};
		options = "logbounds";
	 }                                       
);
	
logger= {
	class="dirfilelog";
	maxlen = 1000;
	dirname = "kst/sim";
};
