Ansoft simplorer用戶自定義建模問題
我在用SSC里的model agent建立自己需要的模型時(shí),系統(tǒng)總是提示建模存在error,但是我是按照user manual的步驟建立的。不知道那位高手成功建過模型,請(qǐng)指教!是不是存在什么特別要注意的地方?
全部回復(fù)(3)
正序查看
倒序查看
@power_com
不知道你是采用什么方式來建立,我經(jīng)常是用spice寫好模型,然后轉(zhuǎn)換,主要是格式的問題,在網(wǎng)上下載的spice的模型也不定都可以轉(zhuǎn)換。
我是在schematic里面利用subsheet建立模型,然后將模型導(dǎo)出為.sml文件保存,然后將.sml文件導(dǎo)入到model agent里面我自己建立的模型庫中,編譯模型沒有問題,就是在進(jìn)行實(shí)際的電路仿真時(shí),提示如下:
C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml ( 28,Battery1 ) Comp-1352: Syntax error in parameter list.
C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml ( 28,Battery1 ) Comp-1332: '$' : Unexpected token after token '"f:\\an\123.smd"' (expected ')').
C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml ( 28,Battery1 ) Comp-1104: Global search has found macro 'Battery' in library 'f:\課題\an\123.smd' ( ID: 1 ).
Compilation completed. 2 Error(s), 0 Warning(s)
Errors occurred during compilation. Simulation cancelled !
C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml ( 28,Battery1 ) Comp-1352: Syntax error in parameter list.
C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml ( 28,Battery1 ) Comp-1332: '$' : Unexpected token after token '"f:\\an\123.smd"' (expected ')').
C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml ( 28,Battery1 ) Comp-1104: Global search has found macro 'Battery' in library 'f:\課題\an\123.smd' ( ID: 1 ).
Compilation completed. 2 Error(s), 0 Warning(s)
Errors occurred during compilation. Simulation cancelled !
0
回復(fù)
@aljoys
我是在schematic里面利用subsheet建立模型,然后將模型導(dǎo)出為.sml文件保存,然后將.sml文件導(dǎo)入到modelagent里面我自己建立的模型庫中,編譯模型沒有問題,就是在進(jìn)行實(shí)際的電路仿真時(shí),提示如下:C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml( 28,Battery1) Comp-1352: Syntaxerrorinparameterlist. C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml( 28,Battery1) Comp-1332: '$':Unexpectedtokenaftertoken'"f:\\an\123.smd"' (expected')'). C:\DOCUME~1\LOCALS~1\Temp\Sheet1.sml( 28,Battery1) Comp-1104: Globalsearchhasfoundmacro'Battery'inlibrary'f:\課題\an\123.smd'(ID:1). Compilationcompleted.2Error(s),0Warning(s) Errorsoccurredduringcompilation.Simulationcancelled!
我不知道你的問題,但是這個(gè)軟件,在發(fā)生錯(cuò)誤的時(shí)候給用戶的提示不是很明確,你可以去看看它們的網(wǎng)站,有很多例題可以參考。我也是在自己摸索。
0
回復(fù)