Skip to content
Snippets Groups Projects
Commit 7321242e authored by faridm69's avatar faridm69
Browse files

[tests][CO2Benchmark]moved the MC reference csv file.

parent 714048a6
No related branches found
No related tags found
No related merge requests found
Time [day],mean,std
0.00000000,352.34543838,147.70673591
11.11111111,325.59624221,63.06660731
22.22222222,323.22328049,56.04783533
33.33333333,321.86265388,52.03424212
44.44444444,320.93206540,49.23894134
55.55555556,320.23656565,47.11367608
66.66666667,319.68794574,45.41225784
77.77777778,319.23856977,44.00404241
88.88888889,318.85955214,42.81036827
100.00000000,318.53302616,41.77845688
...@@ -31,6 +31,7 @@ from BayesInference.BayesInference import BayesInference, Discrepancy ...@@ -31,6 +31,7 @@ from BayesInference.BayesInference import BayesInference, Discrepancy
if __name__ == "__main__": if __name__ == "__main__":
refDataDir = './refData/'
#===================================================== #=====================================================
#============= COMPUTATIONAL MODEL ================ #============= COMPUTATIONAL MODEL ================
#===================================================== #=====================================================
...@@ -53,8 +54,8 @@ if __name__ == "__main__": ...@@ -53,8 +54,8 @@ if __name__ == "__main__":
Model.MeasurementFile = 'MeasuredPressure.csv' Model.MeasurementFile = 'MeasuredPressure.csv'
# For Checking with the MonteCarlo refrence # For Checking with the MonteCarlo refrence
# Model.MCReference = True Model.MCReference = True
# Model.MCReferenceFile = 'MCrefs_MeanStd.csv' Model.MCReferenceFile = 'MCrefs_MeanStd.csv'
#===================================================== #=====================================================
#========= PROBABILISTIC INPUT MODEL ============== #========= PROBABILISTIC INPUT MODEL ==============
...@@ -62,7 +63,6 @@ if __name__ == "__main__": ...@@ -62,7 +63,6 @@ if __name__ == "__main__":
Inputs = Input() Inputs = Input()
# Import the MC parameter sets (Input parameters) # Import the MC parameter sets (Input parameters)
refDataDir = './refData/'
filename = "InputParameters.csv" filename = "InputParameters.csv"
MCParametersets = pd.read_csv(refDataDir+filename) MCParametersets = pd.read_csv(refDataDir+filename)
...@@ -217,9 +217,9 @@ if __name__ == "__main__": ...@@ -217,9 +217,9 @@ if __name__ == "__main__":
PostPCE.PCEMoments(PCEModel) PostPCE.PCEMoments(PCEModel)
# Plot Mean & Std for all Outputs # Plot Mean & Std for all Outputs
# PostPCE.MomentLineplot(PCE_Means = PostPCE.PCEMeans, PostPCE.MomentLineplot(PCE_Means = PostPCE.PCEMeans,
# PCE_Stds = PostPCE.PCEStd, PCE_Stds = PostPCE.PCEStd,
# x_label = 'Time [day]', SaveFig = True) x_label = 'Time [day]', SaveFig = True)
# Plot the evolution of the KLD,BME, and Modified LOOCV error # Plot the evolution of the KLD,BME, and Modified LOOCV error
if MetaModelOpts.ExpDesign.Method == 'sequential': if MetaModelOpts.ExpDesign.Method == 'sequential':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment