Salome HOME
merge avec les devloppts de l ete
[tools/eficas.git] / OldCodes / Openturns_Study / OpenTURNS_Cata_Study_V9.py
1 # -*- coding: iso-8859-1 -*-
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, hauteur de classe",
415                                        ang = "Class bandwidth, class height 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', 'Wrapper Files (*.xml);;All Files (*)',),
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
1309                ), # Fin BLOC ImportanceSamplingSettings
1310
1311                Result = FACT ( statut = "o",
1312                                       min = 1,
1313                                       max = "**",
1314
1315                     Probability = SIMP ( statut = "o",
1316                                          typ = 'TXM',
1317                                          into = ( 'yes', ),
1318                                          defaut = 'yes',
1319                                          max = 1,
1320                                          fr = "Probabiblite",
1321                                          ang = "Probability",
1322                                          ),
1323
1324                     StandardDeviation = SIMP ( statut = "o",
1325                                          typ = 'TXM',
1326                                          into = ( 'yes', ),
1327                                          defaut = 'yes',
1328                                          max = 1,
1329                                          fr = "Ecart type",
1330                                          ang = "Standard deviation",
1331                                          ),
1332
1333                     ConfidenceInterval = SIMP ( statut = "o",
1334                                                 typ = 'TXM',
1335                                                 into = ( 'yes', 'no' ),
1336                                                 defaut = 'yes',
1337                                                 max = 1,
1338                                                 fr = "Intervale de confiance",
1339                                                 ang = "Confidence interval",
1340                                                 ),
1341
1342                     ConfidenceIntervalSettings = BLOC ( condition = " ConfidenceInterval in ( 'yes', ) ",
1343
1344                           Level = SIMP ( statut = "o",
1345                                          typ = 'R',
1346                                          defaut = 0.9,
1347                                          max = 1,
1348                                          val_min = 0.0,
1349                                          val_max = 1.0,
1350                                          fr = "Niveau de confiance",
1351                                          ang = "Confidence level",
1352                                          ),
1353                                                      
1354                     ), # Fin BLOC ConfidenceIntervalSettings
1355                                
1356                     VariationCoefficient = SIMP ( statut = "o",
1357                                                   typ = 'TXM',
1358                                                   into = ( 'yes', 'no' ),
1359                                                   defaut = 'yes',
1360                                                   max = 1,
1361                                                   fr = "Coefficient de variation",
1362                                                   ang = "Coefficient of variation",
1363                                                   ),
1364
1365                     SimulationsNumber = SIMP ( statut = "o",
1366                                              typ = 'TXM',
1367                                              into = ( 'yes', 'no' ),
1368                                              defaut = 'yes',
1369                                              max = 1,
1370                                              fr = "Nombre d'iterations",
1371                                              ang = "Iteration number",
1372                                              ),
1373
1374                     ConvergenceGraph = SIMP ( statut = "o",
1375                                              typ = 'TXM',
1376                                              into = ( 'yes', 'no' ),
1377                                              defaut = 'yes',
1378                                              max = 1,
1379                                              fr = "Graphe de convergence",
1380                                              ang = "Convergence graph",
1381                                              ),
1382                                
1383                     ConvergenceGraphSettings = BLOC ( condition = " ConvergenceGraph in ( 'yes', ) ",
1384
1385                                      ConvergenceDrawingFilename = SIMP ( statut = "o",
1386                                                                          typ = "TXM",
1387                                                                          max = 1,
1388                                                                          fr = "Nom du fichier graphique de la convergence",
1389                                                                          ang = "Convergence Drawing Filename",
1390                                                                          ),
1391                                                                              
1392
1393                               ), # Fin BLOC ConvergenceGraphSettings
1394                                       
1395              ), # Fin FACT Result
1396                                                                
1397
1398
1399          ), # Fin BLOC SimulationSettings
1400
1401
1402                                
1403          FORM_SORMSettings = BLOC ( condition = " Method in ( 'FORM_SORM', ) ",
1404
1405                 Approximation = SIMP ( statut = "o",
1406                                        typ = "TXM",
1407                                        defaut = "FirstOrder",
1408                                        into = ( "FirstOrder", "SecondOrder" ),
1409                                        max = 1,
1410                                        fr = "Approximation",
1411                                        ang = "Approximation",
1412                                        ),
1413
1414                 OptimizationAlgorithm = SIMP ( statut = "o",
1415                                                typ = "TXM",
1416                                                defaut = "Cobyla",
1417                                                into = ( "Cobyla", "AbdoRackwitz" ),
1418                                                max = 1,
1419                                                fr = "Methode d'optimisation",
1420                                                ang = "Optimization method",
1421                                                ),
1422
1423                                      
1424                 PhysicalStartingPoint = SIMP ( statut = "f",
1425                                                typ = "R",
1426                                                max = "**",
1427                                                fr = "Point de demarrage de l'algorithme iteratif",
1428                                                ang = "Initial point for iterative process",
1429                                                ),
1430
1431                 MaximumIterationsNumber = SIMP ( statut = "f",
1432                                                  typ = "I",
1433                                                  max = 1,
1434                                                  val_min = 1,
1435                                                  fr = "Nombre maximum d'iterations",
1436                                                  ang = "Maximum number of iterations",
1437                                                  ),
1438
1439                                      
1440                 MaximumAbsoluteError = SIMP ( statut = "o",
1441                                               typ = "R",
1442                                               max = 1,
1443                                               defaut = 1E-4,
1444                                               val_min = 0.0,
1445                                               fr = "Distance maximum absolue entre 2 iterations successives",
1446                                               ang = "Absolute maximum distance between 2 successive iterates",
1447                                               ),
1448
1449                 MaximumRelativeError = SIMP ( statut = "o",
1450                                                typ = "R",
1451                                                max = 1,
1452                                                defaut = 1E-4,
1453                                                val_min = 0.0,
1454                                                fr = "Distance maximum relative entre 2 iterations successives",
1455                                                ang = "Relative maximum distance between 2 successive iterates",
1456                                                ),
1457                                      
1458                 MaximumConstraintError = SIMP ( statut = "o",
1459                                                 typ = "R",
1460                                                 max = 1,
1461                                                 defaut = 1E-4,
1462                                                 val_min = 0.0,
1463                                                 fr = "Valeur maximum absolue de la fonction moins la valeur du niveau",
1464                                                 ang = "Maximum absolute value of the constraint function minus the level value",
1465                                                 ),
1466
1467                 ImportanceSampling = SIMP ( statut = "o",
1468                                             typ = 'TXM',
1469                                             into = ( 'yes', 'no' ),
1470                                             defaut = 'no',
1471                                             max = 1,
1472                                             fr = "Tirage d'importance au point de conception",
1473                                             ang = "Importance sampling at design point",
1474                                             ),
1475
1476                 FORMResult = BLOC ( condition = " Approximation in ( 'FirstOrder', ) ",
1477
1478                     Probability = SIMP ( statut = "o",
1479                                          typ = 'TXM',
1480                                          into = ( 'yes', ),
1481                                          defaut = 'yes',
1482                                          max = 1,
1483                                          fr = "Probabiblite",
1484                                          ang = "Probability",
1485                                          ),
1486
1487                     DesignPoint = SIMP ( statut = "o",
1488                                          typ = 'TXM',
1489                                          into = ( 'yes', 'no' ),
1490                                          defaut = 'yes',
1491                                          max = 1,
1492                                          fr = "Point de conception",
1493                                          ang = "Design point",
1494                                          ),
1495
1496                     HasoferReliabilityIndex = SIMP ( statut = "o",
1497                                                  typ = 'TXM',
1498                                                  into = ( 'yes', 'no' ),
1499                                                  defaut = 'yes',
1500                                                  max = 1,
1501                                                  fr = "Indice de fiabilite",
1502                                                  ang = "Reliability index",
1503                                                  ),
1504
1505                     ImportanceFactor = SIMP ( statut = "o",
1506                                               typ = 'TXM',
1507                                               into = ( 'yes', 'no' ),
1508                                               defaut = 'yes',
1509                                               max = 1,
1510                                               fr = "Facteur d'importance pour variable de sortie scalaire",
1511                                               ang = "Importance factor",
1512                                               ),
1513
1514                     ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1515
1516                                      ImportanceFactorDrawingFilename = SIMP ( statut = "o",
1517                                                                               typ = "TXM",
1518                                                                               max = 1,
1519                                                                               fr = "Nom du fichier graphique des facteurs d'importance",
1520                                                                               ang = "Importance Factor Drawing Filename",
1521                                                                               ),
1522                                                                              
1523
1524                               ), # Fin BLOC ImportanceFactorSettings
1525                                       
1526                     SensitivityAnalysis = SIMP ( statut = "o",
1527                                                  typ = 'TXM',
1528                                                  into = ( 'yes', 'no' ),
1529                                                  defaut = 'yes',
1530                                                  max = 1,
1531                                                  fr = "Analyse de sensibilite",
1532                                                  ang = "Sensitivity analysis",
1533                                                  ),
1534
1535                     SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ",
1536
1537                             FORMEventProbabilitySensitivity = SIMP ( statut = "o",
1538                                                              typ = 'TXM',
1539                                                              into = ( 'yes', 'no' ),
1540                                                              defaut = 'yes',
1541                                                              max = 1,
1542                                                              fr = "Indice de fiabilite de Hasofer",
1543                                                              ang = "Hasofer reliability index",
1544                                                              ),
1545         
1546                             FORMEventProbabilitySensitivitySettings = BLOC ( condition = " FORMEventProbabilitySensitivity in ( 'yes', ) ",
1547
1548                                      FORMEventProbabilitySensitivityDrawingFilename = SIMP ( statut = "o",
1549                                                                          typ = "TXM",
1550                                                                          max = 1,
1551                                                                          fr = "Nom du fichier graphique des sensibilites",
1552                                                                          ang = "Sensitivity Drawing Filename",
1553                                                                          ),
1554                                                                              
1555
1556                               ), # Fin BLOC FORMEventProbabilitySensitivitySettings
1557                                       
1558                             HasoferReliabilityIndexSensitivity = SIMP ( statut = "o",
1559                                                              typ = 'TXM',
1560                                                              into = ( 'yes', 'no' ),
1561                                                              defaut = 'yes',
1562                                                              max = 1,
1563                                                              fr = "Indice de fiabilite de Hasofer",
1564                                                              ang = "Hasofer reliability index",
1565                                                              ),
1566         
1567                             HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ",
1568
1569                                      HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o",
1570                                                                          typ = "TXM",
1571                                                                          max = 1,
1572                                                                          fr = "Nom du fichier graphique des sensibilites",
1573                                                                          ang = "Sensitivity Drawing Filename",
1574                                                                          ),
1575                                                                              
1576
1577                               ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings
1578                                       
1579                     ), # Fin BLOC SensitivityAnalysisSettings
1580
1581                     FunctionCallsNumber = SIMP ( statut = "o",
1582                                                  typ = 'TXM',
1583                                                  into = ( 'yes', 'no' ),
1584                                                  defaut = 'yes',
1585                                                  max = 1,
1586                                                  fr = "Nombre d'appels a la fonction",
1587                                                  ang = "Function calls number",
1588                                                  ),
1589
1590
1591                 ), # Fin BLOC FORMResult
1592
1593
1594                 SORMResult = BLOC ( condition = " Approximation in ( 'SecondOrder', ) ",
1595
1596
1597                     TvedtApproximation = SIMP ( statut = "o",
1598                                                 typ = 'TXM',
1599                                                 into = ( 'yes', 'no' ),
1600                                                 defaut = 'yes',
1601                                                 max = 1,
1602                                                 fr = "Approximation de Tvedt",
1603                                                 ang = "Tvedt approximation",
1604                                                 ),
1605
1606                     HohenBichlerApproximation = SIMP ( statut = "o",
1607                                                        typ = 'TXM',
1608                                                        into = ( 'yes', 'no' ),
1609                                                        defaut = 'yes',
1610                                                        max = 1,
1611                                                        fr = "Approximation de HohenBichler",
1612                                                        ang = "HohenBichler approximation",
1613                                                        ),
1614
1615                     BreitungApproximation = SIMP ( statut = "o",
1616                                                    typ = 'TXM',
1617                                                    into = ( 'yes', 'no' ),
1618                                                    defaut = 'yes',
1619                                                    max = 1,
1620                                                    fr = "Approximation de Breitung",
1621                                                    ang = "Breitung approximation",
1622                                                    ),
1623
1624                     DesignPoint = SIMP ( statut = "o",
1625                                          typ = 'TXM',
1626                                          into = ( 'yes', 'no' ),
1627                                          defaut = 'yes',
1628                                          max = 1,
1629                                          fr = "Point de conception",
1630                                          ang = "Design point",
1631                                          ),
1632
1633                     ImportanceFactor = SIMP ( statut = "o",
1634                                               typ = 'TXM',
1635                                               into = ( 'yes', 'no' ),
1636                                               defaut = 'yes',
1637                                               max = 1,
1638                                               fr = "Facteur d'importance pour variable de sortie scalaire",
1639                                               ang = "Importance factor",
1640                                               ),
1641
1642                     ImportanceFactorSettings = BLOC ( condition = " ImportanceFactor in ( 'yes', ) ",
1643
1644                                      ImportanceFactorDrawingFilename = SIMP ( statut = "o",
1645                                                                               typ = "TXM",
1646                                                                               max = 1,
1647                                                                               fr = "Nom du fichier graphique des facteurs d'importance",
1648                                                                               ang = "Importance Factor Drawing Filename",
1649                                                                               ),
1650                                                                              
1651
1652                               ), # Fin BLOC ImportanceFactorSettings
1653                                       
1654                     SensitivityAnalysis = SIMP ( statut = "o",
1655                                                  typ = 'TXM',
1656                                                  into = ( 'yes', 'no' ),
1657                                                  defaut = 'yes',
1658                                                  max = 1,
1659                                                  fr = "Analyse de sensibilite",
1660                                                  ang = "Sensitivity analysis",
1661                                                  ),
1662
1663                     SensitivityAnalysisSettings = BLOC ( condition = " SensitivityAnalysis in ( 'yes', ) ",
1664
1665                             HasoferReliabilityIndexSensitivity = SIMP ( statut = "o",
1666                                                              typ = 'TXM',
1667                                                              into = ( 'yes', 'no' ),
1668                                                              defaut = 'yes',
1669                                                              max = 1,
1670                                                              fr = "Indice de fiabilite de Hasofer",
1671                                                              ang = "Hasofer reliability index",
1672                                                              ),
1673                                                                  
1674                             HasoferReliabilityIndexSensitivitySettings = BLOC ( condition = " HasoferReliabilityIndexSensitivity in ( 'yes', ) ",
1675
1676                                      HasoferReliabilityIndexSensitivityDrawingFilename = SIMP ( statut = "o",
1677                                                                          typ = "TXM",
1678                                                                          max = 1,
1679                                                                          fr = "Nom du fichier graphique des sensibilites",
1680                                                                          ang = "Sensitivity Drawing Filename",
1681                                                                          ),
1682                                                                              
1683
1684                               ), # Fin BLOC FHasoferReliabilityIndexSensitivitySettings
1685                                       
1686                     ), # Fin BLOC SensitivityAnalysisSettings
1687
1688                     FunctionCallsNumber = SIMP ( statut = "o",
1689                                                  typ = 'TXM',
1690                                                  into = ( 'yes', 'no' ),
1691                                                  defaut = 'yes',
1692                                                  max = 1,
1693                                                  fr = "Nombre d'appels a la fonction",
1694                                                  ang = "Function calls number",
1695                                                  ),
1696
1697
1698                 ), # Fin BLOC SecondOrder
1699
1700
1701                                      
1702         ), # Fin BLOC FORM_SORMSettings
1703
1704
1705                                
1706   ), # Fin BLOC ThresholdExceedence
1707
1708
1709
1710 ) # Fin PROC CRITERIA
1711 # Ordre Catalogue CRITERIA
1712
1713
1714
1715
1716
1717
1718