statut="o",
typ="TXM",
into=("COCAGNE", "APOLLO3")),
+ cocagne_bloc=BLOC(
+ condition="code == 'COCAGNE'",
+ cocagne_options=FACT(
+ fr="Options de modélisations spécifiques au code COCAGNE.",
+ ang="COCAGNE specific modeling options",
+ statut="o",
+ core_elements_vs_dklib=SIMP(
+ fr=("Association des éléments du cœur aux bibliothèques neutroniques "
+ "sous la forme (assemblage combustible, DKLib)"),
+ ang=("Association between the core elements and the neutronic libraries "
+ "in the form (fuel assembly, DKLib)"),
+ statut="o",
+ typ=Tuple(2),
+ # TODO: Check if the attribute assembly_type of the
+ # Assembly object is 'REF' then the type of the
+ # DKLibFile must be ReflectorDKLibFile and, if not,
+ # the type of the DKLibFile must be AssemblyDKLibFile
+ validators=VerifTypeTuple((_Assembly, (_AssemblyDKLibFile, _ReflectorDKLibFile))),
+ max="**"))),
# TODO: Implement the *4x4* mesh
radial_meshing=FACT(
fr="Maillage radial du cœur",
neutro_model=Model_data(physics='Neutronics',
scale='component',
- code='APOLLO3',
+ code='COCAGNE',
+ cocagne_options=_F(core_elements_vs_dklib=((REF,REFL_PWR1300),(U1,AF3R_400),(UGD,AF3R_400_12G_GD80U071)),),
radial_meshing=_F(flux_solver='subdivision',
flux_subdivision=2,
feedback_solver='subdivision',
complete_SCRAM_time=1.0,
post_processing=(('Fuel temperature@Thermalhydraulics','MAX'),('Neutronic power@Neutronics','SUM'),('Fuel temperature@Thermalhydraulics','MED'),('Neutronic power@Neutronics','MED')),);
#VERSION_CATALOGUE:V_0:FIN VERSION_CATALOGUE
-#CHECKSUM:4a4101bf9abcdf69683620a7bfb47939:FIN CHECKSUM
\ No newline at end of file
+#CHECKSUM:c06d10ac9fa4f4f20cad8266b6f6455d:FIN CHECKSUM
\ No newline at end of file