Salome HOME
pb de check box
[tools/eficas.git] / Aide / fichiers_OPENTURNS_STUDY / UncertaintyStudy.txt
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//FR">
2 <html>
3 <head>
4 <TITLE> DEFINITION OF THE UNCERTAINTY STUDY
5 </TITLE>
6 </head>
7
8
9 <h2 align="center">
10  DEFINITION OF THE UNCERTAINTY STUDY
11 </h2>
12 <body>
13
14 <h3>
15 Limitations of the EFICAS GUI<BR>
16 </h3>
17 EFICAS version 2.0 has the following limitations : 
18 <ul>
19  <li> on models : <ul>
20  <li>- the calculus fucntion f has to have a scalar output variable, which means that f : R^n --> R;</li>
21  <li>- only one model can be defined within a study;</li>
22  </li><\ul>
23  <li> on the input random vector : the probabilistic input variables must be independent or with a normal copula dependence structure;</li>
24  <li> on sample manipulation : there is no statistical functionalities except the evaluation of some correlation coefficients whithin the Central Uncertainty criteria evaluation;</li>
25   <li> on response surface tools : there is no possibility to create a polynomial response surface nor a polynomial chaos expansion.</li>
26   <li> on CRITERIA : only one criteria can be defined within a study.</l>
27 </ul>
28 <BR>
29
30 <h3> Define your uncertainty study</h3>
31
32 To perform a uncertainty study through the EFICAS Graphical User Interface, you need to follow these steps. 
33 As some concepts need other ones to be created, you have to respect the given order in the study definition. Note that only the two first steps (Step 1 and Step 2) may be exchanged.
34  
35
36 <ul>
37 <li> Step 1 : Define the 1D distribution pool you'll need within the study.<BR>
38 This step defines all the 1D distributions that will be affected to probabilistic variables of the uncertainty study. To have information on distributions, see the Use Cases guide or User Manual Guide.
39 <BR>
40    <ul> <li> - create a DISTRIBUTION :
41          <ul><li> 1. click on SansNom (which is the case study which still has no named until you save it);</li>
42          <li> 2. click on "Nouvelle Commande" on the upright of the board;</li>
43          <li> 3. click on DISTRIBUTION.
44          </ul></li>
45 <BR>
46     <li>   - fulfill the DISTRIBUTION :
47 <ul><li> 1. click on Kind and choose a probabilistic distribution;</li>
48 <li> 2. click on the just created field named by the chosen distribution; </li>
49 <li>3. give some values to each parameter of the distribution. In the Histogram case, give one by one the couples (class bandwith, class height) by typing : class bandwith, class height.</li>
50     </ul></li>
51 <BR>
52    <li> name the DISTRIBUTION : 
53 <ul><li>1. click on DISTRIBUTION; </li>
54 <li>2. click on "Name Concept" on the upright of the board; </li>
55 <li>3. give a name to the DISTRIBUTION</li>
56     </ul></li>
57 <BR>
58    <li>- create another DISTRIBUTION : <ul><li>1. click on the last DISTRIBUTION you created;</li>
59 <li> 2. click on "Nouvelle Commande" on the upright of the board; </li>
60 <li>3. click on DISTRIBUTION.</li>
61     </ul></li>
62 <BR>
63    <li> - visualise the probabilistic density function of the DISTRIBUTION : 
64 <ul><li>1. right click on DISTRIBUTION; </li>
65 <li>2. click on Graphique.</li>
66     </ul></li>
67 </ul>
68 <BR>
69 <BR>
70
71
72 <li> Step 2 : Define your model.<BR>
73 This step gives the link towards the calculus function through which uncertainties will be propagated. The model is described thanks to an xml file To have information on wrappers, see Wrapper Guide.
74 <ul><li>  - create a MODEL : 
75     <ul><li>1. click on the last DISTRIBUTION you created; </li>
76     <li>2. click on "Nouvelle Commande" on the upright of the board; </li>
77     <li>3. click on MODEL.</li> </ul>
78 </li>
79 <BR>
80 <li> - fulfill the MODEL : 
81     <ul><li>1. click on FileName; </li>
82          <li>2. give the adress of the file.xml corresponding to your calculus function.
83 </li></ul></li>
84 </ul>
85
86 <BR>
87 <BR>
88
89
90 <li> Step 3 : Define the probabilistic input variables.<BR>
91 This step associates a probabilistic distribution function previously defined in Step 1 to each variable defined in the model.
92 <ul><li>  - create a VARIABLE : 
93      <ul><li>1. click on the last DISTRIBUTION you created; </li>
94          <li>2. click on "Nouvelle Commande" on the upright of the board; </li>
95          <li>3. click on VARIABLE.</li>
96      </ul> </li> <BR>
97      <li>  - fulfill the VARIABLE :
98          <ul><li>1. click on ModelVariable; </li>
99              <li>2. choose a variable within the list of the variables coming from the previously defined model; </li>
100              <li>3. click on Distribution; </li>
101              <li>4. choose a distribution among the ones previously defined in Step 1 (correctly fulfilled and named).</li>
102          </ul></li> <BR>
103      <li>   - create another VARIABLE : 
104           <ul><li>1. click on the last VARIABLE you created; </li>
105           <li>2. click on "Nouvelle Commande" on the upright of the board; </li>
106           <li>3. click on VARIABLE.</li>
107           </ul></li> 
108 </ul><BR>
109
110 <li> Step 4 : Define the dependance structure of the probabilistic input variables.<BR>
111 This step defines the structure dependence of the probabilistic input variables previously declared.
112 <ul>
113 <li>  - create a CORRELATION : <ul><li>1. click on the last VARIABLE you created; </li>
114 <li>2. click on "Nouvelle Commande" on the upright of the board; </li>
115 <li>3. click on CORRELATION.</li></ul><BR>
116 <li>  - fulfill the CORRELATION : <ul><li>1. click on Copula; </li>
117 <li>2. choose a copula within Normal copula and Independent one; </li>
118 <li>3. In case of Normal copula, give the correlation matrix by clicking on CorrelationMatrix.</li>
119 </ul></li><BR></ul>
120
121
122 <li> Step 5 : Define the criteria you will evaluate.<BR>
123 This step defines the criteria which will be evakluated by the uncertainty study. To have more information on criterias, see the Reference Guide.<BR>
124 <ul><li>
125   - create a CRITERIA : <ul><li>1. click on the last VaRIABLE you created; </li>
126    <li>2. click on "Nouvelle Commande" on the upright of the board; </li>
127    <li>3. click on CRITERIA;</li></ul> 
128    <li>  - fulfill the CRITERIA : <ul><li>1. click on CRITERIA; </li>
129    <li>2. choose a specific criteria among the three proposed ones.</li><BR></ul>
130 The following steps are described just below.</li><BR>
131
132 <li>CRITERIA MinMax : <BR>
133 This criteria aims at evaluating some extreme values of the output variable of interest, which is the output variable of the model. To have more information on the different methods, see the Use Cases Guide.
134 <ul>
135    <li>  - 3. click on MinMax; </li>
136    <li>  - 4. click on the just created field Method which defines how input probabilistic variables will be generated;</li>
137    <li>  - 5. click on the just created field corresponding to the chosen Method; </li>
138    <li>  - 6. fulfill the required fields;</li>
139    <li>  - 7. The Results are the extreme values evaluated on the output variable onf interest.</li>
140 </ul></li><BR>
141
142 <li>CRITERIA  Central Uncertainty : <BR>
143 This criteria aims at evaluating some central probabilistic carateristics of the output variable of interest. To have more information on the different methods, see the Use Cases Guide.
144 <ul><li> - 3. click on CentralUncertainty; </li>
145      <li>- 4. click on the just created field Method which defines how the central probabilistic caracteristics will be evaluated and choose one; </li>
146      <li>- 5. click on the just created field corresponding to the chosen Method;</li>
147      <li>- 6. fulfill the required fields;</li>
148      <li>- 7. The Results are the mean, standard deviation whatever the chosen Method and in the case of a Radom sampling Method, also some empirical quantiles previoulsy defined, the evaluation of some correlation coefficients (PCC, PRCC, SRC and SRRC) and the kernel smoothing of the probabilistic density function of the output variable of interest.</li>
149 </ul><BR></li>
150
151
152 <li>CRITERIA Threshold Exceedance : <BR>
153 This criteria aims at evaluating the probability that the ouput variable of interest exceeds or remaines under a define threshold. To have more information on the different methods, see the Use Cases Guide.
154 <ul><li>- 3. click on Threshold Exceedence; </li>
155      <li>- 4. click on the just created field Method which defines how the central probabilistic caracteristics will be evaluated;</li>
156      <li>- 5. define the Event : click on Threshold and fulfill it; click on the ComparisonOperator and fulfill it; </li>
157      <li>- 6. define the probability evaluation Method : click on Method  and choose one;</li>
158      <li>- 7. fulfill the required fields. In the FORM and SORM cases, it is possible to perform some importance sampling around the design point : the importance distribution is the standard Normal distribution defined int he stansard space, with independent components, unit variance and centered around the design point.</li>
159      <li>- 8. The Results are the following ones :<BR> in the case of a Simulation Method, the probability evaluation with the standard deviation and the coefficient of vrariation of its estimator, the confidence interval defined previously, the final number of simulation used for the evaluation,  the convergence graph of the estimator; in the case of a FORM Method, the probability evaluation, the associated design point, the Hasofer reliability index, the importance factors also drawed in a graph, the sensitivity factors evaluated on the FORM probability estimation and on the Hasofer reliability index and the calls number of the model; in the case of a SORM Method, the probability evaluation, the associated design point, the Hasofer, Tvedt and HohenBichler reliability indexes, the importance factors also drawed in a graph, the sensitivity factors evaluated on the Hasofer reliability index and the calls number of the model.
160 </li>
161 </ul><BR></ul>
162
163 <h3>
164 General rules
165 </h3>
166 <ul>
167 <li> To erase a concept, right click on it  and click on Supprimer.</li>
168 <li> While the concept is not colored in green, you have not completely fulfilled the concepts. The orange color means a concept needs to be named.</li>
169 <li> To fulfill a list of values (v1, v2, ..., vn), type the whole values separated by coma. For example, to fulfill (1,2,3) in the field Levels of an Experiment plane, type : 1,2,3.</li>
170 <li> To fulfill a list of list of values, type one by one each list of values as previously described. For example, ((v1,v2), (v3,v4)), type : v1,v2 then "entered", v3,v4 then 'entered". This is the case in the Histogramm distribution.</li>
171 <li> Files names or graphics impression are given without their extensions. Open TURNS will authomatically provide the .eps, .png and .fig formats.</li>
172 </ul>
173 <BR><BR>
174
175
176 <h3>
177 Save and Run your uncertainty study
178 </h3>
179 Once correctly fulfilled, the study can be saved under a specific name chosen by the User, for example "myStudy".<BR>
180 Then, two files are authomatically created : 
181 <ul>
182 <li>- a myStudy.comm which contains all the information declared in the EFICAS GUI. This file myStudy.comm may be opened once more within EFICAS.</li>
183 <li>- a myStudy.py which is the corresponding python script. The python script is generated given that each concept has been correctly and entirely fulfilled. </li>
184 </ul>
185 To run your uncertainty analyses, you nedd to type "python myStudy.py" or "python -i myStudy.py" in your shell. All the graphs are created in the repertory where the python session has been launched.
186 To have more information on how to modify the python script, see the Use Cases Guide.
187 <BR>
188
189 </body>
190 </html>