Core Design: Questions on Codes Used

In summary: Probabilistic methods have the advantage that, with more data, they may converge to a more accurate solution. There is always the potential for deterministic codes to get better, but they will never be perfect.
  • #1
Uranium
24
0
I have a few questions regarding codes typically used in core design:

1) Which codes need to be coupled with a TH module and which do not? From what I have gathered, steady state codes can be coupled with a code like RELAP to model transients.

2) Are independent codes that are coupled to one another than codes with a TH module internally? SIMULATE can run transients, but is the TH side of it as good with whatever it is using the those calculations?

3) PARCS seems to be a fairly new code being developed (not very new, but new enough). How does this code differ from SIMULATE and why was it developed?

4) Are Monte-Carlo codes truly the best...once the computing power is there? It seems that probabilistic would be a most accurate, but how much worse are deterministic codes and how much better can they become?

Thanks for your help. I hope my questions make sense.

Regards,

Uranium
 
Engineering news on Phys.org
  • #2
PARCS was developed by a group at Purdue for the NRC. The NRC uses independent codes to audit the works of others. AFAIK, traditionally core simulators has simplistic T/H and fuel rod models in order to obtain the fuel temperatures for cross-section calculations (and Doppler). Some models have been upgraded, and the move now is to couple nuclear with T/H codes.

Codes like RELAP/RETRAN are (primary) system codes as opposed to subchannel codes like VIPRE/COBRA.

SIMULATE is a licensed production code from Studsvik/Scandpower. The code is used by utilities and is an independent method from the vendor (fuel supplier) codes. The NRC uses their own methods, which are independent of those methods used by vendors or utilities.

http://www.nrccodes.com/

The NRC currently develops and maintains the following codes:

TRACE: The TRAC/RELAP Advanced Computational Engine. A modernized thermal-hydraulics code designed to consolidate the capabilities of NRC's 3 legacy safety codes - TRAC-P, TRAC-B and RELAP. It is able to analyze large/small break LOCAs and system transients in both PWRs and BWRs. The capability also exists to model thermal hydraulic phenomena in both 1-D and 3-D space. This is NRC's flagship thermal-hydraulics analysis tool.

RELAP5: Small break LOCA and system transient analysis tool for PWRs or BWRs. It has the capability to model thermal hydraulic phenomena in 1-D components.

PARCS: Purdue Advanced Reactor Core Simulator for reactor kinetics simulation. The Purdue Advanced Reactor Core Simulator (PARCS) is a computer code that solves the time-dependent two-group neutron diffusion equation in three-dimensional Cartesian geometry using nodal methods to obtain the transient neutron flux distribution. The code may be used in the analysis of reactivity-initiated accidents in light water reactors where spatial effects may be important. It may be run in the stand-alone mode or coupled to other NRC thermal-hydraulic codes such as RELAP5 and TRACE. Through coupling with TRACE, the capabilities for RAMONA, NRC's legacy kinetics code are recovered.

SNAP: Symbolic Nuclear Analysis Package, SNAP, is a graphical user environment designed to assist the NRC code user in all aspects of input model development. This involves such tasks as the 1) the actual development of code input decks, 2) executing the models that have been developed, 3) visualizing the code output, and 4) managing the history of new and old legacy models alike.

FRAPCON/FRAPTRAN: FRAPCON is a computer code used for steady-state and mild transient analysis of the behavior of a single fuel rod under near-normal reactor operating conditions. FRAPTRAN is a computer code used for transient and design basis accident analysis of the behavior of a single fuel rod under off-normal reactor operation conditions.

MELCOR: Integral Severe Accident Analysis Code: Fast Running, parametric models

ACGrace - formerly called Xmgr5, this program is used for plotting graphics for all NRC's major safety codes.

SAPHIRE - Systems Analysis Programs for Hands-on Integrated Reliability (SAPHIRE) is used for performing probabilistic risk assessments.


I believe that Monte Carlo are used given the substantial uncertainties in so many variables. Deterministic methods require good resolution (and lots of computing power), as well as intimate knowledge of the local physics. We aren't there yet.
 
Last edited by a moderator:
  • #3
Enthusiast

1) Typically, codes that need to be coupled with a TH (thermal-hydraulic) module are those that are used to simulate transient events, such as RELAP or TRACE. These codes are specifically designed to model the behavior of fluids and heat transfer, and are often used in conjunction with other codes for a more comprehensive analysis. On the other hand, steady state codes, such as MCNP or SCALE, do not necessarily need to be coupled with a TH module as they are primarily used for long-term simulations.

2) Independent codes that are coupled to one another can be more versatile and powerful, as they can combine the strengths of each individual code. However, codes with an internal TH module, such as SIMULATE, may still be very accurate and efficient in modeling transients.

3) PARCS (Purdue Advanced Reactor Core Simulator) was developed as an alternative to SIMULATE, with a focus on advanced reactor designs. It differs from SIMULATE in its use of a nodal method for neutron diffusion calculations, which allows for more detailed modeling of complex core geometries.

4) It is difficult to say whether Monte-Carlo codes are truly the best, as it ultimately depends on the specific application and the quality of the input data. Deterministic codes, which use a set of predetermined equations to model behavior, can be very accurate if the input data is well known and understood. However, Monte-Carlo codes, which use random sampling to calculate results, can provide a more realistic representation of uncertainty and variability in the system. As computing power continues to increase, both types of codes can become more accurate and efficient.
 

1. What is the purpose of core design in coding?

The purpose of core design in coding is to create a structured and efficient program that can be easily understood, maintained, and expanded upon. It involves planning and organizing the code in a way that makes it clear and easy to follow, while also optimizing its performance.

2. What are some common core design principles?

Some common core design principles include separation of concerns, modularity, and abstraction. These principles help to break down the code into smaller, manageable parts and promote reusability, flexibility, and maintainability.

3. How does good core design contribute to the overall quality of a program?

Good core design is essential for creating a high-quality program. It ensures that the program is well-structured, efficient, and easy to understand and maintain. This leads to fewer bugs, faster development, and a better user experience.

4. What are some tools or techniques used for core design?

There are various tools and techniques used for core design, such as UML diagrams, flowcharts, pseudocode, and design patterns. These tools help in visualizing and planning the structure of the code and identifying potential issues or improvements.

5. How does core design differ for different programming languages?

Core design principles remain largely the same for different programming languages, but the specific techniques and tools used may vary. For example, object-oriented languages may make use of design patterns, while functional languages may focus on modularity and abstraction.

Similar threads

Replies
4
Views
5K
  • Programming and Computer Science
Replies
3
Views
312
Replies
1
Views
1K
  • Programming and Computer Science
Replies
0
Views
506
Replies
2
Views
877
  • Advanced Physics Homework Help
Replies
6
Views
1K
Replies
6
Views
1K
  • Nuclear Engineering
Replies
4
Views
3K
  • STEM Career Guidance
Replies
2
Views
1K
Replies
39
Views
479
Back
Top