Example: Function call: pm2_pen_ni(-18.4,matrix_7,matrix_8). Parameter = -18.4 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).
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
11 |
3 |
2 |
0 |
9 |
Maximum Deviation for Loss 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_pen_ni at point_1 run problem in file problem_pm2_pen_ni.txt (see, Calculate Problem):
calculate
point: point_1
value:
pm2_pen_ni(-18.4,matrix_7,matrix_8)
Value of pm2_pen_ni(-18.4,matrix_7,matrix_8) at point_1 equals 14.1775
Files problem_pm2_pen_ni.txt, matrix_7.txt, matrix_8.txt and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\ pm2_pen_ni_test.