Calculate Xenon Reactivity Curves

Typical Use Cases

Creating an Input Module

An empty input module can be created using the manager utility:

oscar5 MY_REACTOR.manager critical_case MODULE_NAME [options]

This command the following optional arguments:

--package <str>

The subpackage to which this module should be added. The default value is ‘projects’.

--description <str>

A short description of the input module.

--configuration <str>

The configuration module that contains the model used in this script.

--mco <str>

Name (or path) of the model configuration archive that should be used in this script.

Attention

This option can not be specified when --configuration is also specified.

--time-stamp <str>

Time point at which facility state should be recovered (see app_param.time_stamp). Must be a valid datetime.

A typical input module has the following form:

import applications.critical_case as app
from ..configurations.my_conf import model
from core import *

# Create parameter set
ccp = app.parameters()

# Set some base application parameters
cpp.time_stamp = '01-01-2020 00:00:00'

# Set and modify the model
cpp.model = model
cpp.model.set_banks(control.percent_extracted(50))
# etc

# Application specific
cpp.power = 1 * units.MW
# etc

if __name__ == '__main__':
 app.main(parameters=cpp)

Additional Input Parameters

In the following ccp denotes a critical_case parameter set, created as follows:

import applications.critical_cases as app

cpp = app.parameters()

This application supports all the general parameters, as well as the following:

cpp.power

: power

= 1 W

The (neutronic) power used to normalize flux levels.

Command Line Usage

This application supports all the standard application modes and options as described in General Application Command Line Interface (CLI).

Typical command line usage

Output Tokens

Examples