-
Notifications
You must be signed in to change notification settings - Fork 0
/
HandlePosDesignVars.any
47 lines (46 loc) · 1.19 KB
/
HandlePosDesignVars.any
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Design Variables for the Whinch Handle position
// Each design var has the previous and next as limits
// This is done to create a monotonically increasing function
//
AnyDesVar WhinchTurnPos1 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][1];
Min = 0;
Max = .WhinchTurnPos2.Val;
};
AnyDesVar WhinchTurnPos2 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][2];
Min = .WhinchTurnPos1.Val ;
Max = .WhinchTurnPos3.Val ;
};
AnyDesVar WhinchTurnPos3 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][3];
Min = .WhinchTurnPos2.Val ;
Max = .WhinchTurnPos4.Val ;
};
AnyDesVar WhinchTurnPos4 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][4];
Min = .WhinchTurnPos3.Val ;
Max = .WhinchTurnPos5.Val ;
};
AnyDesVar WhinchTurnPos5 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][5];
Min = .WhinchTurnPos4.Val ;
Max = .WhinchTurnPos6.Val ;
};
AnyDesVar WhinchTurnPos6 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][6];
Min = .WhinchTurnPos5.Val ;
Max = .WhinchTurnPos7.Val ;
};
AnyDesVar WhinchTurnPos7 =
{
Val = Main.Model.EnvironmentModel.HandleDriver.Data[0][7];
Min = .WhinchTurnPos6.Val ;
Max = 2*pi;
};