我使用dspace对STATCOM进行三相建模。但是当我试图建立这个模型时,这个错误就会出现。

7次浏览(最近30天)
对于我的结果,我需要固定的步骤0de 5求解器,步长为1e-5。对于这个步长,Dspace不起作用。对于1e-3步长,dspace可以工作,但会扭曲结果。错误如下:启动构建过程与RTI 6.6 (RTI1104, 29 - 11 - 2010)模型:“untitled1 " ---------------------------------------------------------------------- *使用配置集:“configuration” *工作目录:"E:\my_model_09" ###在构建目录E:\my_model_09\untitled1_rti1104中生成代码
*可选用户系统描述文件untitled1_usr。###在untitled1上调用目标语言编译器rtw tlc -r E:\my_model_09\untitled1_rti1104\untitled1。matlab rtw D: \ dSPACE_7_P_0 \ \ rti1104 \ tlc \ rti1104。tlc -OE:\my_model_09\untitled1_rti1104 -ID:\dSPACE_7_P_0\matlab\rti1104\tlc -ID:\dSPACE_7_P_0\matlab\rti1104\tlc -IE:\my_model_09\untitled1_rti1104\tlc -IC:\Program Files\ matlab\ R2009a\rtw\c\tlc\mw -IC:\Program Files\ matlab\ R2009a\rtw\c\tlc\blocks -IC:\Program Files\ matlab\ R2009a\rtw\c\tlc\fixpt:\Program Files\ matlab\ R2009a\rtw\c tlc\fixpt:\Program Files\ matlab\ R2009a\rtw\c tlc\fixpt:\Program Files\ matlab\ R2009a\rtw\c tlc\fixpt =1 -aFoldNonRolledExpr=1 -aInlineInvariantSignals=0 -aInlineParameters=0-aLocalBlockOutputs=0 -aRollThreshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aInitFltsAndDblsToZero=0 -aForceBlockIOInitOptimize=0 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aIncludeHyperlinkInReport=0 -aLaunchReport=0 -aGenerateTraceInfo=0 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStorageClasses=1 - ainchierarchinids =0 -aMaxRTWIdLen=31 -aShowEliminatedStatements=0 -aIncDataTypeInIds=0 -aInsertBlockDesc=0 -aIgnoreTestpoints=0-a万博1manbetxSimulinkBlockComments=1 -aInlinedPrmAccess="Literals" -aTargetFcnLib="ansi_tfl_table_tmw. "垫”-aIsPILTarget = 0 -aLogVarNameModifier = " rt_ " -aGenerateFullHeader = 1 -aExtMode = 0 -aExtModeStaticAlloc = 0 -aExtModeTesting = 0 -aExtModeStaticAllocSize = 1000000 -aExtModeTransport = 0 -aRTWCAPISignals = 0 -aRTWCAPIParams = 0 -aGenerateASAP2 = 0 -aInitialSimState = "运行" -aExecutionMode = "实时" -aExecutionModeNonUI = " RTSIM“-aTimeScaleFactor = " 1.0 " -aTimeScaleFactorNonUI = " OPTION_DISABLED“-aAssertionMode = " " -aTAStimulusEngineEnable = 0 -aCCompilerCommonOpts = " " -aCCompilerOptimizationOptsPopup_ =“默认”-aCCompilerEffectiveOptimizationOpts="-Ot -Oi -Or -Ox -D_INLINE" -aCCompilerOptimizationOptsNonUI="USE_DEFAULT" -aAllowReservedHostServiceNums=0 - aloallowreservedhostservicenums ="ON" -aPlatformSelectionPopup="Auto" -aBoardName="" -aBoardNameNonUI="OPTION_DISABLED" -aTRCOnlyGlobals=0 -aTRCMaskParameters=0 - atrcgeneratabels =1 -aTRCGenerateStates=0 -aTRCGenerateDerivatives=0 -aTRCApplySubsystemPermissions=0-aTRCIsOmitVdOn=0 -aGenerateTraceInfo=0 -aIgnoreTestpoints=0 -p10000
加载TLC函数库
…###初始传递模型缓存用户定义代码.... *后处理RTI块 *启动I/O块检查
* RTI构建:调用TLCCheck: + rti1104check()…过去了。 # # # *通过I / O块检查缓存模型源代码 ............................................................................... ............................###写入头文件untitled1_types.h ###写入头文件untitled1.h###编写源文件untitled1.c ###编写头文件rt_atan2_snf.h ###编写源文件rt_atan2_snf.c。###写源文件rt_mod_snf.c ###写源文件rt_pow_snf.h ###写源文件rt_pow_snf.c。###写入头文件rt_zcfcn.h ###写入源文件rt_zcfcn.c ###写入头文件rt_saturat .h ###写入头文件rt_definitions .h。###写入头文件rt_round_snf.h ###写入源文件rt_round_snf.c ###写入头文件rt_nonfinite.h ###写入源文件rt_nonfinite.c###编写头文件rtgetinfo .h ###编写源文件rtgetinfo .c ###编写头文件rtGetNaN.h ###编写源文件rtGetNaN.c###写头文件untitled1_private.h ###写头文件rtmodel.h ###写源文件untitled1_data.c ### TLC代码生成完成。# # #生成TLC接口API . ..................................................................... *生成文件untitled1_rti.c *生成文件untitled1_rti.mk *生成变量描述文件untitled1.trc
------------------------------------------------------------------------------- 注意:以下选项配置参数对话框中使用:
优化:
"条件输入分支执行"
导致代码优化,其中不计算块,如果它们
输出在模拟步骤中不需要的例子,如果他们的
输出值被用作Switch块和Switch的输入
目前路由另一个信号。当对应输出信号时
在ControlDesk中显示,他们的值是静态的。
确保计算了块,把
"条件输入分支执行"选项重建模型。
-------------------------------------------------------------------------------
.....................
***找到用户代码文件untled1_usr .c from 05-02-2015 12:05:11
***找到的用户Makefile untitled1_usr。【翻译
***可选用户变量说明文件untitled1_usr。储税券不可用
###处理模板制作文件:D:\dSPACE_7_P_0\matlab\rti1104\m\rti1104.tmf
###untitled1。可这由D:\dSPACE_7_P_0\matlab\rti1104\m\rti1104生成。TMF是最新的
###建筑untled1: dsmake -f untled1Generate_report =0 extmode_static_alloc =0 tmw_extmode_testing =0 extmode_static_alloc_size =1000000 extmode_transport =0
构建应用程序"untitled1"(单定时器任务模式)
工作目录"E:\my_model_09"构建目录"E:\my_model_09\untitled1_rti1104"目标编译器"D:\PPCTools37"
编译"untitled1.c"编译" rtgetif . C "编译"rt_atan2_snf.c"编译"rt_mod_snf.c"编译"rt_nonfinite.c"编译"rt_pow_snf.c"编译"rt_zcfcn.c"编译"untitled1_data.c"编译"untitled1_trc_ptr.c"编译"D:\dSPACE_7_P_0\MATLAB\RTI1104\C\rti_sim_engine.c"
链接应用程序…连接完成
“正在加载应用程序”。自卫队”…[#1] ds1104 - RTI:初始化…(720) [#2] ds1104 - RTI:初始化完成(721)[#3]ds1104 - RTI:仿真状态:RUN (700) [#4] ds1104 - RTI:任务超时:程序不能实时执行。(12) [#5] ds1104 - RTI:任务超时:发生在任务“Timer Task 1”中,执行步骤2。(502) [#6] ds1104 - RTI:模拟状态:STOP (702) LOADING FAILED(2):程序设置了一个错误消息。
使进程中止
---------------------------------------------------------------------- * make过程中出现错误。 *查看MATLAB命令窗口了解详细信息。 终止模型untitle1的RTI构建过程。---------------------------------------------------------------------- *停止模型的RTI构建过程:untitled1。---------------------------------------------------------------------- >>

类别

了解更多有关开关和断路器帮助中心文件交换

标签

社区寻宝

在MATLAB Central中寻找宝藏,并了解社区如何帮助您!

开始狩猎!