Driver Tree
Hello!I have a BIG problem that I hope some of you cool guys can help me with.
I have something like this driver tree where I want to run a test if it's filled out correctly.
The point is that you have to specify on the same level. If I choose (x) level 1-1 I can't choose something witch is under that same level. That means 1-1-xxxx
Also if i choose 1-1-2-1 I have to choose the other three on that same level. If not choosen there should be a mistake all the way up in the tree.
The tree below is not correct specified. Lets say state 1 is correct and 0 is wrong.
State V-level Driver choose
0 1 Revenue
0 1-1 Net production
1 1-1-1 Gross production x
0 1-1-2 Production Losses x
1 1-1-2-1 Non-array losses x
1 1-1-2-2 Array losses x
0 1-1-2-3 Park availability
1 1-1-2-4 Other Adjustments x
0 1-2 Prices
1 1-2-1 Power
1 1-2-1-1 Gross prices x
1 1-2-1-2 Adjustments x
0 1-2-2 Subsidies
1 1-2-2-1 Sub2 x
0 1-2-2-2 Sub1
Really hope it makes sense otherwice write!
Thanks in advance