public class Compo extends Operator
This component of the lattice code is dedicated to the constitution of the reactor database intended to store all the nuclear data, produced in the lattice code, that is useful in reactor calculations including fuel management and space-time kinetics. Multigroup lattice calculations are too expensive to be executed dynamically from the driver of the global reactor calculation. A more feasible approach is to create a reactor database where a finite number of lattice calculation results are tabulated against selected global and/or local parameters chosen so as to represent expected operating conditions of the reactor.
The Compo operator is used to create and construct a Compo object. This object is generally persistent and used to collect information gathered from many Dragon elementary calculations performed under various conditions.
For each elementary calculation, the results are recovered from the output of the Edition operator and stored in a list of homogenized mixture directories. The Edition operator is responsible for performing condensation in energy, homogenization in space of the microscopic cross sections and constitution of macroscopic sets for collecting together many isotopes. All the elementary calculations gathered in a single Compo object are characterized by the same number of homogenized mixtures and by a specific output energy-group structure.
Each elementary calculation is characterized by a tuple of global and/or local parameters. Global parameters are characteristics of the complete lattice, while local parameters are characteristics of each homogenized mixture. These parameters are of different types, depending on the nature of the study under consideration: type of assembly, power, temperature in a mixture, concentration of an isotope, time, burnup or exposure rate in a depletion calculation, etc. Each step of a depletion calculation represents an elementary calculation. The Compo object is often presented as a multi-parameter reactor database.
The Compo object is organized as shown in Figure 1. The root of the object contains table-of-content information for global and local parameters and two lists of directories. Each component of the first list ('MIXTURES') contains the directory 'TREE' (the parameter tree) and the list ('CALCULATIONS') made of Microlib objects. Each component of the second list ('GEOMETRIES') contains the homogenized geometry of an elementary calculation.
Figure 1. Organization of a Compo object
The localization of an elementary calculation is done using a tuple of global and/or local parameters. The elementary calculation indices are stored in a tree with the number of levels equal to the number of global and local parameters. An example of a tree with three parameters is shown in Figure 2. Each node of this tree is associated with the index of the corresponding parameter and with the reference to the daughter nodes if they exist. The number of leaves is equal to the number of nodes for the last (third) parameter and is equal to the number of elementary calculations stored in the Compo object. The index of each elementary calculation is therefore an attribute of each leaf.
Figure 2. Parameter tree in a Compo object
In each homogenized mixture component, the Compo operator recover cross sections for a number of particularized isotopes and of a single macroscopic set, a collection of the remaining isotopic cross sections weighted by isotopic number densities. Other information is also recovered: multigroup neutron fluxes, isotopic number densities, fission spectrum, delayed neutron data, etc.
Author: Alain Hebert, Ecole Polytechnique de Montreal (2002)
Modifier and Type | Field and Description |
---|---|
java.lang.String |
comment
user-defined comment
|
int |
maxcal
maximum number of elementary calculations to be stored in the Compo
object.
|
int |
orig
index of the elementary calculation associated to the father node in
the parameter tree
|
Constructor and Description |
---|
Compo(java.lang.String name)
Use this constructor to create a new Compo object.
|
Modifier and Type | Method and Description |
---|---|
void |
exec()
initialize the LCM structure (database) embedded in this Compo object
|
void |
exec(Compo a,
Compo b)
catenate a Compo object into another
|
void |
exec(Compo a,
Edition b,
Evo c,
Autop d)
add a new elementary calculation to the Compo Database
|
void |
exec(Compo a,
Edition b,
Evo c,
Microlib d)
add a new elementary calculation to the Compo Database
|
void |
setGlobal(java.lang.String parkey,
java.lang.String type)
set a new global parameter.
|
void |
setGlobal(java.lang.String parkey,
java.lang.String type,
Autop microlib,
Composition medium)
set a new temperature-type global parameter.
|
void |
setGlobal(java.lang.String parkey,
java.lang.String type,
Isotope isotope,
Autop microlib,
Composition medium)
set a new isotopic concentration-type global parameter.
|
void |
setGlobal(java.lang.String parkey,
java.lang.String type,
Isotope isotope,
Microlib microlib,
Composition medium)
set a new isotopic concentration-type global parameter.
|
void |
setGlobal(java.lang.String parkey,
java.lang.String type,
Microlib microlib,
Composition medium)
set a new temperature-type global parameter.
|
void |
setGlobal(java.lang.String parkey,
java.lang.String type,
java.lang.String value)
set a new user-defined global parameter.
|
void |
setLocal(java.lang.String parkey,
java.lang.String type)
set a new local parameter.
|
void |
setLocal(java.lang.String parkey,
java.lang.String type,
Isotope isotope)
set a new isotopic concentration-type local parameter.
|
void |
setParam(java.lang.String parkey,
float value)
set a float-value type global parameter
|
void |
setParam(java.lang.String parkey,
int value)
set a integer-value type global parameter
|
void |
setParam(java.lang.String parkey,
java.lang.String value)
set a String-value type global parameter
|
void |
setSet(float xtr,
java.lang.String unit)
set the time flag
|
void |
unSet()
unset the time flag
|
public int maxcal
public java.lang.String comment
public int orig
public Compo(java.lang.String name)
name
- user-defined name of the Compo objectpublic void setSet(float xtr, java.lang.String unit)
xtr
- numerical value of the time flagunit
- unit of xtr. This value is chosen among
"S", "DAY" or "YEAR".public void unSet()
public void setGlobal(java.lang.String parkey, java.lang.String type)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- type of the global parameter. This variable is
chosen among the following values:
public void setGlobal(java.lang.String parkey, java.lang.String type, java.lang.String value)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- must be equal to "VALU"value
- type of the user-defined global parameter. This
variable is chosen among the following values:
public void setGlobal(java.lang.String parkey, java.lang.String type, Microlib microlib, Composition medium)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- must be equal to "TEMP"microlib
- Microlib object containing the mixture referencemedium
- medium in microlib containing the temperature used
as global parameterpublic void setGlobal(java.lang.String parkey, java.lang.String type, Isotope isotope, Microlib microlib, Composition medium)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- must be equal to "CONC"microlib
- Microlib object containing the mixture referenceisotope
- Isotope object corresponding to the concentration
used as global parametermedium
- medium in microlib containing the isotopepublic void setGlobal(java.lang.String parkey, java.lang.String type, Autop microlib, Composition medium)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- must be equal to "TEMP"microlib
- Autop object containing the mixture referencemedium
- medium in microlib containing the temperature used
as global parameterpublic void setGlobal(java.lang.String parkey, java.lang.String type, Isotope isotope, Autop microlib, Composition medium)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- must be equal to "CONC"isotope
- Isotope object corresponding to the concentration
used as global parametermicrolib
- Autop object containing the mixture referencemedium
- medium in microlib containing the isotopepublic void setLocal(java.lang.String parkey, java.lang.String type)
parkey
- user-defined 4-character key-word associated to the
global parametertype
- type of the local parameter. This variable is
chosen among the following values:
public void setLocal(java.lang.String parkey, java.lang.String type, Isotope isotope)
parkey
- user-defined 4-character key-word associated to the
local parametertype
- must be equal to "CONC"isotope
- Isotope object corresponding to the concentration
used as local parameterpublic void setParam(java.lang.String parkey, float value)
parkey
- user-defined 4-character key-word associated to the
local parametervalue
- float-value (float) assigned to the global parameterpublic void setParam(java.lang.String parkey, int value)
parkey
- user-defined 4-character key-word associated to the
local parametervalue
- integer-value (int) assigned to the global parameterpublic void setParam(java.lang.String parkey, java.lang.String value)
parkey
- user-defined 4-character key-word associated to the
local parametervalue
- String-value (12-character String) assigned to the
global parameterpublic void exec() throws JargonException
JargonException
public void exec(Compo a, Edition b, Evo c, Microlib d) throws JargonException
a
- existing Compo object containing the databaseb
- Edition object of the elementary calculationc
- Evo object corresponding to the elementary calculationd
- Microlib object corresponding to the elementary calculationJargonException
public void exec(Compo a, Edition b, Evo c, Autop d) throws JargonException
a
- existing Compo object containing the databaseb
- Edition object of the elementary calculationc
- Evo object corresponding to the elementary calculationd
- Autop object corresponding to the elementary calculationJargonException
public void exec(Compo a, Compo b) throws JargonException
a
- existing Compo object containing the databaseb
- Compo object we want to catenate into aJargonException