Link


Description:

It represents the interface for a link between 2 nodes. A link contains data being transferred from the original node (Org-) to the destination node (Dst-)

Properties:

ID Identification number of the link
Value Value of the variable Value
ValueArray Value list of the variable ValueArray
XD1 X-Value of the variable D1
YD1 Y-Value of  the variable D1
XD2 X-Value of the variable D2
YD2 Y-Value of the variable D2
ZD2 Z-Value of the variable D2
XD3 X-Value of the variable D3
YD3 Y-Value of the variable D3
ZD3 Z-Value of the variable D3
VD3 V-Value of the variable D3
IsStochastic

True: The link is a stochastic parameter

False: The link is a nominal parameter

OrgValue Value of the Original Element
OrgName Name of the Original Element
OrgUnit Unit of the Original Element
OrgComment Comment of the Original Element
DstValue Value of the Destination Element
DstName Name of the Destination Element
DstUnit Unit of the Destination Element
DstComment Comment of the Destination Element
InputName Name of the Input-Parameter (parameter name of the extern model)
OutputName Name of the Output-Parameter (result name of the extern model)
InputType

Value Accumulation for Value from ValueArray or Value1D (Input-Parameter)

0 = Last Value

1 = Maximal Value

2 = Minimal Value

3 = Mean Value

4 = Sum

5 = Absolute Sum

6 = Bandwidth

7 = Standard Deviation

OutputType

Value Accumulation for Value from ValueArray or Value1D (Output-Parameter)

Methods:

SetXAxis Set the link as X-axis for 1D-varible
SetYAxis Set the link as Y-axis for 1D-varible
IsXAxis Return True if the link is a X-axis
IsYAxis Return True if the link is a Y-axis
ResetValueArray Delete all elements of ValueArray
ResetD1 Delete all elements of the variable D1
ResetD2 Delete all elements of the variable D2
ResetD3 Delete all elements of the variable D3
AddValueArray(Double) Add a value to ValueArray
AddD1(Double X, Double Y) Add the point (X,Y) to the variable D1
AddD2(Double X, Double Y, Double Z) Add the point (X,Y,Z) to the variable D2
AddD3(Double X, Double Y, Double Z, Double V) Add the point (X,Y,Z,V) to the variable D3
ValueArray2Value Calculates Value from value list of ValueArray in dependence of OutputType
SetInputExcel(String Sheet, String Cell) Set the link as input to the node "Excel" with the parameter sheet and cell of the Excel file
SetOutputExcel(String Sheet, String Cell) Set the link as output to the node "Excel" with the parameters sheet and cell of the Excel file
SetInputExternScript(Bool Condition, Double Lower, Double Upper) Set the link as input for the node "ExternScript". If "Condition" =True, the input link will be used as conditional computing in the node with the parameter "Lower" and "Upper" as boundaries for calculation. If "Condition" = False, it will normal input without conditional computing. The parameter "Lower" and "Upper" will be ignored.
SetInputFile(Integer StartPos, String Format) Set the link to the node "InputFile". "StartPos" is the start position of the parameter in the input file. "Format" is the number format for the parameter
SetOutputFile(String Key, Integer Occur, Integer Offset, Integer Array, Integer Type) Set the link to the node "OutputFile".
"Key" is the key string for the output file.
"Occur" is the number of the parameter occured after the key-string.
"Offset" is the offset of the parameter to the key-string.
"Array" is type of the parameter:
     0= Variable,
     1= Row
     2= Column
"Type" is the kind of value accumulation from the value array in the case of row or column
     0= last value
     1= max value
     2= min value
     3= mean value
     4= sum
     5= absolute sum
     6= difference between min and max value
     7= standard deviation
SetInputInternScript() Set the link as input for the node "InternScript"
SetOutputInternScript() Set the link as output for the node "InternScript"
SetInputMatlab(String Name) Set the link as input for the node "Matlab" with the name of the parameter
SetOutputMatlab(String Name, Integer Type, Integer Index) Set the link as output for the node "Matlab" with the name of the parameter. Index is the matrix column number.
"Type" is the kind of value accumulation from the value array
     0= last value
     1= max value
     2= min value
     3= mean value
     4= sum
     5= absolute sum
     6= difference between min and max value
     7= standard deviation
OutputMatlabName Read Name of the output link for node Matlab
OutputMatlabType Read Type of the output link for node Matlab
OutputMatlabIndex Read Index of the output link for node Matlab
SetInputSimX(String Name) Set the link as input for the node "SimX" with the name of the parameter
SetOutputSimX(String Name, Integer Type, Integer Index) Set the link as output for the node "SimX" with the name of the parameter. Index is the matrix column number.
"Type" is the kind of value accumulation from the value array
     0= last value
     1= max value
     2= min value
     3= mean value
     4= sum
     5= absolute sum
     6= difference between min and max value
     7= standard deviation
OutputSimXName Read name of output link for node SimX
OutputSimXType Read type of output link for node SimX
OutputSimXIndex Read index of output link for node SimX
SimXSteadyState set/put the steady state of the output link for SimX
SetInputUser(String Name) Set the link as input for the node "User" with the name of the parameter
SetOutputUser(String Name, Integer Type) Set the link as output for the node "User" with the name of the parameter.
"Type" is the kind of value accumulation from the value array
     0= last value
     1= max value
     2= min value
     3= mean value
     4= sum
     5= absolute sum
     6= difference between min and max value
     7= standard deviation