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