Salome HOME
travail sur monPlusieurs
[tools/eficas.git] / Openturns_Study / OpenTURNS_Cata_Study_V4.py
1 # -*- coding: utf-8 -*-
2
3 # --------------------------------------------------
4 # debut entete
5 # --------------------------------------------------
6
7 # Les commentaires du style # Ordre Catalogue MOTCLEF sont utilises pour
8 # retrouver l ordre du catalogue
9
10
11 #from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR
12 from Accas import *
13
14 class loi      ( ASSD ) : pass
15 class variable ( ASSD ) : pass
16
17 import types
18 class Tuple:
19   def __init__(self,ntuple):
20     self.ntuple=ntuple
21
22   def __convert__(self,valeur):
23     if type(valeur) == types.StringType:
24       return None
25     if len(valeur) != self.ntuple:
26       return None
27     return valeur
28
29   def info(self):
30     return "Tuple de %s elements" % self.ntuple
31
32   __repr__=info
33   __str__=info
34
35
36 #CONTEXT.debug = 1
37 JdC = JDC_CATA ( code = 'OPENTURNS_STUDY',
38                  execmodul = None,
39                  regles = ( AU_MOINS_UN ( 'CRITERIA' ), AU_MOINS_UN ( 'MODEL' ), 
40                             A_CLASSER(('LOG','DETERMINISTICVARIABLE'),'VARIABLE'),)
41                  ) # Fin JDC_CATA
42
43 # --------------------------------------------------
44 # fin entete
45 # --------------------------------------------------
46
47 LOG = PROC ( nom = "LOG",
48              op = None,
49              docu = "",
50                
51   DebugMessages = SIMP ( statut = "o",
52                  typ = "TXM",
53                  into = ( 'yes', 'no' ),
54                  defaut = 'no',
55                  fr = "Affichage du niveau de debug de la bibliotheque Open TURNS",
56                  ang = "Open TURNS library debug level print",
57                  ),
58                
59   WrapperMessages = SIMP ( statut = "o",
60                  typ = "TXM",
61                  into = ( 'yes', 'no' ),
62                  defaut = 'no',
63                  fr = "Affichage du niveau de wrapper de la bibliotheque Open TURNS",
64                  ang = "Open TURNS library debug level print",
65                  ),
66                
67   UserMessages = SIMP ( statut = "o",
68                  typ = "TXM",
69                  into = ( 'yes', 'no' ),
70                  defaut = 'no',
71                  fr = "Affichage du niveau de user de la bibliotheque Open TURNS",
72                  ang = "Open TURNS library user level print",
73                  ),
74                
75   InfoMessages = SIMP ( statut = "o",
76                  typ = "TXM",
77                  into = ( 'yes', 'no' ),
78                  defaut = 'yes',
79                  fr = "Affichage du niveau de info de la bibliotheque Open TURNS",
80                  ang = "Open TURNS library info level print",
81                  ),
82                
83   WarningMessages = SIMP ( statut = "o",
84                  typ = "TXM",
85                  into = ( 'yes', 'no' ),
86                  defaut = 'yes',
87                  fr = "Affichage du niveau de warning de la bibliotheque Open TURNS",
88                  ang = "Open TURNS library warning level print",
89                  ),
90                
91   ErrorMessages = SIMP ( statut = "o",
92                  typ = "TXM",
93                  into = ( 'yes', 'no' ),
94                  defaut = 'yes',
95                  fr = "Affichage du niveau de error de la bibliotheque Open TURNS",
96                  ang = "Open TURNS library error level print",
97                  ),
98                
99 ) # Fin PROC LOG
100 # Ordre Catalogue LOG
101
102
103
104
105 #================================
106 # 0. Definition du modele physique
107 #================================
108
109
110 DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE",
111             sd_prod = variable,
112             op = None,
113             fr = "Variable deterministe",
114             ang = "Deterministic variable",
115             
116   N = SIMP ( statut = 'o',
117              typ = "TXM",
118              fr = "Nom",
119              ang = "Name",
120              ),
121             
122   T = SIMP ( statut = 'o',
123              defaut = "in",
124              into = ( "in" , "out", ),
125              typ = "TXM",
126              fr = "Type",
127              ang = "Type",
128              ),
129             
130   R = SIMP ( statut = 'o',
131              defaut = 0,
132              typ = "I",
133              fr = "Rang",
134              ang = "Rank",
135              ),
136             
137 ) # Fin OPER DETERMINISTICVARIABLE
138 # Ordre Catalogue DETERMINISTICVARIABLE
139
140
141 import opsOT
142 MODEL = MACRO ( nom = "MODEL",
143                 op = None,
144                 UIinfo = { "groupes" : ( "Gestion du travail", ) },
145                 fr = "Chargement du wrapper du modele physique",
146                 ang = "Physical model wrapper load",
147                 sd_prod = opsOT.INCLUDE,
148                 op_init = opsOT.INCLUDE_context,
149                 fichier_ini = 1,
150                
151   FileName = SIMP ( statut = "o",
152                     typ = "TXM",
153                     fr = "Nom du modele physique",
154                     ang = "Physical model identifier",
155                     ),
156                
157 ) # Fin PROC MODEL
158 # Ordre Catalogue MODEL
159
160
161
162
163 VARIABLE = PROC ( nom = "VARIABLE",
164                   op = None,
165                   docu = "",
166                   fr = "Variable probabiliste",
167                   ang = "Probabilistic variable",
168
169   ModelVariable = SIMP ( statut = "o",
170                          typ = ( variable, ),
171                          ),
172
173   Distribution = SIMP ( statut = "o",
174                         typ = ( loi, ),
175                         ),
176                   
177 ) # Fin PROC VARIABLE
178 # Ordre Catalogue VARIABLE
179
180
181
182
183 #================================
184 # 1. Definition des LOIS
185 #================================
186
187 # Nota : les variables de type OPER doivent etre en majuscules !
188 # Nota : les variables de type OPER doivent etre de premier niveau (pas imbriquees dans un autre type)
189 DISTRIBUTION = OPER ( nom = "DISTRIBUTION",
190                       sd_prod = loi,
191                       op = 68,
192                       fr = "Definitions des lois marginales utilisees par les variables d'entree", 
193                       
194                       
195 #====
196 # Type de distribution
197 #====
198
199   Kind = SIMP ( statut = "o", typ = "TXM",
200                 into = ( "Beta",
201                          "Exponential",
202                          "Gamma",
203                          "Geometric",
204                          "Gumbel",
205                          "Histogram",
206                          "Logistic",
207                          "LogNormal",
208                          "MultiNomial",
209                          "Normal",
210                          "TruncatedNormal",
211                          "Poisson",
212                          "Student",
213                          "Triangular",
214                          "Uniform",
215                          #"UserDefined",
216                          "Weibull",
217                          ),
218                 fr = "Choix du type de la loi marginale",
219                 ang = "1D marginal distribution",
220                 ),
221
222 #====
223 # Definition des parametres selon le type de la loi
224 #====
225
226   BETA = BLOC ( condition = " Kind in ( 'Beta', ) ",
227
228                   Settings = SIMP ( statut = "o",
229                                        typ = "TXM",
230                                        max = 1,
231                                        into = ( "RT", "MuSigma" ),
232                                        defaut = "RT",
233                                        fr = "Parametrage de la loi beta",
234                                        ang = "Beta distribution parameter set",
235                                        ),
236
237                   RT_Parameters = BLOC ( condition = " Settings in ( 'RT', ) ",
238
239                                       R = SIMP ( statut = "o",
240                                                  typ = "R",
241                                                  max = 1,
242                                                  val_min = 0.,
243                                                  fr = "Parametre R de la loi",
244                                                  ang = "R parameter",
245                                                  ),
246
247                                       # T > R
248                                       T = SIMP ( statut = "o",
249                                                  typ = "R",
250                                                  max = 1,
251                                                  val_min = 0.,
252                                                  fr = "Parametre T de la loi | T > R",
253                                                  ang = "T parameter | T > R",
254                                                  ),
255
256                                       ), # Fin BLOC RT_Parameters
257
258
259                   MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ",
260
261                                       Mu = SIMP ( statut = "o",
262                                                   typ = "R",
263                                                   max = 1,
264                                                   fr = "Parametre Mu de la loi",
265                                                   ang = "Mu parameter",
266                                                   ),
267
268                                       Sigma = SIMP ( statut = "o",
269                                                      typ = "R",
270                                                      max = 1,
271                                                      val_min = 0.,
272                                                      fr = "Parametre Sigma de la loi | Sigma > 0",
273                                                      ang = "Sigma parameter | Sigma > 0",
274                                                      ),
275
276                                       ), # Fin BLOC MuSigma_Parameters
277
278
279                   A = SIMP ( statut = "o",
280                              typ = "R",
281                              max = 1,
282                              fr = "Parametre A de la loi",
283                              ang = "A parameter",
284                              ),
285
286                   # B > A
287                   B = SIMP ( statut = "o",
288                              typ = "R",
289                              max = 1,
290                              fr = "Parametre B de la loi | B > A",
291                              ang = "B parameter | B > A",
292                              ),
293
294   ), # Fin BLOC BETA
295
296
297
298   EXPONENTIAL = BLOC ( condition = " Kind in ( 'Exponential', ) ",
299
300                          Lambda = SIMP ( statut = "o",
301                                          typ = "R",
302                                          max = 1,
303                                          val_min = 0.,
304                                          fr = "Parametre Lambda | Lambda > 0",
305                                          ang = "Lambda parameter | Lambda > 0",
306                                          ),
307
308                          Gamma = SIMP ( statut = "o",
309                                         typ = "R",
310                                         max = 1,
311                                         fr = "Parametre Gamma",
312                                         ang = "Gamma parameter",
313                                         ),
314
315   ), # Fin BLOC EXPONENTIAL
316
317
318
319   GAMMA = BLOC ( condition = " Kind in ( 'Gamma', ) ",
320
321                    Settings = SIMP ( statut = "o",
322                                         typ = "TXM",
323                                         max = 1,
324                                         into = ( "KLambda", "MuSigma" ),
325                                         defaut = "KLambda",
326                                         fr = "Parametrage de la loi gamma",
327                                         ang = "Gamma distribution parameter set",
328                                         ),
329
330                    KLambda_Parameters = BLOC ( condition = " Settings in ( 'KLambda', ) ",
331
332                                        K = SIMP ( statut = "o",
333                                                   typ = "R",
334                                                   max = 1,
335                                                   val_min = 0.,
336                                                   fr = "Parametre K de la loi | K > 0",
337                                                   ang = "K parameter | K > 0",
338                                                   ),
339
340                                        Lambda = SIMP ( statut = "o",
341                                                        typ = "R",
342                                                        max = 1,
343                                                        val_min = 0.,
344                                                        fr = "Parametre Lambda de la loi | Lambda > 0",
345                                                        ang = "Lambda parameter | Lambda > 0",
346                                                        ),
347
348                                        ), # Fin BLOC KLambda_Parameters
349
350
351                    MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ",
352
353                                        Mu = SIMP ( statut = "o",
354                                                    typ = "R",
355                                                    max = 1,
356                                                    defaut = 0.0,
357                                                    fr = "Parametre Mu de la loi",
358                                                    ang = "Mu parameter",
359                                                    ),
360
361                                        Sigma = SIMP ( statut = "o",
362                                                       typ = "R",
363                                                       max = 1,
364                                                       defaut = 1.0,
365                                                       val_min = 0.,
366                                                       fr = "Parametre Sigma de la loi | Sigma > 0",
367                                                       ang = "Sigma parameter | Sigma > 0",
368                                                       ),
369
370                                        ), # Fin BLOC MuSigma_Parameters
371
372                    Gamma = SIMP ( statut = "o",
373                                   typ = "R",
374                                   max = 1,
375                                   fr = "Parametre Gamma",
376                                   ang = "Gamma parameter",
377                                   ),
378
379
380   ), # Fin BLOC GAMMA
381
382
383
384   GEOMETRIC = BLOC ( condition = " Kind in ( 'Geometric', ) ",
385
386                        P = SIMP ( statut = "o",
387                                   typ = "R",
388                                   max = 1,
389                                   val_min = 0.,
390                                   val_max = 1.,
391                                   fr = "Parametre P | 0 < P < 1",
392                                   ang = "P parameter | 0 < P < 1",
393                                   ),
394
395   ), # Fin BLOC GEOMETRIC
396
397
398
399   GUMBEL = BLOC ( condition = " Kind in ( 'Gumbel', ) ",
400
401                     Settings = SIMP ( statut = "o",
402                                          typ = "TXM",
403                                          max = 1,
404                                          into = ( "AlphaBeta", "MuSigma" ),
405                                          defaut = "AlphaBeta",
406                                          fr = "Parametrage de la loi gumbel",
407                                          ang = "Gumbel distribution parameter set",
408                                          ),
409
410                     AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ",
411
412                                         Alpha = SIMP ( statut = "o",
413                                                        typ = "R",
414                                                        max = 1,
415                                                        val_min = 0.,
416                                                        fr = "Parametre Alpha de la loi | Alpha > 0",
417                                                        ang = "Alpha parameter | Alpha > 0",
418                                                        ),
419
420                                         Beta = SIMP ( statut = "o",
421                                                       typ = "R",
422                                                       max = 1,
423                                                       fr = "Parametre Beta de la loi",
424                                                       ang = "Beta parameter",
425                                                       ),
426
427                                         ), # Fin BLOC AlphaBeta_Parameters
428
429
430                     MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ",
431
432                                         Mu = SIMP ( statut = "o",
433                                                     typ = "R",
434                                                     max = 1,
435                                                     fr = "Parametre Mu de la loi",
436                                                     ang = "Mu parameter",
437                                                     ),
438
439                                         Sigma = SIMP ( statut = "o",
440                                                        typ = "R",
441                                                        max = 1,
442                                                        val_min = 0.,
443                                                        fr = "Parametre Sigma de la loi | Sigma > 0",
444                                                        ang = "Sigma parameter | Sigma > 0",
445                                                        ),
446
447                                         ), # Fin BLOC MuSigma_Parameters
448
449   ), # Fin BLOC GUMBEL
450
451
452
453   HISTOGRAM = BLOC ( condition = " Kind in ( 'Histogram', ) ",
454
455                        First = SIMP ( statut = "o",
456                                     typ = "R",
457                                     max = 1,
458                                     fr = "Premier point de la distribution",
459                                     ang = "First point",
460                                     ),
461
462                        # Il faut definir une collection de couples ( x,p ) 
463                        Values = SIMP ( statut = 'o',
464                                        typ = Tuple(2),
465                                        max = '**',
466                                        fr = "Liste de couples (point,probabilite)",
467                                        ang = "(point,probabiblity) couple list",
468                                        validators=VerifTypeTuple(('R','R')),
469                                        ),
470
471   ), # Fin BLOC HISTOGRAM
472
473
474
475   LOGNORMAL = BLOC ( condition = " Kind in ( 'LogNormal', ) ",
476
477                      Settings = SIMP ( statut = "o",
478                                        typ = "TXM",
479                                        max = 1,
480                                        into = ( "MuSigmaLog", "MuSigma", "MuSigmaOverMu" ),
481                                        defaut = "MuSigmaLog",
482                                        fr = "Parametrage de la loi lognormale",
483                                        ang = "Lognormal distribution parameter set",
484                                        ),
485
486                      MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ",
487
488                                                  Mu = SIMP ( statut = "o",
489                                                              typ = "R",
490                                                              max = 1,
491                                                              fr = "Parametre Mu de la loi | Mu > Gamma",
492                                                              ang = "Mu parameter | Mu > Gamma",
493                                                              ),
494
495                                                  Sigma = SIMP ( statut = "o",
496                                                                 typ = "R",
497                                                                 max = 1,
498                                                                 val_min = 0.,
499                                                                 fr = "Parametre Sigma de la loi | Sigma > 0",
500                                                                 ang = "Sigma parameter | Sigma > 0",
501                                                                 ),
502
503                                                  ), # Fin BLOC MuSigma_Parameters
504
505                      MuSigmaOverMu_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaOverMu', ) ",
506
507                                                  Mu = SIMP ( statut = "o",
508                                                              typ = "R",
509                                                              max = 1,
510                                                              fr = "Parametre Mu de la loi | Mu > Gamma",
511                                                              ang = "Mu parameter | Mu > Gamma",
512                                                              ),
513
514                                                  SigmaOverMu = SIMP ( statut = "o",
515                                                                 typ = "R",
516                                                                 max = 1,
517                                                                 val_min = 0.,
518                                                                 fr = "Parametre SigmaOverMu de la loi | SigmaOverMu > 0",
519                                                                 ang = "SigmaOverMu parameter | SigmaOverMu > 0",
520                                                                 ),
521
522                                                  ), # Fin BLOC MuSigmaOverMu_Parameters
523
524                      MuSigmaLog_Parameters = BLOC ( condition = " Settings in ( 'MuSigmaLog', ) ",
525
526                                                     MuLog = SIMP ( statut = "o",
527                                                                    typ = "R",
528                                                                    max = 1,
529                                                                    fr = "Parametre Mu log de la loi",
530                                                                    ang = "Mu log parameter",
531                                                                    ),
532
533                                                     SigmaLog = SIMP ( statut = "o",
534                                                                       typ = "R",
535                                                                       max = 1,
536                                                                       val_min = 0.,
537                                                                       fr = "Parametre Sigma log de la loi | SigmaLog > 0",
538                                                                       ang = "Sigma log parameter | SigmaLog > 0",
539                                                                       ),
540                                             
541                                                     ), # Fin BLOC MuSigmaLog_Parameters
542
543                      Gamma = SIMP ( statut = "o",
544                                     typ = "R",
545                                     max = 1,
546                                     fr = "Parametre Gamma",
547                                     ang = "Gamma parameter",
548                                     ),
549
550    ), # Fin BLOC LOGNORMAL
551
552
553
554    LOGISTIC = BLOC ( condition = " Kind in ( 'Logistic', ) ",
555
556                        Alpha = SIMP ( statut = "o",
557                                       typ = "R",
558                                       max = 1,
559                                       fr = "Parametre Alpha de la loi",
560                                       ang = "Alpha parameter",
561                                       ),
562
563                        Beta = SIMP ( statut = "o",
564                                      typ = "R",
565                                      max = 1,
566                                      val_min = 0.,
567                                      fr = "Parametre Beta de la loi | Beta > = 0",
568                                      ang = "Beta parameter | Beta > = 0",
569                                      ),
570
571    ), # Fin BLOC LOGISTIC
572
573
574
575    MULTINOMIAL = BLOC ( condition = " Kind in ( 'MultiNomial', ) ",
576                          
577                          N = SIMP ( statut = "o",
578                                     typ = "I",
579                                     max = 1,
580                                     fr = "Dimension de la loi",
581                                     ang = "Distribution dimension",
582                                     ),
583
584                          # Il faut un vecteur P de taille N
585                          Mu = SIMP ( statut = 'o',
586                                      typ = 'R',
587                                      max = '**',
588                                      ),
589
590    ), # Fin BLOC MULTINOMIAL
591
592
593
594    NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ",
595
596                     Mu = SIMP ( statut = "o",
597                                 typ = "R",
598                                 max = 1,
599                                 fr = "Parametre Mu de la loi",
600                                 ang = "Mu parameter",
601                                 ),
602
603                    Sigma = SIMP ( statut = "o",
604                                   typ = "R",
605                                   max = 1,
606                                   val_min = 0.,
607                                   fr = "Parametre Sigma de la loi | Sigma > 0",
608                                   ang = "Sigma parameter | Sigma > 0",
609                                   ),
610
611    ), # Fin BLOC NORMAL
612
613
614
615    POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ",
616
617                      Lambda = SIMP ( statut = "o",
618                                      typ = "R",
619                                      max = 1,
620                                      val_min = 0.,
621                                      fr = "Parametre Lambda de la loi | Lambda > 0",
622                                      ang = "Lambda parameter | Lambda > 0",
623                                      ),
624
625    ), # Fin BLOC POISSON
626
627
628
629    STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ",
630
631                      Mu = SIMP ( statut = "o",
632                                  typ = "R",
633                                  max = 1,
634                                  fr = "Parametre Mu de la loi",
635                                  ang = "Mu parameter",
636                                  ),
637
638                      Nu = SIMP ( statut = "o",
639                                  typ = "R",
640                                  max = 1,
641                                  val_min = 2.,
642                                  fr = "Parametre Nu de la loi | V > = 2",
643                                  ang = "Nu parameter | V > = 2",
644                                  ),
645
646    ), # Fin BLOC STUDENT
647
648
649
650    TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ",
651
652                          A = SIMP ( statut = "o",
653                                     typ = "R",
654                                     max = 1,
655                                     fr = "Borne inferieure de la loi | A < = M < = B",
656                                     ang = "Lower bound | A < = M < = B",
657                                     ),
658
659                          M = SIMP ( statut = "o",
660                                     typ = "R",
661                                     max = 1,
662                                     fr = "Mode de la loi | A < = M < = B",
663                                     ang = "Mode | A < = M < = B",
664                                     ),
665
666                          B = SIMP ( statut = "o",
667                                     typ = "R",
668                                     max = 1,
669                                     fr = "Borne superieure de la loi | A < = M < = B",
670                                     ang = "Upper bound | A < = M < = B",
671                                     ),
672
673    ), # Fin BLOC TRIANGULAR
674
675
676
677    TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ",
678
679                              MuN = SIMP ( statut = "o",
680                                           typ = "R",
681                                           max = 1,
682                                           fr = "Parametre Mu de la loi",
683                                           ang = "Mu parameter",
684                                           ),
685
686                              SigmaN = SIMP ( statut = "o",
687                                              typ = "R",
688                                              max = 1,
689                                              val_min = 0.,
690                                              fr = "Parametre SigmaN de la loi | SigmaN > 0",
691                                              ang = "SigmaN parameter | SigmaN> 0",
692                                              ),
693
694                              A = SIMP ( statut = "o",
695                                         typ = "R",
696                                         max = 1,
697                                         fr = "Borne inferieure de la loi | A < = B",
698                                         ang = "Lower bound | A < = B",
699                                         ),
700
701                              B = SIMP ( statut = "o",
702                                         typ = "R",
703                                         max = 1,
704                                         fr = "Borne superieure de la loi | A < = B",
705                                         ang = "Upper bound | A < = B",
706                                         ),
707
708    ), # Fin BLOC TRUNCATEDNORMAL
709
710
711
712    UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ",
713
714                      A = SIMP ( statut = "o",
715                                 typ = "R",
716                                 max = 1,
717                                 fr = "Borne inferieure de la loi | A < = B",
718                                 ang = "Lower bound | A < = B",
719                                 ),
720
721                      B = SIMP ( statut = "o",
722                                 typ = "R",
723                                 max = 1,
724                                 fr = "Borne superieure de la loi | A < = B",
725                                 ang = "Upper bound | A < = B",
726                                 ),
727
728    ), # Fin BLOC UNIFORM
729
730
731
732    USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ",
733
734                            # Il faut definir une collection de couples ( x,p ) 
735                          Values = SIMP ( statut = 'o',
736                                          typ = 'R',
737                                          max = '**',
738                                          ),
739
740    ), # Fin BLOC USERDEFINED
741
742
743
744    WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ",
745
746                      Settings = SIMP ( statut = "o",
747                                           typ = "TXM",
748                                           max = 1,
749                                           into = ( "AlphaBeta", "MuSigma" ),
750                                           defaut = "AlphaBeta",
751                                           fr = "Parametrage de la loi weibull",
752                                           ang = "Weibull distribution parameter set",
753                                           ),
754
755                      AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ",
756
757                                          Alpha = SIMP ( statut = "o",
758                                                         typ = "R",
759                                                         max = 1,
760                                                         val_min = 0.,
761                                                         fr = "Parametre Alpha de la loi | Alpha > 0",
762                                                         ang = "Alpha parameter | Alpha > 0",
763                                                         ),
764
765                                          Beta = SIMP ( statut = "o",
766                                                        typ = "R",
767                                                        max = 1,
768                                                        val_min = 0.,
769                                                        fr = "Parametre Beta de la loi | Beta > 0",
770                                                        ang = "Beta parameter | Beta > 0",
771                                                        ),
772
773                                          ), # Fin BLOC AlphaBeta_Parameters
774
775
776                      MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ",
777
778                                          Mu = SIMP ( statut = "o",
779                                                      typ = "R",
780                                                      max = 1,
781                                                      fr = "Parametre Mu de la loi",
782                                                      ang = "Mu parameter",
783                                                      ),
784
785                                          Sigma = SIMP ( statut = "o",
786                                                         typ = "R",
787                                                         max = 1,
788                                                         val_min = 0.,
789                                                         fr = "Parametre Sigma de la loi | Sigma > 0",
790                                                         ang = "Sigma parameter | Sigma > 0",
791                                                         ),
792
793                                          ), # Fin BLOC MuSigma_Parameters
794
795                      Gamma = SIMP ( statut = "o",
796                                     typ = "R",
797                                     max = 1,
798                                     fr = "Parametre Gamma",
799                                     ang = "Gamma parameter",
800                                     ),
801
802     ), # Fin BLOC WEIBULL
803
804 ) # Fin OPER DISTRIBUTION
805 # Ordre Catalogue DISTRIBUTION
806
807
808
809
810
811
812
813 #================================
814 # 3. Definition de l'etude
815 #================================
816
817 # Nota : les variables de type PROC doivent etre en majuscules !
818 CRITERIA = PROC ( nom = "CRITERIA",
819                   op = None,
820                   docu = "",
821                   fr = "Mise en donnee pour le fichier de configuration de OPENTURNS.",
822                   ang = "Writes the configuration file for OPENTURNS.",
823
824
825
826   Type = SIMP ( statut = "o",
827                 typ = "TXM",
828                 into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ),
829                 fr = "Type d'Analyse",
830                 ang = "Analysis",
831                 ),
832
833
834
835
836
837
838
839   MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ",
840
841                   Method = SIMP ( statut = "o",
842                                   typ = "TXM",
843                                   into = ( "Experiment Plane", "Random Sampling" ),
844                                   fr = "Methode",
845                                   ang = "Method",
846                                   ),
847                   # UC 3.1.1
848                   ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ",
849
850                           ExperimentPlane = SIMP ( statut = "o",
851                                                    typ = "TXM",
852                                                    into = ( "Axial", "Factorial", "Composite", ),
853                                                    fr = "Methode",
854                                                    ang = "Method",
855                                                    ),
856
857                           Levels = SIMP ( statut = "o",
858                                           typ = "R",
859                                           val_min = 0.0,
860                                           max = '**',    
861                                           fr = "Nombre de niveaux dans chaque direction",
862                                           ang = "Levels in each direction",
863                                           ),
864
865                           # Scaled Vector
866                           UnitsPerDimension = SIMP ( statut = "o",
867                                           typ = "R",
868                                           max = '**',    
869                                           fr = "Unite par dimension (autant que de variables declarees)",
870                                           ang = "Units per dimension (as much as declared variables)",
871                                           ),
872
873                           # Translation Vector
874                           Center = SIMP ( statut = "o",
875                                           typ = "R",
876                                           max = '**',    
877                                           fr = "Unite par dimension",
878                                           ang = "Units per dimension",
879                                           ),
880
881                     ), # Fin BLOC ExperimentPlaneSettings
882
883
884
885                   RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ",
886
887                           PointsNumber = SIMP ( statut = "o",
888                                                 typ = "I",
889                                                 val_min = 1,
890                                                 fr = "Nombre de points",
891                                                 ang = "Points number",
892                                                 ),
893
894                     ), # Fin BLOC RandomSamplingSettings
895
896                   Result = SIMP (  statut = "o",
897                                    typ = "TXM",
898                                    into = ( "Min/Max", ),
899                                    defaut = "Min/Max",
900                                    fr = "Le minimum et le maximum",
901                                    ang = "The min and max values",
902                                    ),
903
904
905   ), # Fin BLOC MinMax
906
907
908
909
910   CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ",
911
912                   Method = SIMP ( statut = "o",
913                                   typ = "TXM",
914                                   into = ( "Taylor Variance Decomposition", "Random Sampling" ),
915                                   fr = "Methode",
916                                   ang = "Method",
917                                   ),
918                               
919                   # UC 3.2.
920                   TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ",
921
922                       Result = FACT ( statut = "o",
923                                       min = 1,
924                                       max = "**",
925
926                               MeanFirstOrder = SIMP ( statut = "o",
927                                                 typ = 'TXM',
928                                                 into = ( 'yes', 'no' ),
929                                                 defaut = 'yes',
930                                                 max = 1,
931                                                 fr = "Moyenne au premier ordre",
932                                                 ang = "MeanFirstOrder",
933                                                 ),
934
935                               StandardDeviationFirstOrder = SIMP ( statut = "o",
936                                                                    typ = 'TXM',
937                                                                    into = ( 'yes', 'no' ),
938                                                                    defaut = 'yes',
939                                                                    max = 1,
940                                                                    fr = "Ecart-type au premier ordre",
941                                                                    ang = "StandardDeviationFirstOrder",
942                                                                    ),
943
944                               MeanSecondOrder = SIMP ( statut = "o",
945                                                        typ = 'TXM',
946                                                        into = ( 'yes', 'no' ),
947                                                        defaut = 'yes',
948                                                        max = 1,
949                                                        fr = "Moyenne au second ordre",
950                                                        ang = "MeanSecondOrder",
951                                                        ),
952
953                               ImportanceFactor = SIMP ( statut = "o",
954                                                         typ = 'TXM',
955                                                         into = ( 'yes', 'no' ),
956                                                         defaut = 'no',
957                                                         max = 1,
958                                                         fr = "Facteur d'importance pour variable de sortie scalaire",
959                                                         ang = "ImportanceFactor",
960                                                         ),
961
962                              ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
963
964                                     NumericalResults  = SIMP ( statut = "o",
965                                                                typ = 'TXM',
966                                                                into = ( 'yes', 'no' ),
967                                                                defaut = 'yes',
968                                                                max = 1,
969                                                                fr = "Resultats numeriques",
970                                                                ang = "NumericalResults",
971                                                                ),
972
973                                      GraphicalResults  = SIMP ( statut = "o",
974                                                                 typ = 'TXM',
975                                                                 into = ( 'yes', 'no' ),
976                                                                 defaut = 'no',
977                                                                 max = 1,
978                                                                 fr = "Resultats graphiques",
979                                                                 ang = "GraphicalResults",
980                                                                 ),
981
982                             ), # Fin BLOC ImportanceFactorSettings
983
984                       ), # Fin FACT Result
985                                                                
986                   ), # Fin BLOC TaylorVarianceDecompositionSettings
987
988
989
990                   RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ",
991
992                           PointsNumber = SIMP ( statut = "o",
993                                                 typ = "I",
994                                                 val_min = 1,
995                                                 fr = "Nombre de points",
996                                                 ang = "Points number",
997                                                 ),
998
999                        Result = FACT ( statut = "o",
1000                                       min = 1,
1001                                       max = "**",
1002
1003                               EmpiricalMean = SIMP ( statut = "o",
1004                                                      typ = 'TXM',
1005                                                      into = ( 'yes', 'no' ),
1006                                                      defaut = 'yes',
1007                                                      max = 1,
1008                                                      fr = "Moyenne empirique",
1009                                                      ang = "Empirical mean",
1010                                                      ),
1011
1012                               EmpiricalStandardDeviation = SIMP ( statut = "o",
1013                                                                   typ = 'TXM',
1014                                                                   into = ( 'yes', 'no' ),
1015                                                                   defaut = 'yes',
1016                                                                   max = 1,
1017                                                                   fr = "Ecart-type empirique",
1018                                                                   ang = "Empirical standard deviation",
1019                                                                   ),
1020
1021                               EmpiricalQuantile = SIMP ( statut = "o",
1022                                                          typ = 'TXM',
1023                                                          into = ( 'yes', 'no' ),
1024                                                          defaut = 'yes',
1025                                                          max = 1,
1026                                                          fr = "Quantile empirique",
1027                                                          ang = "Empirical quantile",
1028                                                          ),
1029
1030                               EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ",
1031
1032                                   EmpiricalQuantile_Order = SIMP ( statut = "o",
1033                                                                    typ = 'R',
1034                                                                    defaut = 0.95,
1035                                                                    max = 1,
1036                                                                    val_min = 0.0,
1037                                                                    val_max = 1.0,
1038                                                                    fr = "Ordre du quantile empirique",
1039                                                                    ang = "Empirical quantile order",
1040                                                                    ),
1041
1042                               ), # Fin BLOC EmpiricalQuantileSettings
1043
1044                               AnalysedCorrelations = SIMP ( statut = "o",
1045                                                             typ = 'TXM',
1046                                                             into = ( 'yes', 'no' ),
1047                                                             defaut = 'no',
1048                                                             max = 1,
1049                                                             fr = "Correlations analysees",
1050                                                             ang = "Analysed correlations",
1051                                                             ),
1052
1053                               KernelSmoothing = SIMP ( statut = "o",
1054                                                        typ = 'TXM',
1055                                                        into = ( 'yes', 'no' ),
1056                                                        defaut = 'no',
1057                                                        max = 1,
1058                                                        fr = "Kernel smoothing de l'echantillon",
1059                                                        ang = "Kernel smoothing of the sample",
1060                                                        ),
1061
1062                       ), # Fin FACT Result
1063                                                                
1064                   ), # Fin BLOC RandomSamplingSettings
1065
1066   ), # Fin BLOC CentralUncertainty
1067
1068
1069
1070
1071   ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ",
1072
1073          Event =  FACT ( statut = "o",
1074                          min = 1,
1075                          max = 1,
1076
1077                          Threshold = SIMP ( statut = "o",
1078                                             typ = "R",
1079                                             max = 1,
1080                                             fr = "Le seuil de defaillance",
1081                                             ang = "Failure threshold",
1082                                             ),
1083
1084                          ComparisonOperator = SIMP ( statut = "o",
1085                                                      typ = "TXM",
1086                                                      max = 1,
1087                                                      into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ),
1088                                                      fr = "Que faut-il ne pas depasser : un maximum ou un minimum",
1089                                                      ang = "What is the failure threshold : maximum or minimum",
1090                                                      ),
1091          ), # Fin FACT Event
1092                          
1093
1094          Method = SIMP ( statut = "o",
1095                          typ = "TXM",
1096                          into = ( "Simulation", "Analytical" ),
1097                          fr = "Methode",
1098                          ang = "Method",
1099                          ),
1100
1101          SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ",
1102
1103                Algorithm = SIMP ( statut = "o",
1104                                   typ = "TXM",
1105                                   into = ( "MonteCarlo", "LHS", "ImportanceSampling" ),
1106                                   fr = "Algorithme de simulation",
1107                                   ang = "Simulation algorithm",
1108                                   ),
1109
1110                                  
1111                RandomGenerator = FACT ( statut = "o",
1112                                         min = 1,
1113                                         max = 1,
1114
1115                            SeedToBeSet = SIMP ( statut = "o",
1116                                                 typ = 'TXM',
1117                                                 into = ( 'yes', 'no' ),
1118                                                 defaut = 'no',
1119                                                 max = 1,
1120                                                 fr = "La racine du generateur aleatoire doit-elle etre positionnee ?",
1121                                                 ang = "Does the random generator seed need to be set ?",
1122                                                 ),
1123
1124                            SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ",
1125
1126                                                  RandomGeneratorSeed = SIMP ( statut = "o",
1127                                                                               typ = "I",
1128                                                                               max = 1,
1129                                                                               fr = "Racine du generateur aleatoire",
1130                                                                               ang = "Random generator seed",
1131                                                                               ),
1132
1133                                                ), # Fin BLOC SeedSettings
1134
1135                ), # Fin FACT RandomGenerator
1136
1137
1138                BlockSize = SIMP ( statut = "f",
1139                                   typ = "I",
1140                                   max = 1,
1141                                   val_min = 1,
1142                                   defaut = 1,
1143                                   fr = "Nombre de calculs realises en bloc",
1144                                   ang = "Number of computations as a block",
1145                                   ),
1146
1147                MaximumOuterSampling = SIMP ( statut = "o",
1148                                              typ = "I",
1149                                              max = 1,
1150                                              val_min = 1,
1151                                              fr = "Maximum d'iterations externes",
1152                                              ang = "Maximum outer Sampling value",
1153                                              ),
1154
1155                MaximumCoefficientOfVariation = SIMP ( statut = "f",
1156                                                       typ = "R",
1157                                                       max = 1,
1158                                                       defaut = 0.1,
1159                                                       val_min = 0.0,
1160                                                       fr = " maximum ...",
1161                                                       ang = "Absolute maximum ...."
1162                                                       ),
1163
1164                ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ",
1165
1166                             MeanVector = SIMP ( statut = "o",
1167                                                 typ = "R",
1168                                                 max = "**",
1169                                                 fr = "Moyenne",
1170                                                 ang = "Mean vector",
1171                                                 ),
1172
1173                             Correlation = SIMP ( statut = "o",
1174                                                  typ = 'TXM',
1175                                                  into = ( 'Independent', 'Linear' ),
1176                                                  defaut = 'Linear',
1177                                                  max = 1,
1178                                                  fr = "Le type de correlation entre les variables",
1179                                                  ang = "Correlation between variables",
1180                                                  ),
1181
1182                ), # Fin BLOC ImportanceSamplingSettings
1183
1184                Result = FACT ( statut = "o",
1185                                       min = 1,
1186                                       max = "**",
1187
1188                     Probability = SIMP ( statut = "o",
1189                                          typ = 'TXM',
1190                                          into = ( 'yes', ),
1191                                          defaut = 'yes',
1192                                          max = 1,
1193                                          fr = "Probabiblite",
1194                                          ang = "Probability",
1195                                          ),
1196
1197                     StandardDeviation = SIMP ( statut = "o",
1198                                          typ = 'TXM',
1199                                          into = ( 'yes', ),
1200                                          defaut = 'yes',
1201                                          max = 1,
1202                                          fr = "Ecart type",
1203                                          ang = "Standard deviation",
1204                                          ),
1205
1206                     ConfidenceInterval = SIMP ( statut = "o",
1207                                                 typ = 'TXM',
1208                                                 into = ( 'yes', 'no' ),
1209                                                 defaut = 'yes',
1210                                                 max = 1,
1211                                                 fr = "Ecart-type empirique",
1212                                                 ang = "Empirical standard deviation",
1213                                                 ),
1214
1215                     ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ",
1216
1217                           Level = SIMP ( statut = "o",
1218                                          typ = 'R',
1219                                          defaut = 0.9,
1220                                          max = 1,
1221                                          val_min = 0.0,
1222                                          val_max = 1.0,
1223                                          fr = "Niveau de confiance",
1224                                          ang = "Confidence level",
1225                                          ),
1226                                                      
1227                     ), # Fin BLOC ConfidenceIntervalSettings
1228                                
1229                     VariationCoefficient = SIMP ( statut = "o",
1230                                                   typ = 'TXM',
1231                                                   into = ( 'yes', 'no' ),
1232                                                   defaut = 'yes',
1233                                                   max = 1,
1234                                                   fr = "Coefficient de variation",
1235                                                   ang = "VariationCoefficient",
1236                                                   ),
1237
1238                     IterationNumber = SIMP ( statut = "o",
1239                                              typ = 'TXM',
1240                                              into = ( 'yes', 'no' ),
1241                                              defaut = 'yes',
1242                                              max = 1,
1243                                              fr = "Nombre d'iterations",
1244                                              ang = "Iteration number",
1245                                              ),
1246
1247                     ConvergenceGraph = SIMP ( statut = "o",
1248                                              typ = 'TXM',
1249                                              into = ( 'yes', 'no' ),
1250                                              defaut = 'yes',
1251                                              max = 1,
1252                                              fr = "Graphe de convergence",
1253                                              ang = "Convergence graph",
1254                                              ),
1255
1256                ), # Fin FACT Result
1257                                                                
1258
1259
1260          ), # Fin BLOC SimulationSettings
1261
1262
1263                                
1264          AnalyticalSettings = BLOC ( condition = " Method in ( 'Analytical', ) ",
1265
1266                 Approximation = SIMP ( statut = "o",
1267                                        typ = "TXM",
1268                                        defaut = "FirstOrder",
1269                                        into = ( "FirstOrder", "SecondOrder" ),
1270                                        max = 1,
1271                                        fr = "Approximation",
1272                                        ang = "Approximation",
1273                                        ),
1274
1275                 OptimizationAlgorithm = SIMP ( statut = "o",
1276                                                typ = "TXM",
1277                                                defaut = "Cobyla",
1278                                                into = ( "Cobyla", "AbdoRackwitz" ),
1279                                                max = 1,
1280                                                fr = "Methode d'optimisation",
1281                                                ang = "Optimisation method",
1282                                                ),
1283
1284                                      
1285                 PhysicalStartingPoint = SIMP ( statut = "f",
1286                                                typ = "R",
1287                                                max = "**",
1288                                                fr = "Point de demarrage de l'algorithme iteratif",
1289                                                ang = "Initial point for iterative process",
1290                                                ),
1291
1292                 MaximumIterationsNumber = SIMP ( statut = "f",
1293                                                  typ = "I",
1294                                                  max = 1,
1295                                                  val_min = 1,
1296                                                  fr = "Nombre maximum d iterations",
1297                                                  ang = "Maximum number of iterations",
1298                                                  ),
1299
1300                                      
1301                 MaximumAbsoluteError = SIMP ( statut = "f",
1302                                               typ = "R",
1303                                               max = 1,
1304                                               defaut = 1E-4,
1305                                               val_min = 0.0,
1306                                               fr = "Distance maximum absolue entre 2 iterations successifs",
1307                                               ang = "Absolute maximum distance between 2 successive iterates",
1308                                               ),
1309
1310                 MaximumRelativeError = SIMP ( statut = "f",
1311                                                typ = "R",
1312                                                max = 1,
1313                                                defaut = 1E-4,
1314                                                val_min = 0.0,
1315                                                fr = "Distance maximum relative entre 2 iterations successives",
1316                                                ang = "Relative maximum distance between 2 successive iterates",
1317                                                ),
1318                                      
1319                 MaximumConstraintError = SIMP ( statut = "f",
1320                                                 typ = "R",
1321                                                 max = 1,
1322                                                 defaut = 1E-4,
1323                                                 val_min = 0.0,
1324                                                 fr = "Valeur maximum absolue de la fonction moins la valeur du niveau",
1325                                                 ang = "Maximum absolute value of the constraint function minus the level value",
1326                                                 ),
1327
1328                 ImportanceSampling = SIMP ( statut = "o",
1329                                             typ = 'TXM',
1330                                             into = ( 'yes', 'no' ),
1331                                             defaut = 'no',
1332                                             max = 1,
1333                                             fr = "Tirage d'importance au point de conception",
1334                                             ang = "Importance sampling at design point",
1335                                             ),
1336
1337                 FirstOrder = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ",
1338
1339                     Probability = SIMP ( statut = "o",
1340                                          typ = 'TXM',
1341                                          into = ( 'yes', ),
1342                                          defaut = 'yes',
1343                                          max = 1,
1344                                          fr = "Probabiblite",
1345                                          ang = "Probability",
1346                                          ),
1347
1348                     DesignPoint = SIMP ( statut = "o",
1349                                          typ = 'TXM',
1350                                          into = ( 'yes', 'no' ),
1351                                          defaut = 'yes',
1352                                          max = 1,
1353                                          fr = "Point de conception",
1354                                          ang = "Design point",
1355                                          ),
1356
1357                     HasoferReliabilityIndex = SIMP ( statut = "o",
1358                                                  typ = 'TXM',
1359                                                  into = ( 'yes', 'no' ),
1360                                                  defaut = 'yes',
1361                                                  max = 1,
1362                                                  fr = "Indice de fiabilite",
1363                                                  ang = "Reliability index",
1364                                                  ),
1365
1366                     ImportanceFactor = SIMP ( statut = "o",
1367                                               typ = 'TXM',
1368                                               into = ( 'yes', 'no' ),
1369                                               defaut = 'no',
1370                                               max = 1,
1371                                               fr = "Facteur d'importance pour variable de sortie scalaire",
1372                                               ang = "ImportanceFactor",
1373                                               ),
1374
1375                     ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1376
1377                             ImportanceFactorNumericalResults  = SIMP ( statut = "o",
1378                                                        typ = 'TXM',
1379                                                        into = ( 'yes', 'no' ),
1380                                                        defaut = 'yes',
1381                                                        max = 1,
1382                                                        fr = "Resultats numeriques",
1383                                                        ang = "NumericalResults",
1384                                                        ),
1385
1386                              ImportanceFactorGraphicalResults  = SIMP ( statut = "o",
1387                                                         typ = 'TXM',
1388                                                         into = ( 'yes', 'no' ),
1389                                                         defaut = 'no',
1390                                                         max = 1,
1391                                                         fr = "Resultats graphiques",
1392                                                         ang = "GraphicalResults",
1393                                                         ),
1394
1395                     ), # Fin BLOC ImportanceFactorSettings
1396
1397
1398                     SensitivityAnalysis = SIMP ( statut = "o",
1399                                                  typ = 'TXM',
1400                                                  into = ( 'yes', 'no' ),
1401                                                  defaut = 'no',
1402                                                  max = 1,
1403                                                  fr = "Analyse de sensibilite",
1404                                                  ang = "Sensitivity analysis",
1405                                                  ),
1406
1407                     SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ",
1408
1409                             FORMEventProbabilitySensitivity = SIMP ( statut = "o",
1410                                                              typ = 'TXM',
1411                                                              into = ( 'yes', 'no' ),
1412                                                              defaut = 'no',
1413                                                              max = 1,
1414                                                              fr = "Indice de fiabilite de Hasofer",
1415                                                              ang = "Hasofer reliability index",
1416                                                              ),
1417         
1418                             FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ",
1419         
1420                                     FORMEventProbabilitySensitivityNumericalResults  = SIMP ( statut = "o",
1421                                                                typ = 'TXM',
1422                                                                into = ( 'yes', 'no' ),
1423                                                                defaut = 'yes',
1424                                                                max = 1,
1425                                                                fr = "Resultats numeriques",
1426                                                                ang = "NumericalResults",
1427                                                                ),
1428         
1429                                      FORMEventProbabilitySensitivityGraphicalResults  = SIMP ( statut = "o",
1430                                                                 typ = 'TXM',
1431                                                                 into = ( 'yes', 'no' ),
1432                                                                 defaut = 'no',
1433                                                                 max = 1,
1434                                                                 fr = "Resultats graphiques",
1435                                                                 ang = "GraphicalResults",
1436                                                                 ),
1437
1438                             ), # Fin BLOC FORMEventProbabilitySensitivitySettings
1439                                                          
1440                             HasoferReliabilityIndexSensitivity = SIMP ( statut = "o",
1441                                                              typ = 'TXM',
1442                                                              into = ( 'yes', 'no' ),
1443                                                              defaut = 'no',
1444                                                              max = 1,
1445                                                              fr = "Indice de fiabilite de Hasofer",
1446                                                              ang = "Hasofer reliability index",
1447                                                              ),
1448         
1449                             HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ",
1450         
1451                                     HasoferReliabilityIndexSensitivityNumericalResults  = SIMP ( statut = "o",
1452                                                                typ = 'TXM',
1453                                                                into = ( 'yes', 'no' ),
1454                                                                defaut = 'yes',
1455                                                                max = 1,
1456                                                                fr = "Resultats numeriques",
1457                                                                ang = "NumericalResults",
1458                                                                ),
1459         
1460                                      HasoferReliabilityIndexSensitivityGraphicalResults  = SIMP ( statut = "o",
1461                                                                 typ = 'TXM',
1462                                                                 into = ( 'yes', 'no' ),
1463                                                                 defaut = 'no',
1464                                                                 max = 1,
1465                                                                 fr = "Resultats graphiques",
1466                                                                 ang = "GraphicalResults",
1467                                                                 ),
1468
1469                             ), # Fin BLOC HasoferReliabilityIndexSettings
1470                                                          
1471                     ), # Fin BLOC SensitivityAnalysisSettings
1472
1473                     FunctionCallsNumber = SIMP ( statut = "o",
1474                                                  typ = 'TXM',
1475                                                  into = ( 'yes', 'no' ),
1476                                                  defaut = 'no',
1477                                                  max = 1,
1478                                                  fr = "Nombre d'appels a la fonction",
1479                                                  ang = "Function calls number",
1480                                                  ),
1481
1482
1483                 ), # Fin BLOC FirstOrder
1484
1485
1486                 SecondOrder = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ",
1487
1488
1489                     TvedtApproximation = SIMP ( statut = "o",
1490                                                 typ = 'TXM',
1491                                                 into = ( 'yes', 'no' ),
1492                                                 defaut = 'no',
1493                                                 max = 1,
1494                                                 fr = "Approximation de Tvedt",
1495                                                 ang = "Tvedt approximation",
1496                                                 ),
1497
1498                     HohenBichlerApproximation = SIMP ( statut = "o",
1499                                                        typ = 'TXM',
1500                                                        into = ( 'yes', 'no' ),
1501                                                        defaut = 'no',
1502                                                        max = 1,
1503                                                        fr = "Approximation de HohenBichler",
1504                                                        ang = "HohenBichler approximation",
1505                                                        ),
1506
1507                     BreitungApproximation = SIMP ( statut = "o",
1508                                                    typ = 'TXM',
1509                                                    into = ( 'yes', 'no' ),
1510                                                    defaut = 'no',
1511                                                    max = 1,
1512                                                    fr = "Approximation de Breitung",
1513                                                    ang = "Breitung approximation",
1514                                                    ),
1515
1516                     DesignPoint = SIMP ( statut = "o",
1517                                          typ = 'TXM',
1518                                          into = ( 'yes', 'no' ),
1519                                          defaut = 'yes',
1520                                          max = 1,
1521                                          fr = "Point de conception",
1522                                          ang = "Design point",
1523                                          ),
1524
1525                     ImportanceFactor = SIMP ( statut = "o",
1526                                               typ = 'TXM',
1527                                               into = ( 'yes', 'no' ),
1528                                               defaut = 'no',
1529                                               max = 1,
1530                                               fr = "Facteur d'importance pour variable de sortie scalaire",
1531                                               ang = "ImportanceFactor",
1532                                               ),
1533
1534                     ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1535
1536                             ImportanceFactorNumericalResults  = SIMP ( statut = "o",
1537                                                        typ = 'TXM',
1538                                                        into = ( 'yes', 'no' ),
1539                                                        defaut = 'yes',
1540                                                        max = 1,
1541                                                        fr = "Resultats numeriques",
1542                                                        ang = "NumericalResults",
1543                                                        ),
1544
1545                              ImportanceFactorGraphicalResults  = SIMP ( statut = "o",
1546                                                         typ = 'TXM',
1547                                                         into = ( 'yes', 'no' ),
1548                                                         defaut = 'no',
1549                                                         max = 1,
1550                                                         fr = "Resultats graphiques",
1551                                                         ang = "GraphicalResults",
1552                                                         ),
1553
1554                     ), # Fin BLOC ImportanceFactorSettings
1555
1556                     SensitivityAnalysis = SIMP ( statut = "o",
1557                                                  typ = 'TXM',
1558                                                  into = ( 'yes', 'no' ),
1559                                                  defaut = 'no',
1560                                                  max = 1,
1561                                                  fr = "Analyse de sensibilite",
1562                                                  ang = "Sensitivity analysis",
1563                                                  ),
1564
1565                     SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ",
1566
1567                             HasoferReliabilityIndexSensitivity = SIMP ( statut = "o",
1568                                                              typ = 'TXM',
1569                                                              into = ( 'yes', 'no' ),
1570                                                              defaut = 'no',
1571                                                              max = 1,
1572                                                              fr = "Indice de fiabilite de Hasofer",
1573                                                              ang = "Hasofer reliability index",
1574                                                              ),
1575         
1576                             HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ",
1577         
1578                                     HasoferReliabilityIndexSensitivityNumericalResults  = SIMP ( statut = "o",
1579                                                                typ = 'TXM',
1580                                                                into = ( 'yes', 'no' ),
1581                                                                defaut = 'yes',
1582                                                                max = 1,
1583                                                                fr = "Resultats numeriques",
1584                                                                ang = "NumericalResults",
1585                                                                ),
1586         
1587                                      HasoferReliabilityIndexSensitivityGraphicalResults  = SIMP ( statut = "o",
1588                                                                 typ = 'TXM',
1589                                                                 into = ( 'yes', 'no' ),
1590                                                                 defaut = 'no',
1591                                                                 max = 1,
1592                                                                 fr = "Resultats graphiques",
1593                                                                 ang = "GraphicalResults",
1594                                                                 ),
1595
1596                             ), # Fin BLOC HasoferReliabilityIndexSettings
1597                                                          
1598                     ), # Fin BLOC SensitivityAnalysisSettings
1599
1600                     FunctionCallsNumber = SIMP ( statut = "o",
1601                                                  typ = 'TXM',
1602                                                  into = ( 'yes', 'no' ),
1603                                                  defaut = 'no',
1604                                                  max = 1,
1605                                                  fr = "Nombre d'appels a la fonction",
1606                                                  ang = "Function calls number",
1607                                                  ),
1608
1609
1610                 ), # Fin BLOC SecondOrder
1611
1612
1613                                      
1614         ), # Fin BLOC AnalyticalSettings
1615
1616
1617                                
1618   ), # Fin BLOC ThresholdExceedence
1619
1620
1621
1622 ) # Fin PROC CRITERIA
1623 # Ordre Catalogue CRITERIA
1624
1625
1626
1627
1628
1629
1630