Verifiation, Validation, and Iteration Flashcards

Working, Suitable, Improve

1
Q

Describe the concept of verification in computer modelling.

A

We need to be confident that the model is not wrong. Watch out for silent bugs. Use unit testing, benchmarking, and Davids Gold Secret

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a silent bug?

A

The code is running incorrectly and you don’t realise there is an error (e.g mathematical implementation).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is unit testing?

A

A function that checks another function within the code is implemented correctly. Hand calculate a value and assert an error if the difference is above the threshold.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is benchmarking?

A

Solve the ODE analytically under simplified conditions. Verify that the analytical and numerical solutions are similar for the same parameters. Error analysis and time step convergence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is David’s Gold Secret?

A

Blow up one parameter so the physics dominates, or reduce a parameter so the physics disappears. What do you expect to happen? Does is happen?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is validation?

A

Does my model represent reality? Assume the model is technically correct.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do we have to accept to undertake validation?

A

That all model are flawed, imperfect representations of reality. We accept that it is not possible to prove a model is suitable under all possible scenarios. Use validation experiment or calibration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a validation experiment?

A

Devise and conduct an experiment that the model should be able to replicate. Predict outcome by running model with the experimental parameters and compare the results. The real world is an example of a v.e that we can not control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is calibration?

A

Can we choose parameters that the model can accurately replicate the available data? If a model can describe the future reality, it ought to be able to describe the past data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Model Iteration: What are the errors that can be changed relevant to the how and assume parts?

A

Model not correctly scoped or conceptualised, need more/different physics, wrong BCs, ICs, parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Model Iteration: What are the errors that can be changed relevant to the given part?

A

Don’t have enough data to constrain the model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Model Iteration: What are the errors that can be changed relevant to the formulate part?

A

Model takes too long to run (try a different method), model can’t resolve correct time/space scales.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is model iteration?

A

Making changes to a model in response to identified shortcomings in verification and validation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe why both verification and validation can be considered forms of quality assurance

A

They both ensure that the model is correct.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe how physical intuition can be used to verify model behaviour

A

If the trend of the solution is negative when it should be positive (e.g adding mass and increasing temperature actually is decreasing) we can conclude that it is wrong.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe how the concept of diminishing returns applies to model iteration

A

We as developers of models need to consider the tradeoff between accuracy of the model, and the computational time required to obtain that level of accuracy. When the change in accuracy is so small, we may be nearing the point of diminishing returns.

17
Q

What are some characteristics of a good benchmark solution?

A

Numerical and analytical are similar with the same parameters.

18
Q

How can benchmarking be used to select the timestep when solving a problem numerically?

A

Use timestep convergence to see at what time step the numerical becomes close enough to the analytical solution. You must choose a threshold and justify it.