Multiple Steady State Neutron Flux Calculations

This application mode will create and run multiple steady state calculations. It’s primary intended use is to study the effect of perturbing a base case (e.g. swapping assemblies, changing loaded rigs or sample states), but it can be used for many other purposes as well.

Note

Although this application mode can also be used to study reactivity worth of control elements, and estimate feedback effects, there are other application modes specifically for this purpose.

Typical Use Cases

Creating an Input Module

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

oscar5 MY_REACTOR.manager cases 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.cases as app
from ..configurations.my_conf import model
from core import *

# Create parameter set
cases = app.parameters()

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

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

# Application specific
c1 = cases.add_case('new_bank')
c1.model.set_banks(control.percent_extracted(75))
# etc

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

Additional Input Parameters

In the following cases denotes a applications.cases parameter set, created as follows:

import applications.cases as app

cases = app.parameters()

This application supports all the critical case parameters. The parameters set here will determine how the base calculation is performed, and also set the default parameters for additional cases.

cases.add_case(name, description=None)

Adds a new case to be calculated.

Parameters:
  • name (string) – The case name.

  • description – Optional description of the case.

This will return a critical case parameter set, which is used to modify the case application data.

Command Line Usage

This application supports all the standard application modes and options as described in General Application Command Line Interface (CLI). Apart from the standard modes, each case added with cases.add_case() will be available as a sub-mode, allowing one to run them individually.

Typical command line usage

Output Tokens

critical_case.case_results(param, order=None, **kwargs)

Extract a parameter from each case.

Parameters:

param (str) – The

Examples