diff --git a/ravenframework/Distributions.py b/ravenframework/Distributions.py index 776e24c639..323a5a4dd3 100644 --- a/ravenframework/Distributions.py +++ b/ravenframework/Distributions.py @@ -3614,6 +3614,7 @@ def _localSetState(self,pdict): @ In, pdict, dict, the namespace state @ Out, None """ + super()._localSetState(pdict) self.method = pdict.pop('method') self.dimension = pdict.pop('dimension') self.rank = pdict.pop('rank') diff --git a/tests/framework/ROM/TimeSeries/SyntheticHistory/tests b/tests/framework/ROM/TimeSeries/SyntheticHistory/tests index 3d448227c7..d6c08ca228 100644 --- a/tests/framework/ROM/TimeSeries/SyntheticHistory/tests +++ b/tests/framework/ROM/TimeSeries/SyntheticHistory/tests @@ -228,6 +228,26 @@ [../] [../] + [./VARMASample] + prereq = VARMA + type = 'RavenFramework' + input = 'varma_sample.xml' + [./csv0] + type = OrderedCSV + output = 'VARMA/pk_samples_0.csv' + gold_files = '../VARMA/samples_0.csv' + rel_err = 8.8e-1 # thank you, Windows and Linux diffs + zero_threshold = 1e-12 + [../] + [./csv1] + type = OrderedCSV + output = 'VARMA/pk_samples_1.csv' + gold_files = '../VARMA/samples_1.csv' + rel_err = 8.8e-1 # thank you, Windows and Linux diffs + zero_threshold = 1e-12 + [../] + [../] + [./VARMAInterpolated] type = 'RavenFramework' input = 'varma_interpolated.xml' diff --git a/tests/framework/ROM/TimeSeries/SyntheticHistory/varma_sample.xml b/tests/framework/ROM/TimeSeries/SyntheticHistory/varma_sample.xml new file mode 100644 index 0000000000..4518f2955e --- /dev/null +++ b/tests/framework/ROM/TimeSeries/SyntheticHistory/varma_sample.xml @@ -0,0 +1,75 @@ + + + + framework/ROM/TimeSeries/SyntheticHistory.VARMASample + j-bryan + 2024-01-26 + SupervisedLearning.SyntheticHistory,TSA.VARMA + Tests the ability to load and sample VARMA created by SyntheticHistory ROM. + + + + VARMA + read, sample + 1 + + + + + pk + synth + + + placeholder + synth + mc + samples + pk_samples + + + + + varma.pk + + + + + + 2 + 42 + + 1.0 + + + + + + signal0, signal1, seconds + scaling + seconds + +

1

+ 0 +
+
+
+ + + + csv + samples + + + + + + + scaling + signal0, signal1 + + seconds + + + + +