+++ /dev/null
-# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2013 EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-# --------------------------------------------------
-# debut entete
-# --------------------------------------------------
-
-#from Accas import ASSD, JDC_CATA, AU_MOINS_UN, PROC, SIMP, FACT, OPER, MACRO, BLOC, A_VALIDATOR
-from Accas import *
-import opsPSEN_N1
-#
-#
-
-# import types
-class Tuple:
- def __init__(self,ntuple):
- self.ntuple=ntuple
-
- def __convert__(self,valeur):
- if type(valeur) == types.StringType:
- return None
- if len(valeur) != self.ntuple:
- return None
- return valeur
-
- def info(self):
- return "Tuple de %s elements" % self.ntuple
-
- __repr__=info
- __str__=info
-
-# class Matrice:
-# def __init__(self,nbLigs=None,nbCols=None,methodeCalculTaille=None,formatSortie="ligne",valSup=None,valMin=None,structure=None):
-# self.nbLigs=nbLigs
-# self.nbCols=nbCols
-# self.methodeCalculTaille=methodeCalculTaille
-# self.formatSortie=formatSortie
-# self.valSup=valSup
-# self.valMin=valMin
-# self.structure=structure
-#
-# def __convert__(self,valeur):
-# # Attention ne verifie pas grand chose
-# if type(valeur) != types.ListType :
-# return None
-# return valeur
-#
-# def info(self):
-# return "Matrice %s x %s" % (self.nbLigs, self.nbCols)
-#
-# __repr__=info
-# __str__=info
-
-
-#CONTEXT.debug = 1
-JdC = JDC_CATA ( code = 'PSEN',
- execmodul = None,
- regles = ( AU_MOINS_UN ( 'CASE_SELECTION' ),
- # AU_MOINS_UN ( 'DIRECTORY' ),
- # AU_MOINS_UN ( 'DISTRIBUTION' ),
- # AU_MOINS_UN ( 'SIMULATION' ),
- # AU_PLUS_UN ( 'PSSE_PARAMETERS' ),
- # AU_PLUS_UN ( 'DIRECTORY' ),
- # AU_PLUS_UN ( 'SIMULATION' ),
- # AU_PLUS_UN ( 'CORRELATION' ),
- # AU_PLUS_UN ( 'N_1_GENERATORS' ),
- # AU_PLUS_UN ( 'N_1_LINES' ),
- # AU_PLUS_UN ( 'N_1_LOADS' ),
- # AU_PLUS_UN ( 'N_1_TRANSFORMERS' ),
-
- ),
- ) # Fin JDC_CATA
-
-
-# --------------------------------------------------
-# fin entete
-# --------------------------------------------------
-## TODO : RUN
-CASE_SELECTION = MACRO ( nom = "CASE_SELECTION",
- sd_prod = opsPSEN_N1.INCLUDE,
- op_init = opsPSEN_N1.INCLUDE_context,
- fichier_ini = 1,
- op = None,
- fr = "Sélectionnez les cas à analyser",
- ang = 'Select the cases to analyze',
- PSSE_path = SIMP(statut="o",typ='Repertoire',defaut='C:\Program Files (x86)\PTI\PSSE33\PSSBIN'),
- output_folder = SIMP(statut="o", typ="Repertoire"),
-
-
- BusesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
- LinesList = SIMP(statut = 'f', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
- TransformersList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
- MaxDepth = SIMP(statut = 'o', typ = 'I', defaut = 5),
- OutputNewCsv = SIMP ( statut = "o",typ=bool,defaut=False,),
- )
-N_PROCESSING_OPTIONS = PROC ( nom = 'N_PROCESSING_OPTIONS',
- op = None,
- ang = "Select whether the program should be displaying data ablout the different categories. The values displayed will be the min, max, and mean of each item, plus a chart.",
- Output_bus_values = SIMP(statut = 'o', typ = bool, defaut = True),
- Output_lines_values = SIMP(statut = 'o', typ = bool, defaut = True),
- Output_transformer_values = SIMP(statut = 'o', typ = bool, defaut = True),
- Threshold_selection_for_the_treated_cases = FACT(
- statut = 'f',
- Branches = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),),
- Transformers = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),),
- High_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),),
- Low_voltage = SIMP(statut="o",typ=Tuple(3),defaut=(0,0,0),validators=VerifTypeTuple(('R','R','R'),),),
- ),
- )
-
-
-CONTINGENCY_OPTIONS = PROC (nom = 'CONTINGENCY_OPTIONS',
- op = None,
-
- GeneralOptions = FACT(statut='o',
- Vmin = SIMP(statut = 'o', typ = 'R', defaut = 0.9, val_min = 0),
- Vmax = SIMP(statut = 'o', typ = 'R', defaut = 1.1, val_min = 0),
- ContingencyRate = SIMP(statut = 'o', typ = 'TXM', defaut = 'a', into=['a', 'b']),
- FlowLimitLines = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0),
- FlowLimitTransformers = SIMP(statut = 'o', typ = 'I', defaut = 120, val_min = 0),
- Tolerance = SIMP(statut = 'o', typ = 'R', defaut = 0.5, val_min = 0),
- TripLines = SIMP(statut = 'o', typ = bool, defaut = True),
- TripTransfos = SIMP(statut = 'o', typ = bool, defaut = True),
- TripGenerators = SIMP(statut = 'o', typ = bool, defaut = True),
- ),
-
- LoadFlowOptions = FACT(statut='o',
- AdjustTaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Lock', '1 - Stepping', '2 - Direct'], defaut = '1 - Stepping'),
- AdjustDCtaps = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable'], defaut = '1 - Enable'),
- SolutionMethod = SIMP(statut = 'o', typ = 'TXM', into = ['0 - FDNS', '1 - FNSL', '2 - Optimized FDNS'], defaut = '1 - FNSL'),
- AdjustSwitchedShunts = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Enable', '2 - Enable continuous mode'], defaut = '1 - Enable'),
- DispatchMode = SIMP(statut = 'o', typ = 'TXM', into = ['0 - Disable', '1 - Reserve', '2 - Pmax', '3 - Inertia', '4 - Droop'], defaut = '1 - Reserve'),
- FlatStart = SIMP(statut = 'o', typ = bool, defaut = False),
- VarLimits = SIMP(statut = 'o', typ = 'I', defaut = 99,ang = 'if set to -1, var limits will not be applied'),
- ),
-
- OutputOptions = FACT(statut='o',
- consigne1 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Output PSSE multiple contingency report to Shell?'),
- MultipleContingencyReport = SIMP(statut = 'o', typ = bool, defaut = True, ang = 'Output PSSE multiple contingency report to Shell?'),
- consigne2 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Write an Excel file for the results of each case file?'),
- WriteIndivExcels = SIMP(statut = 'o', typ = bool, defaut = True),
- consigne3 = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Add a tab in Excel results file for the differences between the max flow rate (MVAR) and the actual flow rate in lines and transformers?'),
- WriteFlowDifs = SIMP(statut = 'o', typ = bool, defaut = True),
- ),
- )
-
-
-
-
-CONTINGENCY_SELECTION = PROC(nom='CONTINGENCY_SELECTION',op = None,
- SelectionMethod = SIMP(statut='o',typ='TXM',into=['CaseSelectionFromFile','SelectAllCases','SelectWorstCases'],
- ),
-
- b_file = BLOC(condition="SelectionMethod=='CaseSelectionFromFile'",
- CaseSelectionFromFiles = FACT(
- statut = 'o',
- regles=(AU_MOINS_UN('branch_cases','transformer_cases','high_voltage_cases','low_voltage_cases',),),
- branch_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),),
- transformer_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde',),),
- high_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),),
- low_voltage_cases = SIMP(statut='o', defaut='', typ = ('Fichier', 'CSV file (*.csv);;All Files (*)','Sauvegarde'),),
- ),
-
-# CaseSelectionFromFile = FACT(
-# statut = 'o',
-# input_path = SIMP(statut="o",typ='Repertoire'),
-# branch_cases = SIMP(statut='o', typ='TXM'),
-# transformer_cases = SIMP(statut='o', typ='TXM'),
-# high_cases = SIMP(statut='o', typ='TXM'),
-# low_cases = SIMP(statut='o', typ='TXM'),
-# ),
-
- ),
-
-# b_all = BLOC(condition="SelectionMethod=='SelectAllCases'",
-# SelectAllCases = FACT(
-# statut='o',
-# all_cases = SIMP(statut='o', typ=bool, defaut = True),
-# ),
-# ),
-
- b_worst = BLOC(condition="SelectionMethod=='SelectWorstCases'",
- SelectWorstCases = FACT(
- regles = (UN_PARMI('AvgBranchLoad', 'AvgBranchLoadPercent'), UN_PARMI('AvgTransformerLoad', 'AvgTransformerLoadPercent'), UN_PARMI('AvgHighVoltage', 'AvgHighVoltagePercent'), UN_PARMI('AvgLowVoltage', 'AvgLowVoltagePercent'),),
- statut = 'o',
- consigne = SIMP(statut='o',homo='information',typ = "TXM",defaut = 'Choose at least one of the potential selection criteria from the SelectWorstCases list on the right.'),
- AvgBranchLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0),
- AvgBranchLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100),
- AvgTransformerLoad = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0),
- AvgTransformerLoadPercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100),
- AvgHighVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0),
- AvgHighVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100),
- AvgLowVoltage = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0),
- AvgLowVoltagePercent = SIMP(statut = 'f', typ = 'I', defaut = 0, val_min = 0, val_max = 100),
- ),
- ),
-
-
- Automatic_N_2_Selection = FACT(statut='f',
-
- BusesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
- LinesList = SIMP(statut = 'o', typ = 'R', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
- TransformersList = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
- ),
-
- MultipleContingencyList = FACT (statut='f',
- max="**",
- ComponentList=SIMP(statut='o', typ = 'TXM', max='**', homo = 'SansOrdreNiDoublon',),
- ),
-
- )
-
-CONTINGENCY_PROCESSING = MACRO ( nom = 'CONTINGENCY_PROCESSING',
- sd_prod = opsPSEN_N1.PROCESS,
- op_init = opsPSEN_N1.PROCESS_context,
-
- #sd_prod=None,
-
- op = None,
- fichier_ini = 1,
- fr = "",
- ang="",
- XLS_file = SIMP(statut="o", typ = ('Fichier', 'XLS file (*.xls);;All Files (*)',),),
- TabList = SIMP(statut = 'f', typ = 'TXM', min = 0, max = '**', homo = 'SansOrdreNiDoublon'),
-
-# b_highVoltage = BLOC(condition="'High Voltage 0' in TabList",
-# HighVoltageBuses = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
-# HighVoltageContingencies = SIMP(statut = 'o', typ = 'TXM', min = 0, max = '**', defaut = (), homo = 'SansOrdreNiDoublon'),
-# ),
-
- )
-
-Ordre_Des_Commandes = ('CASE_SELECTION' , 'N_PROCESSING_OPTIONS' , 'CONTINGENCY_OPTIONS' , 'CONTINGENCY_SELECTION',)
+++ /dev/null
-
-# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2013 EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-from PFExtractGeneratorLoadLineandTransfoDico import *
-#from ExtractGeneratorLoadLineandTransfoDico import ExtractGeneratorLoadLineandTransfoDico2
-path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','TreatOutputs'))
-sys.path.append(path1)
-
-import Options
-
-def INCLUDE(self,PF_path,Python3_path,**args):
- """
- Fonction sd_prod pour la macro INCLUDE
- """
- CaseFolder = args['PSEN_results_folder']
- Options.RecursiveDepth = args['MaxDepth']
- if CaseFolder==None:
- return
- reevalue=0
- if hasattr(self,'fichier_ini'):
- reevalue=1
- if self.fichier_ini == CaseFolder : return
- if hasattr(self,'old_context_fichier_init' ):
- for concept in self.old_context_fichier_init.values():
- self.jdc.delete_concept(concept)
- self.jdc_aux=None
- self.contexte_fichier_init={}
- self.reevalue_sd_jdc()
- self.jdc.reset_context()
-
- self.fichier_ini=CaseFolder
- self.contexte_fichier_init = {}
- self.fichier_unite = 999
- self.fichier_err = None
- self.fichier_text=""
-
- unite = 999
-
- CaseFile = ''
- FolderList = os.listdir(CaseFolder)
- for folder in FolderList:
- if folder[0:7] == 'package' or folder[0:4]== 'core':
- # Get BaseCase.sav inside the first package folder we find
- FolderContents = os.listdir(os.path.join(CaseFolder, folder))
- for file in FolderContents:
- if file == 'BaseCase.pfd':
- CaseFile = os.path.join(os.path.join(CaseFolder, folder), file)
- break
- break
-
-
- try:
-
- MachineDico, LoadDico, LineDico, TransfoDico, MotorDico = PFExtractGeneratorLoadLineandTransfoDico(
- 0, 0, CaseFile, PF_path, Python3_path)
-
- BusList, LinesList, TransfosList,BusDico = getNominalkV(CaseFile)
-
- getTrueLines(CaseFile)
-
- except Exception, e:
- exc_type, exc_obj, exc_tb = sys.exec_info()
- print(e)
- print(exc_type, exc_tb.tb_lineno)
- #print ""
- #print MachineDico,LoadDico,LineDico,TransfoDico,MotorDico,BusDico,BranchesDico,BusNominal
-
- for e in self.jdc.etapes:
- if e.nom == 'CASE_SELECTION' :
- etape=e
- break
- self.jdc.appli.changeIntoMC(e, 'BusesList', BusList)
- self.jdc.appli.changeIntoMC(e, 'LinesList', LinesList)
- self.jdc.appli.changeIntoMC(e, 'TransformersList', TransfosList)
-
- # self.jdc.appli.changeIntoDefMC('CONTINGENCY_SELECTION', ('Automatic_N_2_Selection', 'BusesList'), BusList)
- self.jdc.appli.changeIntoDefMC('CONTINGENCY_SELECTION', ('Automatic_N_2_Selection', 'LinesList'), LinesList)
- self.jdc.appli.changeIntoDefMC('CONTINGENCY_SELECTION', ('Automatic_N_2_Selection', 'TransformersList'), TransfosList)
-
-
- try:
- a = updateConts()
- self.jdc.appli.changeIntoDefMC('CONTINGENCY_SELECTION', ('MultipleContingencyList', 'ComponentList'), Options.ContFullList)
- except Exception, e:
- exc_type, exc_obj, exc_tb = sys.exec_info()
- print(e)
- print(exc_type, exc_tb.tb_lineno)
-
-
- #self.jdc.ajoutMC(e,'TransfosList',listeTuple)
-
-
-
-def INCLUDE_context(self,d):
- """
- Fonction op_init pour macro INCLUDE
- """
- for k,v in self.g_context.items():
- d[k]=v
-
-
-def PROCESS_context(self,d):
- pass
-
-def PROCESS(self,XLS_file,**args):
-
- self.sauve_args=args
- if XLS_file == "" or XLS_file == None: return
- #Storage.csvFileName = XLS_file
- # c est la premiere fois
-
- if not (hasattr(self,'sheets')) :
- from Processor import getXLSinfo
- #from Processor_Storage import *
- #print getSheets
- #getSheets()
- #ComponentList, ContingencyList = getComponentandContingencyList(Storage.sheets[0])
- #print ComponentList
- #print ContingencyList
- #Storage.selectedDoubleRow[Storage.sheets[0]]=['PV MATIMBA']
- #Storage.selectedDoubleCol[Storage.sheets[0]]=['MAZENOD_MHDAM_LI1_']
- #self.jdc.appli.changeIntoMC(self,'TabList',Storage.sheets)
- #self.sheets=Storage.sheets
- #self.OngletsValeurs=[]
- XLSinfo = getXLSinfo(XLS_file)
- self.sheets=XLSinfo
- #self.sheets={'a':(('a','b','c'),('f','g','h'))}
- #v pascale
- self.jdc.editor.changeIntoMC(self,'TabList',self.sheets.keys(),('b_TabList',))
-
-## self.jdc.appli.changeIntoMC(self,'TabList',self.sheets.keys())
-##
-## for k in self.sheets.keys():
-## nom='Component_List_For_'+k
-## monInto=self.sheets[k][0]
-## self.jdc.appli.ajoutDefinitionMC('CONTINGENCY_PROCESSING',nom,'TXM',min=0, max='**', into=monInto, homo= 'SansOrdreNiDoublon')
-## nom='Contingency_List_For_'+k
-## monInto=self.sheets[k][1]
-## self.jdc.appli.ajoutDefinitionMC('CONTINGENCY_PROCESSING',nom,'TXM',min=0, max='**', into=monInto, homo= 'SansOrdreNiDoublon')
-
- self.MCAjoutes=[]
- self.OngletsSelectionnes=[]
- else :
- # On a selectionne un onglet
- # On teste si on a modifie la liste des onglets
-
-
- TabList= self.get_child('b_TabList').get_child('TabList').valeur
- nouveauxOngletsSelectionnes = []
- for tab in TabList:
- nouveauxOngletsSelectionnes.append(tab.replace(' ','___'))
-
- if nouveauxOngletsSelectionnes==self.OngletsSelectionnes : return
-
- if nouveauxOngletsSelectionnes==() or nouveauxOngletsSelectionnes == [] :
- for MC in self.MCAjoutes : self.jdc.editor.deleteMC(self,MC,('b_TabList',))
- self.MCAjoutes=[]
- self.OngletsSelectionnes=[]
-
-
-
- for Onglet in nouveauxOngletsSelectionnes:
- if Onglet in self.OngletsSelectionnes : continue
-
- MCFils='Component_List_For_'+Onglet
- if MCFils in self.jdc.editor.dicoNouveauxMC.keys() : continue
-
-
- Onglet2 = Onglet.replace('___',' ')
- MCFils='Component_List_For_'+Onglet
- monInto=self.sheets[Onglet2][0]
- self.jdc.editor.ajoutDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils,'TXM',min=0, max='**', into=monInto, homo= 'SansOrdreNiDoublon')
- self.jdc.editor.ajoutMC(self,MCFils,[],('b_TabList',))
- self.MCAjoutes.append(MCFils)
-
- MCFils='Contingency_List_For_'+Onglet
- monInto=self.sheets[Onglet2][1]
- self.jdc.editor.ajoutDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils,'TXM',min=0, max='**', into=monInto, homo= 'SansOrdreNiDoublon')
- self.jdc.editor.ajoutMC(self,MCFils,[],('b_TabList',))
- self.MCAjoutes.append(MCFils)
-
-
- for Onglet in self.OngletsSelectionnes:
- if Onglet in nouveauxOngletsSelectionnes : continue
-
- MCFils='Contingency_List_For_'+Onglet
- self.jdc.editor.deleteMC(self,MCFils,('b_TabList',))
- self.jdc.editor.deleteDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils)
- self.MCAjoutes.remove(MCFils)
-
- MCFils='Component_List_For_'+Onglet
- self.jdc.editor.deleteMC(self,MCFils,('b_TabList',))
- self.jdc.editor.deleteDefinitionMC('CONTINGENCY_PROCESSING',('b_TabList',),MCFils)
- self.MCAjoutes.remove(MCFils)
-
- self.OngletsSelectionnes=nouveauxOngletsSelectionnes
-## nouveauxOngletsSelectionnes= self.get_child('TabList').getval()
-## if nouveauxOngletsSelectionnes==self.OngletsSelectionnes : return
-## if nouveauxOngletsSelectionnes==() or nouveauxOngletsSelectionnes == [] :
-## for MC in self.MCAjoutes :
-## self.jdc.appli.deleteMC(self,MC)
-## self.MCAjoutes=[]
-## self.OngletsSelectionnes=[]
-## return
-##
-## for Onglet in nouveauxOngletsSelectionnes:
-## if Onglet in self.OngletsSelectionnes : continue
-##
-## MCFils='Contingency_List_For_'+Onglet
-## self.jdc.appli.ajoutMC(self,MCFils,[])
-## self.MCAjoutes.append(MCFils)
-## MCFils='Component_List_For_'+Onglet
-## self.jdc.appli.ajoutMC(self,MCFils,[])
-## self.MCAjoutes.append(MCFils)
-##
-##
-## for Onglet in self.OngletsSelectionnes:
-## if Onglet in nouveauxOngletsSelectionnes : continue
-##
-## MCFils='Contingency_List_For_'+Onglet
-## self.jdc.appli.deleteMC(self,MCFils)
-## self.MCAjoutes.remove(MCFils)
-##
-## MCFils='Component_List_For_'+Onglet
-## self.jdc.appli.deleteMC(self,MCFils)
-## self.MCAjoutes.remove(MCFils)
-##
-## self.OngletsSelectionnes=nouveauxOngletsSelectionnes
-##
-##