📄 tetherpoint_endpoint_force.mdl
字号:
Cell "ERTCustomFileBanners"
Cell "GenerateSampleERTMain"
Cell "MultiInstanceERTCode"
Cell "PurelyIntegerCode"
Cell "SupportNonFinite"
Cell "SupportComplex"
Cell "SupportAbsoluteTime"
Cell "SupportContinuousTime"
Cell "SupportNonInlinedSFcns"
PropName "DisabledProps"
}
Version "1.1.0"
TargetFcnLib "ansi_tfl_tmw.mat"
TargetLibSuffix ""
TargetPreCompLibLocation ""
GenFloatMathFcnCalls "ANSI_C"
UtilityFuncGeneration "Auto"
GenerateFullHeader on
GenerateSampleERTMain off
IsPILTarget off
ModelReferenceCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
SuppressErrorStatus off
IncludeFileDelimiter "Auto"
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
SimulationMode "normal"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Constant
Value "1"
VectorParams1D on
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "tetherpoint_endpoint_force"
Location [2, 70, 1006, 732]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Constant
Name "Constant"
Position [100, 375, 130, 405]
Value "40"
}
Block {
BlockType Constant
Name "Constant1"
Position [100, 420, 130, 450]
Value "970"
}
Block {
BlockType Constant
Name "Constant10"
Position [105, 225, 135, 255]
Value "500"
}
Block {
BlockType Constant
Name "Constant11"
Position [105, 265, 135, 295]
Value "65000"
}
Block {
BlockType Constant
Name "Constant2"
Position [100, 465, 130, 495]
Value "62.83*10^(-6)"
}
Block {
BlockType Constant
Name "Constant3"
Position [100, 510, 130, 540]
Value "5000"
}
Block {
BlockType Constant
Name "Constant4"
Position [100, 555, 130, 585]
Value "500"
}
Block {
BlockType Constant
Name "Constant5"
Position [100, 600, 130, 630]
Value "65000"
}
Block {
BlockType Constant
Name "Constant6"
Position [105, 65, 135, 95]
Value "40"
}
Block {
BlockType Constant
Name "Constant7"
Position [105, 105, 135, 135]
Value "970"
}
Block {
BlockType Constant
Name "Constant8"
Position [105, 145, 135, 175]
Value "62.83*10^(-6)"
}
Block {
BlockType Constant
Name "Constant9"
Position [105, 185, 135, 215]
Value "5000"
}
Block {
BlockType "S-Function"
Name "End Point force difference"
Ports [1, 1]
Position [355, 186, 660, 214]
FunctionName "SSTS__tether_MMET_III_discrete_end_force_sfunct"
"ion"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "40"
}
Block {
BlockType Mux
Name "Mux1"
Ports [7, 1]
Position [290, 66, 300, 334]
ShowName off
Inputs "7"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [6, 1]
Position [285, 369, 295, 636]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType "S-Function"
Name "Tether point force difference"
Ports [1, 1]
Position [350, 491, 655, 519]
FunctionName "SSTS__tether_MMET_III_discrete_force_sfunction"
Parameters "NN"
MaskPromptString "Number of point masses"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "NN=@1;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "40"
}
Line {
SrcBlock "Mux6"
SrcPort 1
DstBlock "Tether point force difference"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Mux6"
DstPort 1
}
Line {
SrcBlock "Constant1"
SrcPort 1
DstBlock "Mux6"
DstPort 2
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "Mux6"
DstPort 3
}
Line {
SrcBlock "Constant3"
SrcPort 1
DstBlock "Mux6"
DstPort 4
}
Line {
SrcBlock "Constant4"
SrcPort 1
DstBlock "Mux6"
DstPort 5
}
Line {
SrcBlock "Constant5"
SrcPort 1
DstBlock "Mux6"
DstPort 6
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "End Point force difference"
DstPort 1
}
Line {
SrcBlock "Constant6"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Constant7"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Constant8"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Constant9"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Constant10"
SrcPort 1
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "Constant11"
SrcPort 1
DstBlock "Mux1"
DstPort 6
}
Line {
Points [185, 325; 0, 15; 45, 0; 0, -20]
DstBlock "Mux1"
DstPort 7
}
Annotation {
Name " N_number = 20;\n ro = "
"970; % tether density - kg/(m^3)\n sectional_area = 62.83*10^(-6"
"); % tether cross-section - m^2\n length = 5000; % tether"
" length - m\n Mp = 500; % kg\n velocity_psi = 6"
"5000; % angular velocity - rad/s\n"
Position [807, 629]
HorizontalAlignment "left"
UseDisplayTextAsClickCallback off
}
Annotation {
Name "end force"
Position [243, 329]
UseDisplayTextAsClickCallback off
}
Annotation {
Name "Set Point Masses Number Here"
Position [500, 478]
UseDisplayTextAsClickCallback off
FontSize 14
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -