Skip to content

Instantly share code, notes, and snippets.

@arthurafarias
Created November 7, 2016 12:15
Show Gist options
  • Save arthurafarias/4f05b537741bb36fb939f6c0950d0746 to your computer and use it in GitHub Desktop.
Save arthurafarias/4f05b537741bb36fb939f6c0950d0746 to your computer and use it in GitHub Desktop.
ufcg-ee-cem-exp01
Model {
Name "simulacao"
Version 7.7
MdlSubVersion 0
GraphicalInterface {
NumRootInports 0
NumRootOutports 0
ParameterArgumentNames ""
ComputedModelVersion "1.1"
NumModelReferences 0
NumTestPointedSignals 0
}
SavedCharacterEncoding "windows-1252"
SaveDefaultBlockParams on
ScopeRefreshTime 0.035000
OverrideScopeRefreshTime on
DisableAllScopes off
DataTypeOverride "UseLocalSettings"
DataTypeOverrideAppliesTo "AllNumericTypes"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
MaxMDLFileLineLength 120
Created "Mon Nov 07 08:33:59 2016"
Creator "User"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "User"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Nov 07 09:05:40 2016"
RTWModifiedTimeStamp 400410283
ModelVersionFormat "1.%<AutoIncrement:1>"
ConfigurationManager "None"
SampleTimeColors off
SampleTimeAnnotations off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ShowTestPointIcons on
ShowSignalResolutionIcons on
ShowViewerIcons on
SortedOrder off
ExecutionContextIcon off
ShowLinearizationAnnotations on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
SimulationMode "normal"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
Object {
$PropName "DataLoggingOverride"
$ObjectID 1
$ClassName "Simulink.SimulationData.ModelLoggingInfo"
model_ "simulacao"
signals_ []
overrideMode_ [0U]
Array {
Type "Cell"
Dimension 1
Cell "simulacao"
PropName "logAsSpecifiedByModels_"
}
Array {
Type "Cell"
Dimension 1
Cell []
PropName "logAsSpecifiedByModelsSSIDs_"
}
}
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
CovForceBlockReductionOff on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
CovReportOnPause on
CovModelRefEnable "Off"
CovExternalEMLEnable off
ExtModeBatchMode off
ExtModeEnableFloating on
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigDurationFloating "auto"
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
BufferReuse on
ShowModelReferenceBlockVersion off
ShowModelReferenceBlockIO off
Array {
Type "Handle"
Dimension 1
Simulink.ConfigSet {
$ObjectID 2
Version "1.11.0"
Array {
Type "Handle"
Dimension 8
Simulink.SolverCC {
$ObjectID 3
Version "1.11.0"
StartTime "0.0"
StopTime "2"
AbsTol "auto"
FixedStep "auto"
InitialStep "auto"
MaxNumMinSteps "-1"
MaxOrder 5
ZcThreshold "auto"
ConsecutiveZCsStepRelTol "10*128*eps"
MaxConsecutiveZCs "1000"
ExtrapolationOrder 4
NumberNewtonIterations 1
MaxStep "auto"
MinStep "auto"
MaxConsecutiveMinStep "1"
RelTol "1e-3"
SolverMode "Auto"
ConcurrentTasks off
Solver "ode45"
SolverName "ode45"
SolverJacobianMethodControl "auto"
ShapePreserveControl "DisableAll"
ZeroCrossControl "UseLocalSettings"
ZeroCrossAlgorithm "Nonadaptive"
AlgebraicLoopSolver "TrustRegion"
SolverResetMethod "Fast"
PositivePriorityOrder off
AutoInsertRateTranBlk off
SampleTimeConstraint "Unconstrained"
InsertRTBMode "Whenever possible"
}
Simulink.DataIOCC {
$ObjectID 4
Version "1.11.0"
Decimation "1"
ExternalInput "[t, u]"
FinalStateName "xFinal"
InitialState "xInitial"
LimitDataPoints on
MaxDataPoints "1000"
LoadExternalInput off
LoadInitialState off
SaveFinalState off
SaveCompleteFinalSimState off
SaveFormat "Array"
SignalLoggingSaveFormat "ModelDataLogs"
SaveOutput on
SaveState off
SignalLogging on
DSMLogging on
InspectSignalLogs off
SaveTime on
ReturnWorkspaceOutputs off
StateSaveName "xout"
TimeSaveName "tout"
OutputSaveName "yout"
SignalLoggingName "logsout"
DSMLoggingName "dsmout"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
ReturnWorkspaceOutputsName "out"
Refine "1"
}
Simulink.OptimizationCC {
$ObjectID 5
Version "1.11.0"
Array {
Type "Cell"
Dimension 8
Cell "BooleansAsBitfields"
Cell "PassReuseOutputArgsAs"
Cell "PassReuseOutputArgsThreshold"
Cell "ZeroExternalMemoryAtStartup"
Cell "ZeroInternalMemoryAtStartup"
Cell "OptimizeModelRefInitCode"
Cell "NoFixptDivByZeroProtection"
Cell "UseSpecifiedMinMax"
PropName "DisabledProps"
}
BlockReduction on
BooleanDataType on
ConditionallyExecuteInputs on
InlineParams off
UseIntDivNetSlope off
UseSpecifiedMinMax off
InlineInvariantSignals off
OptimizeBlockIOStorage on
BufferReuse on
EnhancedBackFolding off
StrengthReduction off
ExpressionFolding on
BooleansAsBitfields off
BitfieldContainerType "uint_T"
EnableMemcpy on
MemcpyThreshold 64
PassReuseOutputArgsAs "Structure reference"
ExpressionDepthLimit 2147483647
FoldNonRolledExpr on
LocalBlockOutputs on
RollThreshold 5
SystemCodeInlineAuto off
StateBitsets off
DataBitsets off
UseTempVars off
ZeroExternalMemoryAtStartup on
ZeroInternalMemoryAtStartup on
InitFltsAndDblsToZero off
NoFixptDivByZeroProtection off
EfficientFloat2IntCast off
EfficientMapNaN2IntZero on
OptimizeModelRefInitCode off
LifeSpan "inf"
MaxStackSize "Inherit from target"
BufferReusableBoundary on
SimCompilerOptimization "Off"
AccelVerboseBuild off
AccelParallelForEachSubsystem on
}
Simulink.DebuggingCC {
$ObjectID 6
Version "1.11.0"
RTPrefix "error"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
SignalInfNanChecking "none"
SignalRangeChecking "none"
ReadBeforeWriteMsg "UseLocalSettings"
WriteAfterWriteMsg "UseLocalSettings"
WriteAfterReadMsg "UseLocalSettings"
AlgebraicLoopMsg "warning"
ArtificialAlgebraicLoopMsg "warning"
SaveWithDisabledLinksMsg "warning"
SaveWithParameterizedLinksMsg "warning"
CheckSSInitialOutputMsg on
UnderspecifiedInitializationDetection "Classic"
MergeDetectMultiDrivingBlocksExec "none"
CheckExecutionContextPreStartOutputMsg off
CheckExecutionContextRuntimeOutputMsg off
SignalResolutionControl "UseLocalSettings"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
TimeAdjustmentMsg "none"
MaxConsecutiveZCsMsg "error"
MaskedZcDiagnostic "warning"
IgnoredZcDiagnostic "warning"
SolverPrmCheckMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskDSMMsg "error"
MultiTaskCondExecSysMsg "error"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
TasksWithSamePriorityMsg "warning"
SigSpecEnsureSampleTimeMsg "warning"
CheckMatrixSingularityMsg "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterUnderflowMsg "none"
ParameterPrecisionLossMsg "warning"
ParameterTunabilityLossMsg "warning"
FixptConstUnderflowMsg "none"
FixptConstOverflowMsg "none"
FixptConstPrecisionLossMsg "none"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
FcnCallInpInsideContextMsg "Use local settings"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SFcnCompatibilityMsg "none"
UniqueDataStoreMsg "none"
BusObjectLabelMismatch "warning"
RootOutportRequireBusObject "warning"
AssertControl "UseLocalSettings"
EnableOverflowDetection off
ModelReferenceIOMsg "none"
ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error"
ModelReferenceVersionMismatchMessage "none"
ModelReferenceIOMismatchMessage "none"
ModelReferenceCSMismatchMessage "none"
UnknownTsInhSupMsg "warning"
ModelReferenceDataLoggingMessage "warning"
ModelReferenceSymbolNameMessage "warning"
ModelReferenceExtraNoncontSigs "error"
StateNameClashWarn "warning"
SimStateInterfaceChecksumMismatchMsg "warning"
SimStateOlderReleaseMsg "error"
InitInArrayFormatMsg "warning"
StrictBusMsg "ErrorLevel1"
BusNameAdapt "WarnAndRepair"
NonBusSignalsTreatedAsBus "none"
LoggingUnavailableSignals "error"
BlockIODiagnostic "none"
SFUnusedDataAndEventsDiag "warning"
SFUnexpectedBacktrackingDiag "warning"
SFInvalidInputDataAccessInChartInitDiag "warning"
SFNoUnconditionalDefaultTransitionDiag "warning"
SFTransitionOutsideNaturalParentDiag "warning"
}
Simulink.HardwareCC {
$ObjectID 7
Version "1.11.0"
ProdBitPerChar 8
ProdBitPerShort 16
ProdBitPerInt 32
ProdBitPerLong 32
ProdBitPerFloat 32
ProdBitPerDouble 64
ProdBitPerPointer 32
ProdLargestAtomicInteger "Char"
ProdLargestAtomicFloat "None"
ProdIntDivRoundTo "Undefined"
ProdEndianess "Unspecified"
ProdWordSize 32
ProdShiftRightIntArith on
ProdHWDeviceType "32-bit Generic"
TargetBitPerChar 8
TargetBitPerShort 16
TargetBitPerInt 32
TargetBitPerLong 32
TargetBitPerFloat 32
TargetBitPerDouble 64
TargetBitPerPointer 32
TargetLargestAtomicInteger "Char"
TargetLargestAtomicFloat "None"
TargetShiftRightIntArith on
TargetIntDivRoundTo "Undefined"
TargetEndianess "Unspecified"
TargetWordSize 32
TargetTypeEmulationWarnSuppressLevel 0
TargetPreprocMaxBitsSint 32
TargetPreprocMaxBitsUint 32
TargetHWDeviceType "Specified"
TargetUnknown off
ProdEqTarget on
}
Simulink.ModelReferenceCC {
$ObjectID 8
Version "1.11.0"
UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
CheckModelReferenceTargetMessage "error"
EnableParallelModelReferenceBuilds off
ParallelModelReferenceErrorOnInvalidPool on
ParallelModelReferenceMATLABWorkerInit "None"
ModelReferenceNumInstancesAllowed "Multi"
PropagateVarSize "Infer from blocks in model"
ModelReferencePassRootInputsByReference on
ModelReferenceMinAlgLoopOccurrences off
PropagateSignalLabelsOutOfModel off
SupportModelReferenceSimTargetCustomCode off
}
Simulink.SFSimCC {
$ObjectID 9
Version "1.11.0"
SFSimEnableDebug on
SFSimOverflowDetection on
SFSimEcho on
SimBlas on
SimCtrlC on
SimExtrinsic on
SimIntegrity on
SimUseLocalCustomCode off
SimParseCustomCode on
SimBuildMode "sf_incremental_build"
}
Simulink.RTWCC {
$BackupClass "Simulink.RTWCC"
$ObjectID 10
Version "1.11.0"
Array {
Type "Cell"
Dimension 8
Cell "IncludeHyperlinkInReport"
Cell "GenerateTraceInfo"
Cell "GenerateTraceReport"
Cell "GenerateTraceReportSl"
Cell "GenerateTraceReportSf"
Cell "GenerateTraceReportEml"
Cell "GenerateSLWebview"
Cell "GenerateCodeMetricsReport"
PropName "DisabledProps"
}
SystemTargetFile "grt.tlc"
GenCodeOnly off
MakeCommand "make_rtw"
GenerateMakefile on
TemplateMakefile "grt_default_tmf"
GenerateReport off
SaveLog off
RTWVerbose on
RetainRTWFile off
ProfileTLC off
TLCDebug off
TLCCoverage off
TLCAssert off
ProcessScriptMode "Default"
ConfigurationMode "Optimized"
ConfigAtBuild off
RTWUseLocalCustomCode off
RTWUseSimCustomCode off
IncludeHyperlinkInReport off
LaunchReport off
TargetLang "C"
IncludeBusHierarchyInRTWFileBlockHierarchyMap off
IncludeERTFirstTime off
GenerateTraceInfo off
GenerateTraceReport off
GenerateTraceReportSl off
GenerateTraceReportSf off
GenerateTraceReportEml off
GenerateCodeInfo off
GenerateSLWebview off
GenerateCodeMetricsReport off
RTWCompilerOptimization "Off"
CheckMdlBeforeBuild "Off"
CustomRebuildMode "OnUpdate"
Array {
Type "Handle"
Dimension 2
Simulink.CodeAppCC {
$ObjectID 11
Version "1.11.0"
Array {
Type "Cell"
Dimension 21
Cell "IgnoreCustomStorageClasses"
Cell "IgnoreTestpoints"
Cell "InsertBlockDesc"
Cell "InsertPolySpaceComments"
Cell "SFDataObjDesc"
Cell "MATLABFcnDesc"
Cell "SimulinkDataObjDesc"
Cell "DefineNamingRule"
Cell "SignalNamingRule"
Cell "ParamNamingRule"
Cell "InlinedPrmAccess"
Cell "CustomSymbolStr"
Cell "CustomSymbolStrGlobalVar"
Cell "CustomSymbolStrType"
Cell "CustomSymbolStrField"
Cell "CustomSymbolStrFcn"
Cell "CustomSymbolStrFcnArg"
Cell "CustomSymbolStrBlkIO"
Cell "CustomSymbolStrTmpVar"
Cell "CustomSymbolStrMacro"
Cell "ReqsInCode"
PropName "DisabledProps"
}
ForceParamTrailComments off
GenerateComments on
IgnoreCustomStorageClasses on
IgnoreTestpoints off
IncHierarchyInIds off
MaxIdLength 31
PreserveName off
PreserveNameWithParent off
ShowEliminatedStatement off
IncAutoGenComments off
SimulinkDataObjDesc off
SFDataObjDesc off
MATLABFcnDesc off
IncDataTypeInIds off
MangleLength 1
CustomSymbolStrGlobalVar "$R$N$M"
CustomSymbolStrType "$N$R$M"
CustomSymbolStrField "$N$M"
CustomSymbolStrFcn "$R$N$M$F"
CustomSymbolStrFcnArg "rt$I$N$M"
CustomSymbolStrBlkIO "rtb_$N$M"
CustomSymbolStrTmpVar "$N$M"
CustomSymbolStrMacro "$R$N$M"
DefineNamingRule "None"
ParamNamingRule "None"
SignalNamingRule "None"
InsertBlockDesc off
InsertPolySpaceComments off
SimulinkBlockComments on
MATLABSourceComments off
EnableCustomComments off
InlinedPrmAccess "Literals"
ReqsInCode off
UseSimReservedNames off
}
Simulink.GRTTargetCC {
$BackupClass "Simulink.TargetCC"
$ObjectID 12
Version "1.11.0"
Array {
Type "Cell"
Dimension 16
Cell "GeneratePreprocessorConditionals"
Cell "IncludeMdlTerminateFcn"
Cell "CombineOutputUpdateFcns"
Cell "SuppressErrorStatus"
Cell "ERTCustomFileBanners"
Cell "GenerateSampleERTMain"
Cell "GenerateTestInterfaces"
Cell "ModelStepFunctionPrototypeControlCompliant"
Cell "CPPClassGenCompliant"
Cell "MultiInstanceERTCode"
Cell "PurelyIntegerCode"
Cell "SupportComplex"
Cell "SupportAbsoluteTime"
Cell "SupportContinuousTime"
Cell "SupportNonInlinedSFcns"
Cell "PortableWordSizes"
PropName "DisabledProps"
}
TargetFcnLib "ansi_tfl_table_tmw.mat"
TargetLibSuffix ""
TargetPreCompLibLocation ""
TargetFunctionLibrary "ANSI_C"
UtilityFuncGeneration "Auto"
ERTMultiwordTypeDef "System defined"
FunctionExecutionProfile off
CodeExecutionProfiling off
ERTCodeCoverageTool "None"
ERTMultiwordLength 256
MultiwordLength 2048
GenerateFullHeader on
GenerateSampleERTMain off
GenerateTestInterfaces off
IsPILTarget off
ModelReferenceCompliant on
ParMdlRefBuildCompliant on
CompOptLevelCompliant on
IncludeMdlTerminateFcn on
GeneratePreprocessorConditionals "Disable all"
CombineOutputUpdateFcns off
CombineSignalStateStructs off
SuppressErrorStatus off
ERTFirstTimeCompliant off
IncludeFileDelimiter "Auto"
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
SupportVariableSizeSignals off
EnableShiftOperators on
ParenthesesLevel "Nominal"
PortableWordSizes off
ModelStepFunctionPrototypeControlCompliant off
CPPClassGenCompliant off
AutosarCompliant off
UseMalloc off
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
ExtModeIntrfLevel "Level1"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
RTWCAPIRootIO off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
CurrentDlgPage "Solver"
ConfigPrmDlgPosition [ 520, 225, 1400, 855 ]
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 2
}
BlockDefaults {
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
BlockRotation 0
BlockMirror off
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
BlockParameterDefaults {
Block {
BlockType BusSelector
OutputAsBus off
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType FromWorkspace
VariableName "simulink_input"
SampleTime "-1"
Interpolate on
ZeroCross off
OutputAfterFinalValue "Extrapolation"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParamMin "[]"
ParamMax "[]"
ParamDataTypeStr "Inherit: Same as input"
OutMin "[]"
OutMax "[]"
OutDataTypeStr "Inherit: Same as input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Outport
Port "1"
OutMin "[]"
OutMax "[]"
OutDataTypeStr "Inherit: auto"
LockScale off
BusOutputAsStruct off
PortDimensions "-1"
VarSizeSig "Inherit"
SampleTime "-1"
SignalType "auto"
SamplingMode "auto"
SourceOfInitialOutputValue "Dialog"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
CheckFcnCallInpInsideContextMsg off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
DataTypeOverrideAppliesTo "AllNumericTypes"
MinMaxOverflowLogging "UseLocalSettings"
Variant off
GeneratePreprocessorConditionals off
}
}
System {
Name "simulacao"
Location [2, 75, 1918, 1019]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
SIDHighWatermark "30"
Block {
BlockType Reference
Name "Asynchronous Machine\nSI Units"
SID "9"
Ports [1, 1, 0, 0, 0, 3]
Position [750, 416, 830, 504]
AttributesFormatString "\\n"
LibraryVersion "1.1955"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Machines/Asynchronous Machine\nSI Units"
SourceType "Asynchronous Machine"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratePreprocessorConditionals off
PresetModel "01: 5 HP 460 V 60Hz 1750 RPM "
MechanicalLoad "Torque Tm"
ShowDetailedParameters on
RotorType "Squirrel-cage"
ReferenceFrame "Rotor"
NominalParameters "[3730 460 60]"
Stator "[1.115 0.005974]"
Rotor "[1.083 0.005974]"
Cage1 "[ 0.022 0.226/377]"
Cage2 "[ 0.022 0.226/377]"
Lm "0.2037"
Mechanical "[0.02 0.005752 2]"
PolePairs "2"
InitialConditions "[1 0 0 0 0 0 0 0]"
Units "SI"
LoadFlowParameters "1492000"
SimulateSaturation off
Saturation "[14.03593122, 27.81365428, 53.79336849, 72.68890987, 97.98006896, 148.6815601, 215.7428561, 30"
"2.9841135, 428.7778367 ; 230, 322, 414, 460, 506, 552, 598, 644, 690]"
TsPowergui "0"
TsBlock "-1"
IterativeModel "Forward Euler"
Pmec "0"
}
Block {
BlockType BusSelector
Name "Bus\nSelector"
SID "14"
Ports [1, 1]
Position [905, 441, 910, 479]
ShowName off
OutputSignals "Mechanical.Rotor speed (wm)"
Port {
PortNumber 1
Name "<Rotor speed (wm)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Gain
Name "Gain"
SID "2"
Position [590, 355, 620, 385]
Gain "5*745.7/(2*pi*60)"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
SID "3"
Position [1015, 445, 1045, 475]
Gain "60/(2*pi)"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ground"
SID "12"
Ports [0, 0, 0, 0, 0, 1]
Position [419, 470, 441, 495]
BlockRotation 270
BlockMirror on
ShowName off
LibraryVersion "1.1955"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Scope
Name "Scope3"
SID "19"
Ports [3]
Position [1095, 360, 1210, 480]
NamePlacement "alternate"
Floating off
Location [1272, 336, 1596, 576]
Open on
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "2"
YMin "0~-5~-5"
YMax "2000~5~5"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleInput on
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Signal Builder"
SID "1"
Tag "STV Subsys"
Ports [0, 1]
Position [460, 350, 545, 390]
CopyFcn "sigbuilder_block('copy');"
DeleteFcn "sigbuilder_block('delete');"
LoadFcn "sigbuilder_block('load');"
ModelCloseFcn "sigbuilder_block('modelClose');"
PreSaveFcn "sigbuilder_block('preSave');"
StartFcn "sigbuilder_block('start');"
StopFcn "sigbuilder_block('stop');"
NameChangeFcn "sigbuilder_block('namechange');"
ClipboardFcn "sigbuilder_block('clipboard');"
OpenFcn "sigbuilder_block('open',[437.25 199.5 550.5 399.75 ]);"
CloseFcn "sigbuilder_block('close');"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents on
MaskType "Sigbuilder block"
MaskDescription "Create and generate interchangeable groups of signals whose waveforms are piecewise linea"
"r."
MaskInitialization "if ~strcmp(get_param(bdroot(gcbh),'SimulationStatus'),'stopped') tuvar = sigbuilder_blo"
"ck('maskInit'); end"
MaskSelfModifiable on
MaskDisplay "plot(0, 0, 100, 100,[2, 2, 32, 32, 2], [68, 8, 8, 68, 68],[32, 2], [38, 38], [32, 19, 2],[53,"
" 60, 44], [32, 17, 17, 2],[16, 16, 31, 31]);txt = getActiveGroup(gcbh);text(2, 100, txt,'verticalAlignment', 'to"
"p');"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskPortRotate "default"
MaskIconUnits "autoscale"
MaskCapabilities "slmaskedcaps(gcbh)"
System {
Name "Signal Builder"
Location [480, 85, 980, 386]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
SIDHighWatermark "3"
Block {
BlockType Demux
Name "Demux"
SID "1:1"
Tag "STV Demux"
Ports [1, 1]
Position [150, 30, 160, 600]
Outputs "1"
}
Block {
BlockType FromWorkspace
Name "FromWs"
SID "1:2"
Tag "STV FromWs"
Position [30, 300, 115, 350]
VariableName "tuvar"
SampleTime "0"
ZeroCross on
SigBuilderData "DataTag0"
VnvData "DataTag1"
}
Block {
BlockType Outport
Name "Signal 1"
SID "1:3"
Tag "STV Outport"
Position [280, 30, 300, 40]
IconDisplay "Port number"
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [50, 0; 0, -280]
DstBlock "Signal 1"
DstPort 1
}
Line {
SrcBlock "FromWs"
SrcPort 1
Points [5, 0; 0, -10]
DstBlock "Demux"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Three-Phase\nProgrammable\nVoltage Source"
SID "11"
Ports [0, 0, 0, 0, 0, 1, 3]
Position [460, 426, 545, 484]
LibraryVersion "1.1955"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Electrical\nSources/Three-Phase\nProgrammable\nVoltage Source"
SourceType "Three-Phase Programmable Voltage Source"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratePreprocessorConditionals off
PositiveSequence "[460*sqrt(2) 0 60]"
VariationEntity "None"
VariationType "Table of time-amplitude pairs"
VariationStep "0.5"
VariationRate "10"
VariationMagnitude "0.3"
VariationFrequency "2"
VariationTiming "[1 2]"
VariationPhaseA off
Amplitudes "[1 0.8 1.2 1.0]"
TimeValues "[0 0.1 0.15 0.2]"
HarmonicGeneration off
HarmonicA "[3 0.2 -25 0]"
HarmonicB "[2 0.15 35 2]"
Timing "[0.05 3]"
BusType "swing"
Pref "0"
Qref "0"
Qmin "-inf"
Qmax "inf"
}
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement"
SID "10"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [580, 417, 630, 493]
LibraryVersion "1.1955"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurement"
SourceType "Three-Phase VI Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratePreprocessorConditionals off
VoltageMeasurement "phase-to-ground"
SetLabelV off
LabelV "Vabc"
Vpu off
VpuLL off
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
Vbase "500e3"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "powergui"
SID "13"
Ports []
Position [470, 260, 536, 299]
Priority "1"
LibraryVersion "1.1955"
UserDataPersistent on
UserData "DataTag2"
FontName "Verdana"
SourceBlock "powerlib/powergui"
SourceType "PSB option menu block"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
GeneratePreprocessorConditionals off
SimulationMode "Discrete"
SampleTime "1e-5"
frequency "60"
SPID off
DisableSnubberDevices off
DisableRonSwitches off
DisableVfSwitches off
SwTol "0"
Interpol off
DisplayEquations off
FunctionMessages off
frequencyindice "60"
Pbase "100e6"
ErrMax "1e-4"
Iterations "50"
UnitsV "kV"
UnitsW "MW"
echomessages off
HookPort off
EnableUseOfTLC off
x0status "blocks"
RestoreLinks "warning"
ResistiveCurrentMeasurement off
Ylog off
Xlog on
ShowGrid off
save off
variable "ZData"
ZoomFFT off
StartTime "0.0"
cycles "1"
DisplayStyle "1"
FreqAxis off
MaxFrequency "1000"
frequencyindicesteady "1"
display off
methode off
}
Line {
SrcBlock "Asynchronous Machine\nSI Units"
SrcPort 1
DstBlock "Bus\nSelector"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [75, 0; 0, 60]
DstBlock "Asynchronous Machine\nSI Units"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort RConn1
Points [45, 0; 0, -5]
DstBlock "Asynchronous Machine\nSI Units"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort RConn2
DstBlock "Asynchronous Machine\nSI Units"
DstPort LConn2
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort RConn3
Points [45, 0; 0, 5]
DstBlock "Asynchronous Machine\nSI Units"
DstPort LConn3
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort LConn1
Points [-5, 0]
DstBlock "Three-Phase\nProgrammable\nVoltage Source"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort LConn2
DstBlock "Three-Phase\nProgrammable\nVoltage Source"
DstPort RConn2
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort LConn3
Points [-5, 0]
DstBlock "Three-Phase\nProgrammable\nVoltage Source"
DstPort RConn3
}
Line {
LineType "Connection"
SrcBlock "Three-Phase\nProgrammable\nVoltage Source"
SrcPort LConn1
DstBlock "Ground"
DstPort LConn1
}
Line {
SrcBlock "Signal Builder"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
Name "<Rotor speed (wm)>"
Labels [0, 0; 0, 0]
SrcBlock "Bus\nSelector"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Scope3"
DstPort 3
}
Line {
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort 2
Points [50, 0; 0, -20]
DstBlock "Scope3"
DstPort 2
}
Line {
SrcBlock "Three-Phase\nV-I Measurement"
SrcPort 1
Points [40, 0; 0, -45]
DstBlock "Scope3"
DstPort 1
}
}
}
MatData {
NumRecords 3
DataRecord {
Tag DataTag2
Data " %)30 . : , 8 ( @ % \" $ ! 0 % 0 # $ \"0 <&]W9"
"7)G=6D <W1E861Y<W1A=&4 :6YI='-T871E<P ;&]A9&9L;W< ;&]A9&9L;W=N97< ;'1I=FEE=P >FUE=&5R 9F9T=&]"
"O; <F5P;W)T :'ES=&5R97-I<P ;&EN97!A<F%M 5', #@ # & \" 8 !0 @ "
" $ \"0 . , 8 ( !@ % \" 0 ) X "
" P !@ @ & 4 ( ! D #@ # & \" 8 !0 @ "
" $ \"0 . , 8 ( !@ % \" 0 ) X "
" P !@ @ & 4 ( ! D #@ # & \" 8 !0 @ "
" $ \"0 . , 8 ( !@ % \" 0 ) X "
" P !@ @ & 4 ( ! D #@ # & \" 8 !0 @ "
" $ \"0 . , 8 ( !@ % \" 0 ) X "
"P !@ @ & 4 ( ! D "
}
DataRecord {
Tag DataTag1
Data " %)30 . R , 8 ( @ % \" $ ! 0 % 0 $0 $ #, =F5R:6"
"9Y0FQK4&%T:', !V97)I9GE\";&M(86YD;&5S '9N=DUG<DED> 86-T:79E1W)O=7 !R97%$:7-P4')C;G0 &)L:T1"
"I<W!-;V1E 9W)O=7!#;G0 !G<F]U<%)E<4-N= &=R;W5P1$]/4E-I9 ;6]D96Q( !B;&]C:"
"T@ &]V97)I9&53971T:6YG<P X P !@ @ & 4 ( ! D "
" #@ # & \" 8 !0 @ $ \"0 . , 8 ( !@ "
"% \" 0 ) X X !@ @ & 4 ( 0 $ ! D ("
" \\#\\. , 8 ( !@ % \" 0 ) X P !@ @ "
"& 4 ( ! D #@ #@ & \" 8 !0 @ ! 0 $ "
" \"0 @ #P/PX P !@ @ & 4 ( ! D #@ # & "
" \" 8 !0 @ $ \"0 . . 8 ( !@ % \" $ !"
" 0 ) \" \" !)Y #@ #@ & \" 8 !0 @ ! 0 $ \"0 @ "
" @ B>0 X P !@ @ & 4 ( ! D "
}
DataRecord {
Tag DataTag0
Data " %)30 . P H 8 ( @ % \" $ ! 0 % 0 %@ $ \"P 9W)I9"
"%-E='1I;F< &-H86YN96QS !A>&5S 8V]M;6]N &1"
"A=&%3970 !D871A4V5T261X :7-697)I9FEC871I;VY6:7-I8FQE '-B;V)J "
" . , 8 ( ! % \" $ \" 0 0 ( ;VX X #@ @ !@ @ \" 4 "
" ( 0 $ ! 4 ! * 0 %H !S=&5P6 <W1E<%D 'E-:6X !Y36%X 8V]L;W( "
" &QI;F53='EL90!L:6YE5VED=&@ ;&%B96P &]U=$EN9&5X . . 8 ( !@ % \" $ "
"! 0 ) \" #@ #@ & \" 8 !0 @ ! 0 $ \"0 @ "
" X X !@ @ & 4 ( 0 $ ! D ( \\/\\. . 8 "
" ( !@ % \" $ ! 0 ) \" /!_#@ $@ & \" 8 !0 @ "
" ! P $ \"0 !@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" & \" ( !0 "
" @ ! 0 $ !0 $ ! ! 8 $YA;64 !3:6=N86QS 06-T:79E4VEG;F%L %)"
"E<75I<F5M96YT26YF;P!5<V5R1&%T80 5&EM95)A;F=E X P !@ @ $ 4 ( "
" ! ! #@ $@ & \" T !0 @ % 0 $ !@ !0 #= @ "
" 0 . , 8 ( !@ % \" 0 ) X P !@ @ "
"$ 4 ( ! ! #@ # & \" 8 !0 @ $ "
" \"0 . 0 8 ( !@ % \" $ \" 0 ) $ )$ "
". : $ 8 ( @ % \" $ ! 0 % 0 # $ P 3F%M90 1W)O=7!S "
" 06-T:79E1W)O=7 57-E<D1A=&$ #@ # & \" 0 !0 @ $ $ . "
" 2 8 ( #0 % \" 4 ! 0 & % -T\" \" X X"
" !@ @ & 4 ( 0 $ ! D ( \\#\\. , 8 ( !@ %"
" \" 0 ) X \"( !@ @ ) 4 ( 0 %@ ! ( !8"
" %)30 . 2 8 ( @ % \" $ ! 0 % 0 !0 $ % 34-/4P . "
" "
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment