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