Open Loop Controller - Curve
Method 1 – Specify curve in the same file under Block name = CURVE.value
[OL_CURVE_BLOCK]
TAG = 'OPENLOOP'
TYPE = 'CURVE'
BLOCK = 'DEMAND_CURVE'
[DEMAND_CURVE]
INDEPENDENT_VARIABLE = 'PATH_S'
DEPENDENT_VARIABLE = SIGNAL
INTERPOLATION = 'AKIMA'
(CURVE)
{PATH_S SIGNAL}
0 100
10 100
20 100
30 0
40 0
50 0
Method 2 – Point to some other file and block containing the curve data
[OL_CURVE_FILE]
TAG = 'OPENLOOP'
TYPE = 'CURVE'
FILE = 'E:\datafiles\brake_signal.txt'
BLOCK = 'BRAKE_CURVE'
[OPENLOOPCONTROLLER - CURVE] - Populates a curve from the data: | ||
---|---|---|
TAG | Attr - string | Required <OPENLOOP > |
TYPE | Attr - string | Required <CURVE > |
CURVE | Attr - string | OPTIONAL If absent:
If present:
|
[DEMAND_CURVE_BLOCK] | ||
---|---|---|
INDEPENDENT_VARIABLE | Attr- string | OPTIONAL
If absent:
If present:
|
DEPENDENT_VARIABLE | Attr- string | OPTIONAL
If absent:
If present:
|
INTERPOLATION | Attr- string | OPTIONAL If absent:
If present:
|
CURVE | Sub-Block | REQUIRED Contains data table. |
(CURVE) | ||
---|---|---|
CURVE_DATA | Table | REQUIRED |