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