root/applications/dual/SIDP/SIDPS/matlab/nastav.m @ 1197

Revision 1185, 1.6 kB (checked in by zimamiro, 14 years ago)
Line 
1function [regulator_parameters, rsss_parameters,system,apriori]=nastav
2%OK
3%nastaveni
4%sidp
5%horizont...ridici horizont
6%num_of_candidates...pocet kandidatu na zmenu u
7%search_region_init...pocatecni rozsah pro zmenu prozatimniho optimalniho u
8%gama, lambda...parametri pro redukci search_region_init
9%n_grid...pocet bodu v diskretizaci kazdeho rozmeru hyperstavu
10%n_pass...pocet nezavislych pruchodu
11%n_iter...pocet opakovani v kazdem pruchodu
12%n0, delta, alpha...parametry RSSS (implementovana ve funkci
13%compare_candidaes)
14%system
15%dim...dimenze hyperstavu ulohy
16%b,sigma...parametr systemu
17%apriori
18%b0, b_range...apriorni informace o b
19%P0, P_range...apriorni informace o P
20%y0, y_range...pocatecni stav systemu
21
22    horizont=100;
23    sigma=1;
24    %+1? pozadovane rizeni yr=0
25
26    horizont_tilda=10;
27    n_iter=4;
28    num_of_candidates=7;
29    search_region_init=5;
30    gama=0.2;
31    n_grid=10;
32    n_grid_max=30;
33 
34    y0=100;
35    b0=0; 
36    P0=10;
37    Hc=0;
38   
39    n0=20;
40    delta=(y0/2)^2;
41    alpha=0.05;
42    RSSS=1;
43
44regulator_parameters.horizont=horizont_tilda;
45regulator_parameters.n_iter=n_iter;
46regulator_parameters.num_of_candidates=num_of_candidates;
47regulator_parameters.search_region_init= search_region_init;
48regulator_parameters.gama= gama;
49regulator_parameters.n_grid=n_grid;
50regulator_parameters.n_grid_max=n_grid_max;
51
52rsss_parameters.n0=n0;
53rsss_parameters.delta=delta;
54rsss_parameters.alpha=alpha;
55rsss_parameters.RSSS=RSSS;
56
57system.horizont=horizont;
58system.sigma=sigma;
59
60apriori.y0=y0;
61apriori.b0=b0;
62apriori.P0=P0;
63apriori.Hc=Hc;
64end
Note: See TracBrowser for help on using the browser.