Salome HOME
sauve0206
[tools/eficas.git] / Openturns_Study / OpenTURNS_Cata_Study_V6.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 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 = "Borne inferieure du supoport de la loi",
324                                   ang = "Support lower bound",
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 = "Borne inferieure du supoport de la loi",
407                                     ang = "Support lower bound",
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 : largeur de classe, probabilité associée",
415                                        ang = "Class bandwidth, associated probability 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 support 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 = "Parametre N de la loi | N > 0",
548                                     ang = "N parameter | N > 0",
549                                     ),
550
551                        # Il faut definir une collection de couples ( x,p ) 
552                        Values = SIMP ( statut = 'o',
553                                        typ = "R",
554                                        max = '**',
555                                        fr = "Liste de probabilités",
556                                        ang = "Probability list",
557                                        validators=VerifTypeTuple(('R','R')),
558                                        ),
559
560    ), # Fin BLOC MULTINOMIAL
561
562
563   NONCENTRALSTUDENT = BLOC ( condition = " Kind in ( 'NonCentralStudent', ) ",
564
565                    Nu = SIMP ( statut = "o",
566                                typ = "R",
567                                max = 1,
568                                fr = "Parametre Nu de la loi | Nu > 0",
569                                ang = "Nu parameter | Nu > 0",
570                               ),
571
572                    Delta = SIMP ( statut = "o",
573                                   typ = "R",
574                                   max = 1,
575                                   fr = "Parametre Delta de la loi | Delta > 0",
576                                   ang = "Delta parameter | Delta > 0",
577                                   ),
578                    
579                    Gamma = SIMP ( statut = "o",
580                                   typ = "R",
581                                   max = 1,
582                                   fr = "Parametre Gamma de centrage de la loi",
583                                   ang = "Gamma parameter",
584                                   ),
585
586   ), # Fin BLOC NONCENTRALSTUDENT
587
588
589    NORMAL = BLOC ( condition = " Kind in ( 'Normal', ) ",
590
591                     Mu = SIMP ( statut = "o",
592                                 typ = "R",
593                                 max = 1,
594                                 fr = "Moyenne de la loi",
595                                 ang = "Mean value",
596                                 ),
597
598                    Sigma = SIMP ( statut = "o",
599                                   typ = "R",
600                                   max = 1,
601                                   val_min = 0.,
602                                   fr = "Ecart type de la loi",
603                                   ang = "Standard deviation",
604                                   ),
605
606    ), # Fin BLOC NORMAL
607
608
609
610    POISSON = BLOC ( condition = " Kind in ( 'Poisson', ) ",
611
612                      Lambda = SIMP ( statut = "o",
613                                      typ = "R",
614                                      max = 1,
615                                      val_min = 0.,
616                                      fr = "Parametre Lambda de la loi | Lambda > 0",
617                                      ang = "Lambda parameter | Lambda > 0",
618                                      ),
619
620    ), # Fin BLOC POISSON
621
622
623
624   RAYLEIGH = BLOC ( condition = " Kind in ( 'Rayleigh', ) ",
625
626                    Sigma = SIMP ( statut = "o",
627                                   typ = "R",
628                                   max = 1,
629                                   fr = "Parametre Sigma de la loi | Sigma > 0",
630                                   ang = "Sigma parameter | Sigma > 0",
631                                   ),
632
633                    Gamma = SIMP ( statut = "o",
634                                   typ = "R",
635                                   max = 1,
636                                   fr = "Borne inferieure du support de la loi",
637                                   ang = "Support lower bound",
638                                   ),
639  ), # Fin BLOC RAYLEIGH
640
641
642    STUDENT = BLOC ( condition = " Kind in ( 'Student', ) ",
643
644                      Mu = SIMP ( statut = "o",
645                                  typ = "R",
646                                  max = 1,
647                                  fr = "Parametre Mu de la loi",
648                                  ang = "Mu parameter",
649                                  ),
650
651                      Nu = SIMP ( statut = "o",
652                                  typ = "R",
653                                  max = 1,
654                                  val_min = 2.,
655                                  fr = "Parametre Nu de la loi | Nu > 2",
656                                  ang = "Nu parameter | Nu > 2",
657                                  ),
658
659                    Sigma = SIMP ( statut = "o",
660                                   typ = "R",
661                                   max = 1,
662                                   fr = "Parametre Sigma de la loi",
663                                   ang = "Sigma parameter",
664                                   ),
665
666    ), # Fin BLOC STUDENT
667
668
669
670    TRIANGULAR = BLOC ( condition = " Kind in ( 'Triangular', ) ",
671
672                          A = SIMP ( statut = "o",
673                                     typ = "R",
674                                     max = 1,
675                                     fr = "Borne inferieure du support de la loi | A < M < B",
676                                     ang = "Support lower bound | A < M < B",
677                                     ),
678
679                          M = SIMP ( statut = "o",
680                                     typ = "R",
681                                     max = 1,
682                                     fr = "Mode de la loi | A < M < B",
683                                     ang = "Mode | A < M < B",
684                                     ),
685
686                          B = SIMP ( statut = "o",
687                                     typ = "R",
688                                     max = 1,
689                                     fr = "Borne superieure du support de la loi | A < M < B",
690                                     ang = "Support upper bound | A < M < B",
691                                     ),
692
693    ), # Fin BLOC TRIANGULAR
694
695
696
697    TRUNCATEDNORMAL = BLOC ( condition = " Kind in ( 'TruncatedNormal', ) ",
698
699                              MuN = SIMP ( statut = "o",
700                                           typ = "R",
701                                           max = 1,
702                                           fr = "Moyenne de la loi Normale non tronquée",
703                                           ang = "Mean value of the associated non truncated normal distribution",
704                                           ),
705
706                              SigmaN = SIMP ( statut = "o",
707                                              typ = "R",
708                                              max = 1,
709                                              val_min = 0.,
710                                              fr = "Ecart-type de la loi Normale non tronquée",
711                                              ang = "Standard deviation of the associated non truncated normal distribution",
712                                              ),
713
714                              A = SIMP ( statut = "o",
715                                         typ = "R",
716                                         max = 1,
717                                         fr = "Borne inferieure de la loi | A < B",
718                                         ang = "Lower bound | A < B",
719                                         ),
720
721                              B = SIMP ( statut = "o",
722                                         typ = "R",
723                                         max = 1,
724                                         fr = "Borne superieure de la loi | A < B",
725                                         ang = "Upper bound | A < B",
726                                         ),
727
728    ), # Fin BLOC TRUNCATEDNORMAL
729
730
731
732    UNIFORM = BLOC ( condition = " Kind in ( 'Uniform', ) ",
733
734                      A = SIMP ( statut = "o",
735                                 typ = "R",
736                                 max = 1,
737                                 fr = "Borne inferieure du support de la loi | A < B",
738                                 ang = "Support lower bound | A < B",
739                                 ),
740
741                      B = SIMP ( statut = "o",
742                                 typ = "R",
743                                 max = 1,
744                                 fr = "Borne superieure du support de la loi | A < B",
745                                 ang = "Support upper bound | A < B",
746                                 ),
747
748    ), # Fin BLOC UNIFORM
749
750
751
752    USERDEFINED = BLOC ( condition = " Kind in ( 'UserDefined', ) ",
753
754                            # Il faut definir une collection de couples ( x,p ) 
755                          Values = SIMP ( statut = 'o',
756                                          typ = 'R',
757                                          max = '**',
758                                          ),
759
760    ), # Fin BLOC USERDEFINED
761
762
763
764    WEIBULL = BLOC ( condition = " Kind in ( 'Weibull', ) ",
765
766                      Settings = SIMP ( statut = "o",
767                                           typ = "TXM",
768                                           max = 1,
769                                           into = ( "AlphaBeta", "MuSigma" ),
770                                           defaut = "AlphaBeta",
771                                           fr = "Parametrage de la loi weibull",
772                                           ang = "Weibull distribution parameter set",
773                                           ),
774
775                      AlphaBeta_Parameters = BLOC ( condition = " Settings in ( 'AlphaBeta', ) ",
776
777                                          Alpha = SIMP ( statut = "o",
778                                                         typ = "R",
779                                                         max = 1,
780                                                         val_min = 0.,
781                                                         fr = "Parametre Alpha de la loi | Alpha > 0",
782                                                         ang = "Alpha parameter | Alpha > 0",
783                                                         ),
784
785                                          Beta = SIMP ( statut = "o",
786                                                        typ = "R",
787                                                        max = 1,
788                                                        val_min = 0.,
789                                                        fr = "Parametre Beta de la loi | Beta > 0",
790                                                        ang = "Beta parameter | Beta > 0",
791                                                        ),
792
793                                          ), # Fin BLOC AlphaBeta_Parameters
794
795
796                      MuSigma_Parameters = BLOC ( condition = " Settings in ( 'MuSigma', ) ",
797
798                                          Mu = SIMP ( statut = "o",
799                                                      typ = "R",
800                                                      max = 1,
801                                                      fr = "Moyenne de la loi",
802                                                      ang = "Mean value",
803                                                      ),
804
805                                          Sigma = SIMP ( statut = "o",
806                                                         typ = "R",
807                                                         max = 1,
808                                                         val_min = 0.,
809                                                         fr = "Ecart type de la loi",
810                                                         ang = "Standard deviation",
811                                                         ),
812
813                                          ), # Fin BLOC MuSigma_Parameters
814
815                      Gamma = SIMP ( statut = "o",
816                                     typ = "R",
817                                     max = 1,
818                                     fr = "Borne inferieure du support de la loi",
819                                     ang = "Support lower bound",
820                                     ),
821
822     ), # Fin BLOC WEIBULL
823
824 ) # Fin OPER DISTRIBUTION
825 # Ordre Catalogue DISTRIBUTION
826
827
828
829 #================================
830 # Definition du modele physique
831 #================================
832
833
834 DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE",
835             sd_prod = variable,
836             op = None,
837             fr = "Variable deterministe",
838             ang = "Deterministic variable",
839             
840   N = SIMP ( statut = 'o',
841              typ = "TXM",
842              fr = "Nom",
843              ang = "Name",
844              ),
845             
846   T = SIMP ( statut = 'o',
847              defaut = "in",
848              into = ( "in" , "out", ),
849              typ = "TXM",
850              fr = "Type",
851              ang = "Type",
852              ),
853             
854   R = SIMP ( statut = 'o',
855              defaut = 0,
856              typ = "I",
857              fr = "Rang",
858              ang = "Rank",
859              ),
860             
861 ) # Fin OPER DETERMINISTICVARIABLE
862 # Ordre Catalogue DETERMINISTICVARIABLE
863
864
865
866 import opsOT
867 MODEL = MACRO ( nom = "MODEL",
868                 op = None,
869                 UIinfo = { "groupes" : ( "Gestion du travail", ) },
870                 fr = "Chargement du wrapper du modele physique",
871                 ang = "Physical model wrapper load",
872                 sd_prod = opsOT.INCLUDE,
873                 op_init = opsOT.INCLUDE_context,
874                 fichier_ini = 1,
875                
876   FileName = SIMP ( statut = "o",
877                     typ = "Fichier",
878                     fr = "Nom du modele physique",
879                     ang = "Physical model identifier",
880                     ),
881                
882 ) # Fin PROC MODEL
883 # Ordre Catalogue MODEL
884
885
886
887
888 VARIABLE = PROC ( nom = "VARIABLE",
889                   op = None,
890                   docu = "",
891                   fr = "Variable probabiliste",
892                   ang = "Probabilistic variable",
893
894   ModelVariable = SIMP ( statut = "o",
895                          typ = ( variable, ),
896                          fr = "Variable d'entrée du modèle",
897                          ang = "Input variable of the model",
898                          ),
899
900   Distribution = SIMP ( statut = "o",
901                         typ = ( loi, ),
902                         fr = "Modélisation probabiliste",
903                         ang = "Probabilistic modelisation",
904                         ),
905                   
906 ) # Fin PROC VARIABLE
907 # Ordre Catalogue VARIABLE
908
909
910 CORRELATION = PROC ( nom = 'CORRELATION',
911                      op = None,
912                      docu = "",
913                      fr = "Correlation entre variables",
914                      ang = "Variable correlation",
915
916   Copula = SIMP ( statut = "o",
917                   typ = 'TXM',
918                   into = ( "Independent", "Normal" ),
919                   defaut = "Independent",
920                   fr = "Type de la copule",
921                   ang = "Copula kind",
922                   ),
923
924   Matrix = BLOC ( condition = "Copula in ( 'Normal', )",
925                   
926     CorrelationMatrix = SIMP ( statut = "o",
927                                typ = Matrice(nbLigs=None,
928                                              nbCols=None,
929                                              methodeCalculTaille='NbDeVariables',
930                                              valSup=1,
931                                              valMin=-1,
932                                              structure="symetrique"),
933                                fr = "Matrice de correlation entre les variables d'entree",
934                                ang = "Correlation matrix for input variables",
935                                ),
936   ), # Fin BLOC Matrix
937
938
939 ) # Fin PROC CORRELATION
940 # Ordre Catalogue CORRELATION
941
942
943
944
945
946 #================================
947 # Definition de l'etude
948 #================================
949
950 # Nota : les variables de type PROC doivent etre en majuscules !
951 CRITERIA = PROC ( nom = "CRITERIA",
952                   op = None,
953                   docu = "",
954                   fr = "Critère de l'étude d'incertitudes",
955                   ang = "Uncertainty study criteria",
956
957
958
959   Type = SIMP ( statut = "o",
960                 typ = "TXM",
961                 into = ( "Min/Max", "Central Uncertainty", "Threshold Exceedence" ),
962                 fr = "Type du critère",
963                 ang = "Criteria type",
964                 ),
965
966
967
968
969
970
971
972   MinMax = BLOC ( condition = " Type in ( 'Min/Max', ) ",
973
974                   Method = SIMP ( statut = "o",
975                                   typ = "TXM",
976                                   into = ( "Experiment Plane", "Random Sampling" ),
977                                   fr = "Methode",
978                                   ang = "Method",
979                                   ),
980                   # UC 3.1.1
981                   ExperimentPlaneSettings = BLOC ( condition = " Method in ( 'Experiment Plane', ) ",
982
983                           ExperimentPlane = SIMP ( statut = "o",
984                                                    typ = "TXM",
985                                                    into = ( "Axial", "Factorial", "Composite", ),
986                                                    fr = "Type du plan d'expérience",
987                                                    ang = "Experiment plane type",
988                                                    ),
989
990                           Levels = SIMP ( statut = "o",
991                                           typ = "R",
992                                           val_min = 0.0,
993                                           max = '**',    
994                                           fr = "Liste de niveaux dans chaque direction",
995                                           ang = "Levels in each direction",
996                                           ),
997
998                           # Scaled Vector
999                           UnitPerDimension = SIMP ( statut = "o",
1000                                           typ = "R",
1001                                           max = '**',    
1002                                           fr = "Unité par dimension (autant que de variables declarées)",
1003                                           ang = "Units per dimension (as much as declared variables)",
1004                                           ),
1005
1006                           # Translation Vector
1007                           Center = SIMP ( statut = "o",
1008                                           typ = "R",
1009                                           max = '**',    
1010                                           fr = "Centre du plan d'expérience",
1011                                           ang = "Experiment plan center",
1012                                           ),
1013
1014                     ), # Fin BLOC ExperimentPlaneSettings
1015
1016
1017
1018                   RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ",
1019
1020                           SimulationsNumber = SIMP ( statut = "o",
1021                                                 typ = "I",
1022                                                 val_min = 1,
1023                                                 fr = "Nombre de points",
1024                                                 ang = "Points number",
1025                                                 ),
1026
1027                     ), # Fin BLOC RandomSamplingSettings
1028
1029                   Result = SIMP (  statut = "o",
1030                                    typ = "TXM",
1031                                    into = ( "Min/Max", ),
1032                                    defaut = "Min/Max",
1033                                    fr = "Le minimum et le maximum de la variable d'intérêt",
1034                                    ang = "The min and max values",
1035                                    ),
1036
1037
1038   ), # Fin BLOC MinMax
1039
1040
1041
1042
1043   CentralUncertainty = BLOC ( condition = " Type in ( 'Central Uncertainty', ) ",
1044
1045                   Method = SIMP ( statut = "o",
1046                                   typ = "TXM",
1047                                   into = ( "Taylor Variance Decomposition", "Random Sampling" ),
1048                                   fr = "Methode",
1049                                   ang = "Method",
1050                                   ),
1051                               
1052                   # UC 3.2.
1053                   TaylorVarianceDecompositionSettings = BLOC ( condition = " Method in ( 'Taylor Variance Decomposition', ) ",
1054
1055                       Result = FACT ( statut = "o",
1056                                       min = 1,
1057                                       max = "**",
1058
1059                               MeanFirstOrder = SIMP ( statut = "o",
1060                                                 typ = 'TXM',
1061                                                 into = ( 'yes', 'no' ),
1062                                                 defaut = 'yes',
1063                                                 max = 1,
1064                                                 fr = "Moyenne au premier ordre",
1065                                                 ang = "MeanFirstOrder",
1066                                                 ),
1067
1068                               StandardDeviationFirstOrder = SIMP ( statut = "o",
1069                                                                    typ = 'TXM',
1070                                                                    into = ( 'yes', 'no' ),
1071                                                                    defaut = 'yes',
1072                                                                    max = 1,
1073                                                                    fr = "Ecart-type au premier ordre",
1074                                                                    ang = "StandardDeviationFirstOrder",
1075                                                                    ),
1076
1077                               MeanSecondOrder = SIMP ( statut = "o",
1078                                                        typ = 'TXM',
1079                                                        into = ( 'yes', 'no' ),
1080                                                        defaut = 'no',
1081                                                        max = 1,
1082                                                        fr = "Moyenne au second ordre",
1083                                                        ang = "MeanSecondOrder",
1084                                                        ),
1085
1086                               ImportanceFactor = SIMP ( statut = "o",
1087                                                         typ = 'TXM',
1088                                                         into = ( 'yes', 'no' ),
1089                                                         defaut = 'yes',
1090                                                         max = 1,
1091                                                         fr = "Facteur d'importance pour variable de sortie scalaire",
1092                                                         ang = "ImportanceFactor",
1093                                                         ),
1094                               ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1095
1096                                      ImportanceFactorDrawingFilename = SIMP ( statut = "o",
1097                                                                               typ = "TXM",
1098                                                                               max = 1,
1099                                                                               fr = "Nom du fichier graphique des facteurs d'importance",
1100                                                                               ang = "Importance Factor Drawing Filename",
1101                                                                               ),
1102                                                                              
1103
1104                               ), # Fin BLOC ImportanceFactorSettings
1105                                       
1106                       ), # Fin FACT Result
1107                                                                
1108                   ), # Fin BLOC TaylorVarianceDecompositionSettings
1109
1110
1111
1112                   RandomSamplingSettings = BLOC ( condition = " Method in ( 'Random Sampling', ) ",
1113
1114                           SimulationsNumber = SIMP ( statut = "o",
1115                                                 typ = "I",
1116                                                 val_min = 1,
1117                                                 fr = "Nombre de points",
1118                                                 ang = "Points number",
1119                                                 ),
1120
1121                        Result = FACT ( statut = "o",
1122                                       min = 1,
1123                                       max = "**",
1124
1125                               EmpiricalMean = SIMP ( statut = "o",
1126                                                      typ = 'TXM',
1127                                                      into = ( 'yes', 'no' ),
1128                                                      defaut = 'yes',
1129                                                      max = 1,
1130                                                      fr = "Moyenne empirique",
1131                                                      ang = "Empirical mean",
1132                                                      ),
1133
1134                               EmpiricalStandardDeviation = SIMP ( statut = "o",
1135                                                                   typ = 'TXM',
1136                                                                   into = ( 'yes', 'no' ),
1137                                                                   defaut = 'yes',
1138                                                                   max = 1,
1139                                                                   fr = "Ecart-type empirique",
1140                                                                   ang = "Empirical standard deviation",
1141                                                                   ),
1142
1143                               EmpiricalQuantile = SIMP ( statut = "o",
1144                                                          typ = 'TXM',
1145                                                          into = ( 'yes', 'no' ),
1146                                                          defaut = 'yes',
1147                                                          max = 1,
1148                                                          fr = "Quantile empirique",
1149                                                          ang = "Empirical quantile",
1150                                                          ),
1151
1152                               EmpiricalQuantileSettings = BLOC ( condition = " EmpiricalQuantile in ( 'yes', ) ",
1153
1154                                   EmpiricalQuantile_Order = SIMP ( statut = "o",
1155                                                                    typ = 'R',
1156                                                                    defaut = 0.95,
1157                                                                    max = 1,
1158                                                                    val_min = 0.0,
1159                                                                    val_max = 1.0,
1160                                                                    fr = "Ordre du quantile empirique",
1161                                                                    ang = "Empirical quantile order",
1162                                                                    ),
1163
1164                               ), # Fin BLOC EmpiricalQuantileSettings
1165
1166                               CorrelationAnalysis = SIMP ( statut = "o",
1167                                                             typ = 'TXM',
1168                                                             into = ( 'yes', 'no' ),
1169                                                             defaut = 'yes',
1170                                                             max = 1,
1171                                                             fr = "Correlations analysees",
1172                                                             ang = "Analysed correlations",
1173                                                             ),
1174
1175                               KernelSmoothing = SIMP ( statut = "o",
1176                                                        typ = 'TXM',
1177                                                        into = ( 'yes', 'no' ),
1178                                                        defaut = 'yes',
1179                                                        max = 1,
1180                                                        fr = "Kernel smoothing de l'echantillon",
1181                                                        ang = "Kernel smoothing of the sample",
1182                                                        ),
1183
1184                               KernelSmoothingSettings = BLOC ( condition = " KernelSmoothing in ( 'yes', ) ",
1185
1186                                      KernelSmoothingDrawingFilename = SIMP ( statut = "o",
1187                                                                               typ = "TXM",
1188                                                                               max = 1,
1189                                                                               fr = "Nom du fichier graphique de la reconstruction a noyau",
1190                                                                               ang = "Kernel Smoothing Drawing Filename",
1191                                                                               ),
1192                                                                              
1193
1194                               ), # Fin BLOC KernelSmoothingSettings
1195                                       
1196                       ), # Fin FACT Result
1197                                                                
1198                   ), # Fin BLOC RandomSamplingSettings
1199
1200   ), # Fin BLOC CentralUncertainty
1201
1202
1203
1204
1205   ThresholdExceedence = BLOC ( condition = " Type in ( 'Threshold Exceedence', ) ",
1206
1207          Event =  FACT ( statut = "o",
1208                          min = 1,
1209                          max = 1,
1210
1211                          Threshold = SIMP ( statut = "o",
1212                                             typ = "R",
1213                                             max = 1,
1214                                             fr = "Le seuil de defaillance",
1215                                             ang = "Failure threshold",
1216                                             ),
1217
1218                          ComparisonOperator = SIMP ( statut = "o",
1219                                                      typ = "TXM",
1220                                                      max = 1,
1221                                                      into = ( "Less", "LessOrEqual", "Equal", "GreaterOrEqual", "Greater" ),
1222                                                      fr = "Que faut-il ne pas depasser : un maximum ou un minimum",
1223                                                      ang = "What is the failure threshold : maximum or minimum",
1224                                                      ),
1225          ), # Fin FACT Event
1226                          
1227
1228          Method = SIMP ( statut = "o",
1229                          typ = "TXM",
1230                          into = ( "Simulation", "FORM_SORM" ),
1231                          fr = "Methode",
1232                          ang = "Method",
1233                          ),
1234
1235          SimulationSettings = BLOC ( condition = " Method in ( 'Simulation', ) ",
1236
1237                Algorithm = SIMP ( statut = "o",
1238                                   typ = "TXM",
1239                                   into = ( "MonteCarlo", "LHS", "ImportanceSampling" ),
1240                                   fr = "Algorithme de simulation",
1241                                   ang = "Simulation algorithm",
1242                                   ),
1243
1244                                  
1245                RandomGenerator = FACT ( statut = "o",
1246                                         min = 1,
1247                                         max = 1,
1248
1249                            SeedToBeSet = SIMP ( statut = "o",
1250                                                 typ = 'TXM',
1251                                                 into = ( 'yes', 'no' ),
1252                                                 defaut = 'no',
1253                                                 max = 1,
1254                                                 fr = "La racine du generateur aleatoire doit-elle etre positionnee ?",
1255                                                 ang = "Does the random generator seed need to be set ?",
1256                                                 ),
1257
1258                            SeedSettings = BLOC ( condition = " SeedToBeSet in ( 'yes', ) ",
1259
1260                                                  RandomGeneratorSeed = SIMP ( statut = "o",
1261                                                                               typ = "I",
1262                                                                               max = 1,
1263                                                                               fr = "Racine du generateur aleatoire",
1264                                                                               ang = "Random generator seed",
1265                                                                               ),
1266
1267                                                ), # Fin BLOC SeedSettings
1268
1269                ), # Fin FACT RandomGenerator
1270
1271
1272                BlockSize = SIMP ( statut = "o",
1273                                   typ = "I",
1274                                   max = 1,
1275                                   val_min = 1,
1276                                   defaut = 1,
1277                                   fr = "Nombre de calculs realises en bloc",
1278                                   ang = "Number of computations as a block",
1279                                   ),
1280
1281                MaximumOuterSampling = SIMP ( statut = "o",
1282                                              typ = "I",
1283                                              max = 1,
1284                                              val_min = 1,
1285                                              fr = "Maximum d'iterations externes",
1286                                              ang = "Maximum outer Sampling value",
1287                                              ),
1288
1289                MaximumCoefficientOfVariation = SIMP ( statut = "o",
1290                                                       typ = "R",
1291                                                       max = 1,
1292                                                       defaut = 0.1,
1293                                                       val_min = 0.0,
1294                                                       val_max = 1.0,
1295                                                       fr = "Coefficient de variation maximum",
1296                                                       ang = "Maximum coefficient of variation"
1297                                                       ),
1298
1299                ImportanceSamplingSettings = BLOC ( condition = " Algorithm in ( 'ImportanceSampling', ) ",
1300
1301                             MeanVector = SIMP ( statut = "o",
1302                                                 typ = "R",
1303                                                 max = "**",
1304                                                 fr = "Moyenne",
1305                                                 ang = "Mean vector",
1306                                                 ),
1307
1308                             Correlation = SIMP ( statut = "o",
1309                                                  typ = 'TXM',
1310                                                  into = ( 'Independent', 'Linear' ),
1311                                                  defaut = 'Independent',
1312                                                  max = 1,
1313                                                  fr = "Le type de correlation entre les variables",
1314                                                  ang = "Correlation between variables",
1315                                                  ),
1316
1317                ), # Fin BLOC ImportanceSamplingSettings
1318
1319                Result = FACT ( statut = "o",
1320                                       min = 1,
1321                                       max = "**",
1322
1323                     Probability = SIMP ( statut = "o",
1324                                          typ = 'TXM',
1325                                          into = ( 'yes', ),
1326                                          defaut = 'yes',
1327                                          max = 1,
1328                                          fr = "Probabiblite",
1329                                          ang = "Probability",
1330                                          ),
1331
1332                     StandardDeviation = SIMP ( statut = "o",
1333                                          typ = 'TXM',
1334                                          into = ( 'yes', ),
1335                                          defaut = 'yes',
1336                                          max = 1,
1337                                          fr = "Ecart type",
1338                                          ang = "Standard deviation",
1339                                          ),
1340
1341                     ConfidenceInterval = SIMP ( statut = "o",
1342                                                 typ = 'TXM',
1343                                                 into = ( 'yes', 'no' ),
1344                                                 defaut = 'yes',
1345                                                 max = 1,
1346                                                 fr = "Intervale de confiance",
1347                                                 ang = "Confidence interval",
1348                                                 ),
1349
1350                     ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ",
1351
1352                           Level = SIMP ( statut = "o",
1353                                          typ = 'R',
1354                                          defaut = 0.9,
1355                                          max = 1,
1356                                          val_min = 0.0,
1357                                          val_max = 1.0,
1358                                          fr = "Niveau de confiance",
1359                                          ang = "Confidence level",
1360                                          ),
1361                                                      
1362                     ), # Fin BLOC ConfidenceIntervalSettings
1363                                
1364                     VariationCoefficient = SIMP ( statut = "o",
1365                                                   typ = 'TXM',
1366                                                   into = ( 'yes', 'no' ),
1367                                                   defaut = 'yes',
1368                                                   max = 1,
1369                                                   fr = "Coefficient de variation",
1370                                                   ang = "Coefficient of variation",
1371                                                   ),
1372
1373                     SimulationsNumber = SIMP ( statut = "o",
1374                                              typ = 'TXM',
1375                                              into = ( 'yes', 'no' ),
1376                                              defaut = 'yes',
1377                                              max = 1,
1378                                              fr = "Nombre d'iterations",
1379                                              ang = "Iteration number",
1380                                              ),
1381
1382                     ConvergenceGraph = SIMP ( statut = "o",
1383                                              typ = 'TXM',
1384                                              into = ( 'yes', 'no' ),
1385                                              defaut = 'yes',
1386                                              max = 1,
1387                                              fr = "Graphe de convergence",
1388                                              ang = "Convergence graph",
1389                                              ),
1390                                
1391                     ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ",
1392
1393                                      ConvergenceDrawingFilename = SIMP ( statut = "o",
1394                                                                          typ = "TXM",
1395                                                                          max = 1,
1396                                                                          fr = "Nom du fichier graphique de la convergence",
1397                                                                          ang = "Convergence Drawing Filename",
1398                                                                          ),
1399                                                                              
1400
1401                               ), # Fin BLOC ConvergenceGraphSettings
1402                                       
1403              ), # Fin FACT Result
1404                                                                
1405
1406
1407          ), # Fin BLOC SimulationSettings
1408
1409
1410                                
1411          FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ",
1412
1413                 Approximation = SIMP ( statut = "o",
1414                                        typ = "TXM",
1415                                        defaut = "FirstOrder",
1416                                        into = ( "FirstOrder", "SecondOrder" ),
1417                                        max = 1,
1418                                        fr = "Approximation",
1419                                        ang = "Approximation",
1420                                        ),
1421
1422                 OptimizationAlgorithm = SIMP ( statut = "o",
1423                                                typ = "TXM",
1424                                                defaut = "Cobyla",
1425                                                into = ( "Cobyla", "AbdoRackwitz" ),
1426                                                max = 1,
1427                                                fr = "Methode d'optimisation",
1428                                                ang = "Optimization method",
1429                                                ),
1430
1431                                      
1432                 PhysicalStartingPoint = SIMP ( statut = "f",
1433                                                typ = "R",
1434                                                max = "**",
1435                                                fr = "Point de demarrage de l'algorithme iteratif",
1436                                                ang = "Initial point for iterative process",
1437                                                ),
1438
1439                 MaximumIterationsNumber = SIMP ( statut = "f",
1440                                                  typ = "I",
1441                                                  max = 1,
1442                                                  val_min = 1,
1443                                                  fr = "Nombre maximum d'iterations",
1444                                                  ang = "Maximum number of iterations",
1445                                                  ),
1446
1447                                      
1448                 MaximumAbsoluteError = SIMP ( statut = "o",
1449                                               typ = "R",
1450                                               max = 1,
1451                                               defaut = 1E-4,
1452                                               val_min = 0.0,
1453                                               fr = "Distance maximum absolue entre 2 iterations successives",
1454                                               ang = "Absolute maximum distance between 2 successive iterates",
1455                                               ),
1456
1457                 MaximumRelativeError = SIMP ( statut = "o",
1458                                                typ = "R",
1459                                                max = 1,
1460                                                defaut = 1E-4,
1461                                                val_min = 0.0,
1462                                                fr = "Distance maximum relative entre 2 iterations successives",
1463                                                ang = "Relative maximum distance between 2 successive iterates",
1464                                                ),
1465                                      
1466                 MaximumConstraintError = SIMP ( statut = "o",
1467                                                 typ = "R",
1468                                                 max = 1,
1469                                                 defaut = 1E-4,
1470                                                 val_min = 0.0,
1471                                                 fr = "Valeur maximum absolue de la fonction moins la valeur du niveau",
1472                                                 ang = "Maximum absolute value of the constraint function minus the level value",
1473                                                 ),
1474
1475                 ImportanceSampling = SIMP ( statut = "o",
1476                                             typ = 'TXM',
1477                                             into = ( 'yes', 'no' ),
1478                                             defaut = 'no',
1479                                             max = 1,
1480                                             fr = "Tirage d'importance au point de conception",
1481                                             ang = "Importance sampling at design point",
1482                                             ),
1483
1484                 FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ",
1485
1486                     Probability = SIMP ( statut = "o",
1487                                          typ = 'TXM',
1488                                          into = ( 'yes', ),
1489                                          defaut = 'yes',
1490                                          max = 1,
1491                                          fr = "Probabiblite",
1492                                          ang = "Probability",
1493                                          ),
1494
1495                     DesignPoint = SIMP ( statut = "o",
1496                                          typ = 'TXM',
1497                                          into = ( 'yes', 'no' ),
1498                                          defaut = 'yes',
1499                                          max = 1,
1500                                          fr = "Point de conception",
1501                                          ang = "Design point",
1502                                          ),
1503
1504                     HasoferReliabilityIndex = SIMP ( statut = "o",
1505                                                  typ = 'TXM',
1506                                                  into = ( 'yes', 'no' ),
1507                                                  defaut = 'yes',
1508                                                  max = 1,
1509                                                  fr = "Indice de fiabilite",
1510                                                  ang = "Reliability index",
1511                                                  ),
1512
1513                     ImportanceFactor = SIMP ( statut = "o",
1514                                               typ = 'TXM',
1515                                               into = ( 'yes', 'no' ),
1516                                               defaut = 'yes',
1517                                               max = 1,
1518                                               fr = "Facteur d'importance pour variable de sortie scalaire",
1519                                               ang = "Importance factor",
1520                                               ),
1521
1522                     ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1523
1524                                      ImportanceFactorDrawingFilename = SIMP ( statut = "o",
1525                                                                               typ = "TXM",
1526                                                                               max = 1,
1527                                                                               fr = "Nom du fichier graphique des facteurs d'importance",
1528                                                                               ang = "Importance Factor Drawing Filename",
1529                                                                               ),
1530                                                                              
1531
1532                               ), # Fin BLOC ImportanceFactorSettings
1533                                       
1534                     SensitivityAnalysis = SIMP ( statut = "o",
1535                                                  typ = 'TXM',
1536                                                  into = ( 'yes', 'no' ),
1537                                                  defaut = 'yes',
1538                                                  max = 1,
1539                                                  fr = "Analyse de sensibilite",
1540                                                  ang = "Sensitivity analysis",
1541                                                  ),
1542
1543                     SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ",
1544
1545                             FORMEventProbabilitySensitivity = SIMP ( statut = "o",
1546                                                              typ = 'TXM',
1547                                                              into = ( 'yes', 'no' ),
1548                                                              defaut = 'yes',
1549                                                              max = 1,
1550                                                              fr = "Indice de fiabilite de Hasofer",
1551                                                              ang = "Hasofer reliability index",
1552                                                              ),
1553         
1554                             FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ",
1555
1556                                      FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o",
1557                                                                          typ = "TXM",
1558                                                                          max = 1,
1559                                                                          fr = "Nom du fichier graphique des sensibilites",
1560                                                                          ang = "Sensitivity Drawing Filename",
1561                                                                          ),
1562                                                                              
1563
1564                               ), # Fin BLOC FORMEventProbabilitySensitivitySettings
1565                                       
1566                             HasoferReliabilityIndexSensitivity = SIMP ( statut = "o",
1567                                                              typ = 'TXM',
1568                                                              into = ( 'yes', 'no' ),
1569                                                              defaut = 'yes',
1570                                                              max = 1,
1571                                                              fr = "Indice de fiabilite de Hasofer",
1572                                                              ang = "Hasofer reliability index",
1573                                                              ),
1574         
1575                             HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ",
1576
1577                                      HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o",
1578                                                                          typ = "TXM",
1579                                                                          max = 1,
1580                                                                          fr = "Nom du fichier graphique des sensibilites",
1581                                                                          ang = "Sensitivity Drawing Filename",
1582                                                                          ),
1583                                                                              
1584
1585                               ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings
1586                                       
1587                     ), # Fin BLOC SensitivityAnalysisSettings
1588
1589                     FunctionCallsNumber = SIMP ( statut = "o",
1590                                                  typ = 'TXM',
1591                                                  into = ( 'yes', 'no' ),
1592                                                  defaut = 'yes',
1593                                                  max = 1,
1594                                                  fr = "Nombre d'appels a la fonction",
1595                                                  ang = "Function calls number",
1596                                                  ),
1597
1598
1599                 ), # Fin BLOC FORMResult
1600
1601
1602                 SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ",
1603
1604
1605                     TvedtApproximation = SIMP ( statut = "o",
1606                                                 typ = 'TXM',
1607                                                 into = ( 'yes', 'no' ),
1608                                                 defaut = 'yes',
1609                                                 max = 1,
1610                                                 fr = "Approximation de Tvedt",
1611                                                 ang = "Tvedt approximation",
1612                                                 ),
1613
1614                     HohenBichlerApproximation = SIMP ( statut = "o",
1615                                                        typ = 'TXM',
1616                                                        into = ( 'yes', 'no' ),
1617                                                        defaut = 'yes',
1618                                                        max = 1,
1619                                                        fr = "Approximation de HohenBichler",
1620                                                        ang = "HohenBichler approximation",
1621                                                        ),
1622
1623                     BreitungApproximation = SIMP ( statut = "o",
1624                                                    typ = 'TXM',
1625                                                    into = ( 'yes', 'no' ),
1626                                                    defaut = 'yes',
1627                                                    max = 1,
1628                                                    fr = "Approximation de Breitung",
1629                                                    ang = "Breitung approximation",
1630                                                    ),
1631
1632                     DesignPoint = SIMP ( statut = "o",
1633                                          typ = 'TXM',
1634                                          into = ( 'yes', 'no' ),
1635                                          defaut = 'yes',
1636                                          max = 1,
1637                                          fr = "Point de conception",
1638                                          ang = "Design point",
1639                                          ),
1640
1641                     ImportanceFactor = SIMP ( statut = "o",
1642                                               typ = 'TXM',
1643                                               into = ( 'yes', 'no' ),
1644                                               defaut = 'yes',
1645                                               max = 1,
1646                                               fr = "Facteur d'importance pour variable de sortie scalaire",
1647                                               ang = "Importance factor",
1648                                               ),
1649
1650                     ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1651
1652                                      ImportanceFactorDrawingFilename = SIMP ( statut = "o",
1653                                                                               typ = "TXM",
1654                                                                               max = 1,
1655                                                                               fr = "Nom du fichier graphique des facteurs d'importance",
1656                                                                               ang = "Importance Factor Drawing Filename",
1657                                                                               ),
1658                                                                              
1659
1660                               ), # Fin BLOC ImportanceFactorSettings
1661                                       
1662                     SensitivityAnalysis = SIMP ( statut = "o",
1663                                                  typ = 'TXM',
1664                                                  into = ( 'yes', 'no' ),
1665                                                  defaut = 'yes',
1666                                                  max = 1,
1667                                                  fr = "Analyse de sensibilite",
1668                                                  ang = "Sensitivity analysis",
1669                                                  ),
1670
1671                     SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ",
1672
1673                             HasoferReliabilityIndexSensitivity = SIMP ( statut = "o",
1674                                                              typ = 'TXM',
1675                                                              into = ( 'yes', 'no' ),
1676                                                              defaut = 'yes',
1677                                                              max = 1,
1678                                                              fr = "Indice de fiabilite de Hasofer",
1679                                                              ang = "Hasofer reliability index",
1680                                                              ),
1681                                                                  
1682                             HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ",
1683
1684                                      HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o",
1685                                                                          typ = "TXM",
1686                                                                          max = 1,
1687                                                                          fr = "Nom du fichier graphique des sensibilites",
1688                                                                          ang = "Sensitivity Drawing Filename",
1689                                                                          ),
1690                                                                              
1691
1692                               ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings
1693                                       
1694                     ), # Fin BLOC SensitivityAnalysisSettings
1695
1696                     FunctionCallsNumber = SIMP ( statut = "o",
1697                                                  typ = 'TXM',
1698                                                  into = ( 'yes', 'no' ),
1699                                                  defaut = 'yes',
1700                                                  max = 1,
1701                                                  fr = "Nombre d'appels a la fonction",
1702                                                  ang = "Function calls number",
1703                                                  ),
1704
1705
1706                 ), # Fin BLOC SecondOrder
1707
1708
1709                                      
1710         ), # Fin BLOC FORM_SORMSettings
1711
1712
1713                                
1714   ), # Fin BLOC ThresholdExceedence
1715
1716
1717
1718 ) # Fin PROC CRITERIA
1719 # Ordre Catalogue CRITERIA
1720
1721
1722
1723
1724
1725
1726