Skip to content

Commit dfca76e

Browse files
committed
small test update that catches issue with restore and executing on timestep_end #31842
1 parent af1f2c4 commit dfca76e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

test/tests/controls/pid_control/gold/min_max_limits.csv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
time,integral,left_boundary_average
22
0,0,0
3-
1,2.5,4
4-
2,1.500000003131,2
5-
3,1.5,2
6-
4,1.5,2
3+
1,0.5,0
4+
2,2.075,3.15
5+
3,2.5,4
6+
4,1.84625,2.6925
77
5,1.5,2
88
6,1.5,2
99
7,1.5,2

test/tests/controls/pid_control/tests

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Tests]
22
[pid]
33
requirement = "The Control system shall be able to control an input parameter to make a postprocessor match a target value,"
4-
issues = '#17271'
4+
issues = '#17271 #31842'
55
design = 'syntax/Controls/index.md source/controls/PIDTransientControl.md'
66
[basic]
77
type = 'CSVDiff'
@@ -16,7 +16,8 @@
1616
type = 'CSVDiff'
1717
input = 'pid_control.i'
1818
csvdiff = 'min_max_limits.csv'
19-
cli_args = 'Outputs/file_base=min_max_limits Controls/integral_value/maximum_output_value=4.0 Controls/integral_value/minimum_output_value=2.0 Executioner/nl_abs_tol=1e-14 Executioner/end_time=10'
19+
cli_args = 'Outputs/file_base=min_max_limits Controls/integral_value/maximum_output_value=4.0 Controls/integral_value/minimum_output_value=2.0
20+
Executioner/nl_abs_tol=1e-14 Executioner/end_time=10 Controls/integral_value/execute_on=timestep_end'
2021
detail = 'allowing the Proportional Integral Derivative control to have limits for its maximum and minimum output,'
2122
[]
2223
[abs_max_rate_change]

0 commit comments

Comments
 (0)