Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to be able to display times on console in DTIME #24813

Closed
YaqiWang opened this issue Jun 24, 2023 · 0 comments · Fixed by #24814
Closed

Need to be able to display times on console in DTIME #24813

YaqiWang opened this issue Jun 24, 2023 · 0 comments · Fixed by #24814
Labels
C: Framework T: task An enhancement to the software.

Comments

@YaqiWang
Copy link
Contributor

Reason

For depletion calculations in reactor analysis, the time step sizes are sometimes in days and the end time can reach few years. Printing time in seconds makes the screen output non-intuitive. It is desired to print times in DTIME format (https://www.gnu.org/software/pspp/manual/html_node/Time-and-Date-Formats.html) if users want.

Design

I propose to add a parameter in Console like time_format that users can change how times and time step sizes look. The default can be in second without the unit. It is noted that Console already had two parameters time_precision and scientific_time to control how times are outputted. Adding a new parameter makes sense to me. It is also desired that Console provides a setter so that applications can change the format programmatically.

Impact

It is not going to have any impact to calculations but rather a new feature that improves the screen outputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework T: task An enhancement to the software.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants