Skip to main content

What happens to my testbed if I add a variable to my model? I initially have a test bed and it work but then i added a new variable to my mode, does that test bed still work?

Hi Donald,

The testbed will still work. I’ve attached two sample models along with testbeds and their results if you want to try it to see how it works, but here’s a description of what happens:

  • Model 1 has two inputs (A and 😎 and one output (Sum).
  • Model 2 has three inputs (A, B, and C) and two outputs (Sum and Product)

If you create a testbed on Model 1, it will have two inputs (A and 😎. If you run this testbed on Model 1, you will get one output; if you run it on Model 2, it will assume the value sitting in input C when the model was uploaded for input C and give two outputs: Sum and Product. If you compare the results of these, you will get a testbed comparison file with two inputs (A and 😎 and one output (Sum).

Similarly, if you create a testbed on Model 2, it will have three inputs (A, B, and C). If you run this testbed on Model 2, you will get two outputs (Sum and Product). If you run it on Model 1, it will ignore the value for Input C and just use inputs A and B and return a single output (Sum). If you compare the results of these, you will get a testbed comparison file with three inputs (A, B, and C) and one output (Sum).

That was a lot of word in paragraph form, so here’s a summary chart that’s hopefully easier to understand:

 

 

Hopefully that helps!

-Kevin


Reply