Revision 295, 0.7 kB
(checked in by smidl, 16 years ago)
|
new files
|
Line | |
---|
1 | # settings for sim.cpp |
---|
2 | |
---|
3 | experiment={ |
---|
4 | ndat = 90000; |
---|
5 | }; |
---|
6 | |
---|
7 | system= { |
---|
8 | type = "pmsmDS"; |
---|
9 | params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";}; |
---|
10 | tstep = 1.0; // steps for profile in [s] |
---|
11 | profile = [1, 5, 0, -3, 8]; |
---|
12 | opt = "u"; |
---|
13 | }; |
---|
14 | |
---|
15 | estimator = ( |
---|
16 | {type="EKF"; |
---|
17 | IM = {type="pmsmIM"; |
---|
18 | params : {type = "external";filename = "cfg/zcu.cfg";path = "pmsm107";}; |
---|
19 | }; |
---|
20 | OM = {type="pmsmOM";}; |
---|
21 | dQ=[62., 66., 44., 0.03]; |
---|
22 | dR=[100, 100]; |
---|
23 | //connect |
---|
24 | drv = {type="rv"; names=["o_ia","o_ib","o_ua","o_ub"];}; // observed u |
---|
25 | //drv = {type="rv"; names=["o_ia","o_ib","t_ua","t_ub"];}; // true u |
---|
26 | rv = {type="rv"; names=["EKF"]; sizes=[4];}; |
---|
27 | } |
---|
28 | ); |
---|
29 | |
---|
30 | logger= { |
---|
31 | type="dirfilelog"; |
---|
32 | maxlen = 1000; |
---|
33 | dirname = "exp/sim"; |
---|
34 | }; |
---|