📄 stt.mdl
字号:
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "T5\n"
Position [605, 559, 640, 571]
VariableName "nz"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "T6"
Position [970, 289, 1005, 301]
VariableName "beta"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "T7"
Position [980, 214, 1015, 226]
VariableName "alpha"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "T8"
Position [790, 474, 825, 486]
VariableName "vxm"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "T9"
Position [790, 514, 825, 526]
VariableName "vzm"
MaxDataPoints "inf"
SampleTime "-1"
SaveFormat "Array"
}
Block {
BlockType SubSystem
Name "geometry relation"
Ports [5, 3]
Position [875, 188, 950, 452]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "geometry relation"
Location [2, 82, 773, 558]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "kesai"
Position [35, 53, 65, 67]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "bosai"
Position [35, 88, 65, 102]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "gamma"
Position [35, 123, 65, 137]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "theta"
Position [35, 158, 65, 172]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "faic"
Position [35, 193, 65, 207]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [185, 65, 245, 95]
Expr "(cos(u[1])*cos(u[4])*cos(u[2]-u[5])+sin"
"(u[1])*sin(u[4]))/cos(u[6])"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [185, 135, 245, 165]
Expr "cos(u[4])*(cos(u[3])*sin(u[2]-u[5])+sin"
"(u[1])*sin(u[3])*cos(u[2]-u[5]))-sin(u[4])*cos(u[1])*sin(u[3])"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [185, 205, 245, 235]
Expr "(cos(u[3])*cos(u[2]-u[5])-sin(u[1])*sin"
"(u[3])*sin(u[2]-u[5]))/cos(u[6])"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [110, 34, 115, 261]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [305, 65, 335, 95]
Operator "acos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [305, 135, 335, 165]
Operator "asin"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [310, 205, 340, 235]
Operator "acos"
}
Block {
BlockType Outport
Name "alpha"
Position [420, 73, 450, 87]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "beta"
Position [425, 143, 455, 157]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "gammac"
Position [425, 213, 455, 227]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Trigonometric\nFunction2"
SrcPort 1
DstBlock "gammac"
DstPort 1
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Trigonometric\nFunction2"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
DstBlock "alpha"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Trigonometric\nFunction"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 135; -300, 0; 0, -50]
DstBlock "Mux"
DstPort 6
}
Branch {
DstBlock "beta"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Trigonometric\nFunction1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [30, 0]
Branch {
Points [0, 70]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "faic"
SrcPort 1
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "theta"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "gamma"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "bosai"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "kesai"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "power and moment"
Ports [10, 6]
Position [340, 188, 425, 502]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "Cya|Cydz|Cx0|Czb|Czdy|mza|mzwz|mzdz|myb|myw"
"y|mydy|mxdx|mxwx|s|L|q|v"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edi"
"t,edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on"
MaskCallbackString "||||||||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,o"
"n,on,on"
MaskVarAliasString ",,,,,,,,,,,,,,,,"
MaskVariables "Cya=@1;Cydeltaz=@2;Cx0=@3;Czb=@4;Czdeltay=@"
"5;mza=@6;mzwz=@7;mzdeltaz=@8;mybeta=@9;mywy=@10;mydeltay=@11;mxdeltax=@12;mxw"
"x=@13;s=@14;L=@15;q=@16;v=@17;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.6|0.045|0.25023|-0.1358|-0.0257|-0.18|-12"
"8|-0.28|-0.365|-204.15|-0.14|-0.0303|-15.42|0.2552|0.57|97568|400"
MaskTabNameString ",,,,,,,,,,,,,,,,"
System {
Name "power and moment"
Location [2, 82, 773, 575]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "dalpha"
Position [65, 23, 95, 37]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "dbeta"
Position [65, 58, 95, 72]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "alpha"
Position [65, 93, 95, 107]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "beta"
Position [65, 128, 95, 142]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "deltax"
Position [65, 163, 95, 177]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "deltay"
Position [65, 198, 95, 212]
Port "6"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "deltaz"
Position [65, 233, 95, 247]
Port "7"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "wx"
Position [60, 268, 90, 282]
Port "8"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "wy"
Position [65, 303, 95, 317]
Port "9"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "wz"
Position [65, 338, 95, 352]
Port "10"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Mux
Name "Mux"
Ports [10, 1]
Position [140, 16, 145, 359]
ShowName off
Inputs "10"
DisplayOption "bar"
}
Block {
BlockType Fcn
Name "fx"
Position [220, 315, 280, 345]
Expr "Cx0*q*s"
}
Block {
BlockType Fcn
Name "fy"
Position [220, 205, 280, 235]
Expr "(57.3*Cya*u[3]+57.3*Cydeltaz*u[7])*q*s"
}
Block {
BlockType Fcn
Name "fz"
Position [220, 260, 280, 290]
Expr "(57.3*Czb*u[4]+57.3*Czdeltay*u[6])*q*s"
}
Block {
BlockType Fcn
Name "mx"
Position [220, 25, 280, 55]
Expr "(57.3*mxdeltax*u[5]+mxwx*L*u[8]/v)*q*s*"
"L"
}
Block {
BlockType Fcn
Name "my"
Position [220, 85, 280, 115]
Expr "(57.3*mybeta*u[4]+mywy*L*u[9]/v+57.3*my"
"deltay*u[6])*q*s*L"
}
Block {
BlockType Fcn
Name "mz"
Position [220, 145, 280, 175]
Expr "(57.3*mza*u[3]+mzwz*L*u[10]/v+57.3*mzde"
"ltaz*u[7])*q*s*L"
}
Block {
BlockType Outport
Name "Mx"
Position [365, 33, 395, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "My"
Position [365, 93, 395, 107]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Mz"
Position [365, 153, 395, 167]
Port "3"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Fy"
Position [365, 213, 395, 227]
Port "4"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Fz"
Position [365, 268, 395, 282]
Port "5"
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Fx"
Position [365, 323, 395, 337]
Port "6"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "dbeta"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "alpha"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "fx"
SrcPort 1
DstBlock "Fx"
DstPort 1
}
Line {
SrcBlock "fz"
SrcPort 1
DstBlock "Fz"
DstPort 1
}
Line {
SrcBlock "fy"
SrcPort 1
DstBlock "Fy"
DstPort 1
}
Line {
SrcBlock "mz"
SrcPort 1
DstBlock "Mz"
DstPort 1
}
Line {
SrcBlock "my"
SrcPort 1
DstBlock "My"
DstPort 1
}
Line {
SrcBlock "mx"
SrcPort 1
DstBlock
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -