From f6259658df16e012bf00b0138324fe8fbf2119aa Mon Sep 17 00:00:00 2001 From: yannrichet Date: Mon, 4 May 2020 20:15:34 +0200 Subject: [PATCH] add CRISTAL V2.0.3 --- src/main/io/CRISTAL_V2.0.3_AP2M5.ioplugin | 50 +++++++++++++++++ .../io/CRISTAL_V2.0.3_AP2_SnKeff.ioplugin | 34 ++++++++++++ .../io/CRISTAL_V2.0.3_AP2_SnNormes.ioplugin | 46 ++++++++++++++++ src/main/io/Cristal-Pij-MC_2.0.3.ioplugin | 55 +++++++++++++++++++ src/main/io/Cristal-SnKeff_2.0.3.ioplugin | 39 +++++++++++++ src/main/io/Cristal-SnNormes_2.0.3.ioplugin | 43 +++++++++++++++ src/main/scripts/Cristal-Pij-MC_2.0.3.sh | 5 ++ src/main/scripts/Cristal-Pij-MC_2.0.sh | 2 +- src/main/scripts/Cristal-SnKeff_2.0.3.sh | 5 ++ src/main/scripts/Cristal-SnKeff_2.0.sh | 2 +- src/main/scripts/Cristal-SnNormes_2.0.3.sh | 5 ++ src/main/scripts/Cristal-SnNormes_2.0.sh | 2 +- 12 files changed, 285 insertions(+), 3 deletions(-) create mode 100644 src/main/io/CRISTAL_V2.0.3_AP2M5.ioplugin create mode 100755 src/main/io/CRISTAL_V2.0.3_AP2_SnKeff.ioplugin create mode 100755 src/main/io/CRISTAL_V2.0.3_AP2_SnNormes.ioplugin create mode 100644 src/main/io/Cristal-Pij-MC_2.0.3.ioplugin create mode 100644 src/main/io/Cristal-SnKeff_2.0.3.ioplugin create mode 100644 src/main/io/Cristal-SnNormes_2.0.3.ioplugin create mode 100644 src/main/scripts/Cristal-Pij-MC_2.0.3.sh create mode 100644 src/main/scripts/Cristal-SnKeff_2.0.3.sh create mode 100644 src/main/scripts/Cristal-SnNormes_2.0.3.sh diff --git a/src/main/io/CRISTAL_V2.0.3_AP2M5.ioplugin b/src/main/io/CRISTAL_V2.0.3_AP2M5.ioplugin new file mode 100644 index 0000000..f3f9451 --- /dev/null +++ b/src/main/io/CRISTAL_V2.0.3_AP2M5.ioplugin @@ -0,0 +1,50 @@ +information=Cristal v2.0.2 (French criticality package) plugin made by IRSN/Yann Richet\nLesser General Public License + +variableStartSymbol=$ +variableLimit=(...) +formulaStartSymbol=@ +formulaLimit={...} +commentLineChar=# + +roundOff=10 + +datasetFilter=contains("(.*)","> get(1) >> cut("SIGMA",2) >> substring("ZZZ","+/-") >> asNumeric() +output.mean_keff.default=1.0 + +output.sigma_keff.if=true +output.sigma_keff.get=grep("(.*).listing","FAIBLE SIGMA") >> get(1) >> cut("SIGMA",2) >> substring("+/-",":") >> substring(3) >> asNumeric() +output.sigma_keff.default=0.001 + +output.dkeff_pertu.if=contains("(.*)","PERTU") +output.dkeff_pertu.get=grep("(.*).listing","FAIBLE SIGMA") >> get(2) >> cut("SIGMA",2) >> substring("ZZZ","+/-") >> asNumeric() +output.dkeff_pertu.default=0.01 + +output.sigma_dkeff_pertu.if=contains("(.*)","PERTU") +output.sigma_dkeff_pertu.get=grep("(.*).listing","FAIBLE SIGMA") >> get(2) >> cut("SIGMA",2) >> substring("+/-","##") >> substring(3) >> asNumeric() +output.sigma_dkeff_pertu.default=0.00001 + +output.cU.if=true +output.cU.get=grep("(.*)resume","C\\(U\\)=") >> between("C(U)=","_") >> asNumeric1DArray() +output.cU.default=runif(10,0,100) + +output.cPU.if=true +output.cPU.get=grep("(.*)resume","C\\(PU\\)=") >> between("C(PU)=","_") >> asNumeric1DArray() +output.cPU.default=runif(10,0,100) + +output.M2.if=true +output.M2.get=grep("(.*)resume"," M2 (\\s+)(\\d)") >> between("M2","cm2") >> asNumeric1DArray() +output.M2.default=runif(10,0,20) + +output.B2.if=true +output.B2.get=grep("(.*)resume"," B2 (\\s+)(\\d)") >> between("B2","|") >> asNumeric1DArray() +output.B2.default=runif(10,0,0.01) + +output.KINF.if=true +output.KINF.get=grep("(.*)resume"," KINF ") >> between("KINF","|") >> asNumeric1DArray() +output.KINF.default=runif(10,0,2) diff --git a/src/main/io/CRISTAL_V2.0.3_AP2_SnKeff.ioplugin b/src/main/io/CRISTAL_V2.0.3_AP2_SnKeff.ioplugin new file mode 100755 index 0000000..233aafd --- /dev/null +++ b/src/main/io/CRISTAL_V2.0.3_AP2_SnKeff.ioplugin @@ -0,0 +1,34 @@ +information=Cristal v2.0 (French criticality package) plugin made by IRSN/Yann Richet\nLesser General Public License + +variableStartSymbol=$ +variableLimit=(...) +formulaStartSymbol=@ +formulaLimit={...} +commentLineChar=# + +roundOff=10 + +datasetFilter=contains("(.*)","> get(0) >> between("| KEFF","|") >> asNumeric() +output.keff.default=1.0 + +output.kinf.if=true +output.kinf.get=grep("(.*)listing"," KINF ") >> get(0) >> between("| KINF","|") >> asNumeric() +output.kinf.default=1.0 + +output.slowing_down.if=true +output.slowing_down.get=grep("(.*)listing"," RALENTISSEMENT ") >> get(0) >> between("| RALENTISSEMENT","| ") >> asNumeric() +output.slowing_down.default=0.5 + +output.M2.if=true +output.M2.get=grep("(.*)listing"," M2 ") >> get(0) >> between("| M2","cm2 |") >> asNumeric() +output.M2.default=40 + +output.B2.if=true +output.B2.get=grep("(.*)listing"," B2 ") >> get(0) >> between("| B2","|") >> asNumeric() +output.B2.default=0.01 diff --git a/src/main/io/CRISTAL_V2.0.3_AP2_SnNormes.ioplugin b/src/main/io/CRISTAL_V2.0.3_AP2_SnNormes.ioplugin new file mode 100755 index 0000000..d8e9919 --- /dev/null +++ b/src/main/io/CRISTAL_V2.0.3_AP2_SnNormes.ioplugin @@ -0,0 +1,46 @@ +information=Cristal v2.0 (French criticality package) plugin made by IRSN/Yann Richet\nLesser General Public License + +variableStartSymbol=$ +variableLimit=(...) +formulaStartSymbol=@ +formulaLimit={...} +commentLineChar=# + +roundOff=10 + +datasetFilter=contains("(.*)","> get(0) >> between(")="," ") >> asNumeric() +output.cx.default=runif(10) + +output.hx.if=true +output.hx.get=grep("(.*)resume","H/") >> get(0) >> between("H/"," ") >> after("=") >> asNumeric() +output.hx.default=runif(10) + +output.dimension.if=true +output.dimension.get=grep("(.*)resume","(( ABANDONNEE )|( VAUT ))") >> get(0) >> between(") ","|") >> asNumeric() +output.dimension.default=runif(10) + +output.ekeff.if=true +output.ekeff.get=grep("(.*)resume","(( ABANDONNEE )|(ECART AU KEFF CIBLE))") >> get(0) >> between(") ","|") >> asNumeric() +output.ekeff.default=runif(10) + +output.dkeff_ddimension.if=true +output.dkeff_ddimension.get=grep("(.*)resume","(( ABANDONNEE )|(PENTE EN REACTIVITE))") >> get(0) >> between(") ","|") >> asNumeric() +output.dkeff_ddimension.default=runif(10) + +output.M2.if=true +output.M2.get=grep("(.*)resume"," M2 ") >> get(0) >> between("| M2","cm2 |") >> asNumeric() +output.M2.default=runif(10) + +output.B2.if=true +output.B2.get=grep("(.*)resume"," B2 ") >> get(0) >> between("| B2","|") >> asNumeric() +output.B2.default=runif(10) + +output.kinf=true +output.kinf.get=grep("(.*)resume"," KINF ") >> get(0) >> between("| KINF","|") >> asNumeric() +output.kinf.default= runif(1) diff --git a/src/main/io/Cristal-Pij-MC_2.0.3.ioplugin b/src/main/io/Cristal-Pij-MC_2.0.3.ioplugin new file mode 100644 index 0000000..eee39d1 --- /dev/null +++ b/src/main/io/Cristal-Pij-MC_2.0.3.ioplugin @@ -0,0 +1,55 @@ +information=Cristal (French criticality package) plugin made by IRSN/Yann Richet\nLesser General Public License + +variableStartSymbol=$ +variableLimit=(...) +formulaStartSymbol=@ +formulaLimit={...} +commentLineChar=* + +roundOff=10 + +datasetFilter=contains("(.*)","DEBUT_MORET") && contains("(.*)","DEBUT_APOLLO") && contains("(.*)","'NGROUP_FINAL' = 281") + +keywords.BLUE=SEAL APO1 APO2 ANIS ISOT DIRA COVE LUXT QUAD AP1P AP2P PEC SIGF MICR SIGA PROP VERI MACR AP2H APOL CHIM FINC GEOM MODU FINM FING SOUR FINS SIMU FSIM SORT POST FPOS FSOR GRAP PEIN FGRA FIND NAPP RSPH RCYL RBOI RPLA RHEX SRES NRES EXCE PREC +keywords.GREEN=REMP VARO CREF DREF DISK SPHE BOIT OBLI CYLX CYLY CYLZ CYLQ CONX CONY CONZ PPLA PLAX PLAY PLAZ HEXX HEXY HEXZ ECRA REUN INTE ETSU DLIM MSEC GLOB CARA COUP KEFF TAUX STAR PAS NOBI BILA NOCO NORE SREF SVOL COUL PROJ ZOOM NATU STRA MKIJ IMPO SUPH PERT FINP RESE KINI MATR DEBU SKIP COMB IMPR FCOM MAI +keywords.RED=TYPE VOLU CONC ALEA KINF KSUP POIN FPOI VOLM FVOL SUNI UNIF SIGM MINI + +outputlist=mean_keff sigma_keff dkeff_pertu sigma_dkeff_pertu cU cPU M2 B2 KINF +# pertu tmp +outputfunctions=GaussianDensity:mean_keff,sigma_keff Numeric:mean_keff+3*sigma_keff Numeric:mean_keff Numeric:sigma_keff + +output.mean_keff.if=true +output.mean_keff.get=grep("(.*).listing","FAIBLE SIGMA") >> get(1) >> cut("SIGMA",2) >> substring("ZZZ","+/-") >> asNumeric() +output.mean_keff.default=1.0 + +output.sigma_keff.if=true +output.sigma_keff.get=grep("(.*).listing","FAIBLE SIGMA") >> get(1) >> cut("SIGMA",2) >> substring("+/-",":") >> substring(3) >> asNumeric() +output.sigma_keff.default=0.001 + +output.dkeff_pertu.if=contains("(.*)","PERTU") +output.dkeff_pertu.get=grep("(.*).listing","FAIBLE SIGMA") >> get(2) >> cut("SIGMA",2) >> substring("ZZZ","+/-") >> asNumeric() +output.dkeff_pertu.default=0.01 + +output.sigma_dkeff_pertu.if=contains("(.*)","PERTU") +output.sigma_dkeff_pertu.get=grep("(.*).listing","FAIBLE SIGMA") >> get(2) >> cut("SIGMA",2) >> substring("+/-","##") >> substring(3) >> asNumeric() +output.sigma_dkeff_pertu.default=0.00001 + +output.cU.if=true +output.cU.get=grep("(.*)resume","C\\(U\\)=") >> between("C(U)=","_") >> asNumeric1DArray() +output.cU.default=runif(10,0,100) + +output.cPU.if=true +output.cPU.get=grep("(.*)resume","C\\(PU\\)=") >> between("C(PU)=","_") >> asNumeric1DArray() +output.cPU.default=runif(10,0,100) + +output.M2.if=true +output.M2.get=grep("(.*)resume"," M2 (\\s+)(\\d)") >> between("M2","cm2") >> asNumeric1DArray() +output.M2.default=runif(10,0,20) + +output.B2.if=true +output.B2.get=grep("(.*)resume"," B2 (\\s+)(\\d)") >> between("B2","|") >> asNumeric1DArray() +output.B2.default=runif(10,0,0.01) + +output.KINF.if=true +output.KINF.get=grep("(.*)resume"," KINF ") >> between("KINF","|") >> asNumeric1DArray() +output.KINF.default=runif(10,0,2) diff --git a/src/main/io/Cristal-SnKeff_2.0.3.ioplugin b/src/main/io/Cristal-SnKeff_2.0.3.ioplugin new file mode 100644 index 0000000..4cf8436 --- /dev/null +++ b/src/main/io/Cristal-SnKeff_2.0.3.ioplugin @@ -0,0 +1,39 @@ +information=Cristal (French criticality package) plugin made by IRSN/Yann Richet\nLesser General Public License + +variableStartSymbol=$ +variableLimit=(...) +formulaStartSymbol=@ +formulaLimit={...} + +commentLineChar=* + +roundOff=10 + +datasetFilter=contains("(.*)","DEBUT_APOLLO") && contains("(.*)","LATEC") && contains("(.*)","SN KEFF") && contains("(.*)","'NGROUP_FINAL' = 281") + +keywords.BLUE=DEBUT_APOLLO2 FIN_APOLLO2 TITRE WRITE ARRET EDTIME FERMER QUADRATURE NGROUP_FINAL ANISOTROPIE +keywords.GREEN=nom_mil nom_calc +keywords.RED=TOPT TSTR TRES TOPT.'STMIL'.nom_mil. TSTR.nom_calc.'GEO' TOPT.'STCRI'.' + +outputlist=keff kinf slowing_down M2 B2 +outputfunctions=Numeric:keff + +output.keff.if=true +output.keff.get=grep("(.*)listing"," KEFF ") >> get(0) >> between("| KEFF","|") >> asNumeric() +output.keff.default=1.0 + +output.kinf.if=true +output.kinf.get=grep("(.*)listing"," KINF ") >> get(0) >> between("| KINF","|") >> asNumeric() +output.kinf.default=1.0 + +output.slowing_down.if=true +output.slowing_down.get=grep("(.*)listing"," RALENTISSEMENT ") >> get(0) >> between("| RALENTISSEMENT","| ") >> asNumeric() +output.slowing_down.default=0.5 + +output.M2.if=true +output.M2.get=grep("(.*)listing"," M2 ") >> get(0) >> between("| M2","cm2 |") >> asNumeric() +output.M2.default=40 + +output.B2.if=true +output.B2.get=grep("(.*)listing"," B2 ") >> get(0) >> between("| B2","|") >> asNumeric() +output.B2.default=0.01 diff --git a/src/main/io/Cristal-SnNormes_2.0.3.ioplugin b/src/main/io/Cristal-SnNormes_2.0.3.ioplugin new file mode 100644 index 0000000..c95a4e6 --- /dev/null +++ b/src/main/io/Cristal-SnNormes_2.0.3.ioplugin @@ -0,0 +1,43 @@ +information=Cristal (French criticality package) plugin made by IRSN/Yann Richet\nLesser General Public License + +variableStartSymbol=$ +variableLimit=(...) +formulaStartSymbol=@ +formulaLimit={...} + +commentLineChar=* + +roundOff=10 + +datasetFilter=contains("(.*)","DEBUT_APOLLO") && contains("(.*)","LATEC") && contains("(.*)","RECHERCHE_DIM_S") && contains("(.*)","LATEC") && contains("(.*)","NORME") + +outputlist=dimension ekeff dkeff_ddimension cx hx M2 B2 +outputfunctions=NumericArray:dimension NumericArray:cx NumericArray:hx + +output.cx.if=true +output.cx.get=grep("(.*)resume","H/") >> between(")="," ") >> asNumeric1DArray() +output.cx.default=runif(10) + +output.hx.if=true +output.hx.get=grep("(.*)resume","H/") >> between("H/"," ") >> after("=") >> asNumeric1DArray() +output.hx.default=runif(10) + +output.dimension.if=true +output.dimension.get=grep("(.*)resume","(( ABANDONNEE )|( VAUT ))") >> between(") ","|") >> asNumeric1DArray() +output.dimension.default=runif(10) + +output.ekeff.if=true +output.ekeff.get=grep("(.*)resume","(( ABANDONNEE )|(ECART AU KEFF CIBLE))") >> between(") ","|") >> asNumeric1DArray() +output.ekeff.default=runif(10) + +output.dkeff_ddimension.if=true +output.dkeff_ddimension.get=grep("(.*)resume","(( ABANDONNEE )|(PENTE EN REACTIVITE))") >> between(") ","|") >> asNumeric1DArray() +output.dkeff_ddimension.default=runif(10) + +output.M2.if=true +output.M2.get=grep("(.*)resume"," M2 ") >> between("| M2","cm2 |") >> asNumeric1DArray() +output.M2.default=runif(10) + +output.B2.if=true +output.B2.get=grep("(.*)resume"," B2 ") >> between("| B2","|") >> asNumeric1DArray() +output.B2.default=runif(10) diff --git a/src/main/scripts/Cristal-Pij-MC_2.0.3.sh b/src/main/scripts/Cristal-Pij-MC_2.0.3.sh new file mode 100644 index 0000000..0961849 --- /dev/null +++ b/src/main/scripts/Cristal-Pij-MC_2.0.3.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +export CRISTAL_HOME="/opt/CRISTAL_V2" + +$CRISTAL_HOME/scripts.v2.0/cristal.v2.0.3 $* \ No newline at end of file diff --git a/src/main/scripts/Cristal-Pij-MC_2.0.sh b/src/main/scripts/Cristal-Pij-MC_2.0.sh index 9b6e059..422cb3f 100644 --- a/src/main/scripts/Cristal-Pij-MC_2.0.sh +++ b/src/main/scripts/Cristal-Pij-MC_2.0.sh @@ -1,5 +1,5 @@ #!/bin/bash -export CRISTAL_HOME="/produits/sec/FORMULAIRE_CRISTAL_V2" +export CRISTAL_HOME="/opt/CRISTAL_V2" $CRISTAL_HOME/scripts.v2.0/cristal.v2.0 $* \ No newline at end of file diff --git a/src/main/scripts/Cristal-SnKeff_2.0.3.sh b/src/main/scripts/Cristal-SnKeff_2.0.3.sh new file mode 100644 index 0000000..0961849 --- /dev/null +++ b/src/main/scripts/Cristal-SnKeff_2.0.3.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +export CRISTAL_HOME="/opt/CRISTAL_V2" + +$CRISTAL_HOME/scripts.v2.0/cristal.v2.0.3 $* \ No newline at end of file diff --git a/src/main/scripts/Cristal-SnKeff_2.0.sh b/src/main/scripts/Cristal-SnKeff_2.0.sh index 9b6e059..422cb3f 100644 --- a/src/main/scripts/Cristal-SnKeff_2.0.sh +++ b/src/main/scripts/Cristal-SnKeff_2.0.sh @@ -1,5 +1,5 @@ #!/bin/bash -export CRISTAL_HOME="/produits/sec/FORMULAIRE_CRISTAL_V2" +export CRISTAL_HOME="/opt/CRISTAL_V2" $CRISTAL_HOME/scripts.v2.0/cristal.v2.0 $* \ No newline at end of file diff --git a/src/main/scripts/Cristal-SnNormes_2.0.3.sh b/src/main/scripts/Cristal-SnNormes_2.0.3.sh new file mode 100644 index 0000000..0961849 --- /dev/null +++ b/src/main/scripts/Cristal-SnNormes_2.0.3.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +export CRISTAL_HOME="/opt/CRISTAL_V2" + +$CRISTAL_HOME/scripts.v2.0/cristal.v2.0.3 $* \ No newline at end of file diff --git a/src/main/scripts/Cristal-SnNormes_2.0.sh b/src/main/scripts/Cristal-SnNormes_2.0.sh index 9b6e059..422cb3f 100644 --- a/src/main/scripts/Cristal-SnNormes_2.0.sh +++ b/src/main/scripts/Cristal-SnNormes_2.0.sh @@ -1,5 +1,5 @@ #!/bin/bash -export CRISTAL_HOME="/produits/sec/FORMULAIRE_CRISTAL_V2" +export CRISTAL_HOME="/opt/CRISTAL_V2" $CRISTAL_HOME/scripts.v2.0/cristal.v2.0 $* \ No newline at end of file