- 'i' is not parameter it should be only in equation section. check if 'i' is in parameter section ( in parameter codes)
Where is LiBatteryElements library that will work with R2017a?
1 次查看(过去 30 天)
显示 更早的评论
- I am trying to run the R2012b sc_lithium_cell_1RC.mdl under R2017a. When I try and run I get the following errors.
- Multiple compilation errors detected while compiling ssc_lithium_cell_1RC.
- Caused by:
- ['ssc_lithium_cell_1RC/Lithium Cell (1RC equivalent circuit model)/C1']: Cannot find parameter 'i'. Please run ssc_build if you have made changes to Simscape file or if you are upgrading to a new version of Simscape.
- ['ssc_lithium_cell_1RC/Lithium Cell (1RC equivalent circuit model)/Em_table']: Cannot find parameter 'Qe'. Please run ssc_build if you have made changes to Simscape file or if you are upgrading to a new version of Simscape.
- ['ssc_lithium_cell_1RC/Lithium Cell (1RC equivalent circuit model)/R0']: Cannot find parameter 'i'. Please run ssc_build if you have made changes to Simscape file or if you are upgrading to a new version of Simscape.
- ['ssc_lithium_cell_1RC/Lithium Cell (1RC equivalent circuit model)/R1']: Cannot find parameter 'i'. Please run ssc_build if you have made changes to Simscape file or if you are upgrading to a new version of Simscape.
- Subsequently I try to run the ssc_build on LiBatteryElements, BUT... that library doesn't exist in 2012b. However it is in 2010b. I copied it into my working directory and rerun sec_build. Now I see this:
- Failed to generate 'LiBatteryElements_lib'
- Caused by:
- Error using LiBatteryElements.C_table>equations (line 43)
- Function, tablelookup, is wrong. Please check 1) whether input data points have correct sizes; 2) query
- values are scalar; 3) query values and table data have the commensurate units; and 4) constants or compile
- time parameters are passed to interpolation and extrapolation argument.
- Argument 1 = [5x1 double]
- Argument 2 = {[273.1500 293.1500 313.1500], 'K'}
- Argument 3 = {[5x3 double], 'F'}
- Argument 4 = [1x1 double]
- Argument 5 = {[1x1 double], 'C'}
- SOC_Table = [5x1 double]
- Temp_Table = {[273.1500 293.1500 313.1500], 'K'}
- C_Table = {[5x3 double], 'F'}
- SOC = [1x1 double]
- T = {[1x1 double], 'C'}
- I looked at the code but could not tell what was wrong.
- Any ideas?
1 个评论
mohan kanth
2017-5-4
i thick problem is in library path - open LiBatteryBlocks.slx, go to 'save as' option, then u will get the library location. copy the link of that location and paste in the Matlab path then run command ssc_build.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Composite Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!