Example: Function call: pm2_max_dev(0, matrix_1, matrix_2). Parameter = 0 and   matrix_1:

 

x1

x2

x3

x4

scenario_benchmark

scenario_probability

1

7

4

-5

8

4

3

-6

-2

11

0.4

0.6

 

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

 

matrix_2:

 

x1

x2

x4

scenario_benchmark

2

-3

-1

6

1

-7

-5

-1

 

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

 

Partial Moment Two Max Deviation 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 pm2_max_dev at point_1 run problem in file problem_pm2_max_dev.txt (see, Calculate Problem):

 

calculate

point: point_1

value:

pm2_max_dev(0, matrix_1, matrix_2)

 

Value of pm2_max_dev(0, matrix_1, matrix_2) at point_1 equals 80.736

Files problem_pm2_max_dev.txt, matrix_1.txt, matrix_2.txt and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\ pm2_max_dev_test.