Example: Function call: var_nd_dev_g(0.65, matrix_7,matrix_11_s). Parameter = 0.65 and matrix_7:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
1 |
4 |
8 |
3 |
-2 |
The matrix_7 is in file matrix_7.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
matrix_11_s:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
8.93784 -0.25271 -1.27649 -0.77983 -0.3662 |
-0.25271 9.64713 -1.60709 -0.15443 3.7164 |
-1.27649 -1.60709 4.91926 -2.73949 -0.4274 |
-0.77983 -0.15443 -2.73949 7.44517 -0.39033 |
-0.3662 3.7164 -0.4274 -0.39033 9.26 |
The matrix_11_s is in file matrix_11_s.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
VaR Deviation for Gain Normal Dependent 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_nd_dev_g at point_1 run problem in file problem_var_nd_dev_g.txt (see, Calculate Problem)::
calculate
point: point_1
value:
var_nd_dev_g(0.65, matrix_7,matrix_11_s)
Value of var_nd_dev_g(0.65, matrix_7,matrix_11_s) at point_1 equals 1.7877
Files problem_var_nd_dev_g.txt, matrix_7.txt, matrix_11_s.txt and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\var_nd_dev_g_test.