Example: Function call: var_comp_pos(0.7,matrix_6).Parameter = 0.7 and matrix_6:

 

x1

x2

x3

x4

1

4

8

3

 

The matrix_6 is in file matrix_6.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).

VaR Component Positive is calculated at point_1:

 

component_name

value

x1

x2

x3

x4

1

1

1

1

 

The point point_1 is in file point_1.txt (see, PSG Point).

 

To calculate var_comp_pos at point_1 run problem in file problem_var_comp_pos.txt (see, Calculate Problem):

 

calculate

Point: point_1

Value:

 var_comp_pos(0.7, matrix_6)

 

Value of var_comp_pos(0.7, matrix_6) at point_1 equals 3.8

Files problem_var_comp_pos.txt, matrix_6.txt, and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\var_comp_pos_test .