Errors in Battery simulator
조회 수: 7 (최근 30일)
이전 댓글 표시
I am trying to create this circuit as an example of "ssc_battery_management"... My circuit is this: http://img856.imageshack.us/img856/9189/batrj.png
But i have had some difficulties, as the erros like: "Error setting parameter 'Main branch time constant, Tau1>0': Expected a single string or a cell array of strings." "Error setting parameter 'Resistance, R10': '0' is not a valid unit."
Someone can help me?
댓글 수: 4
Arnaud Miege
2011년 5월 11일
You forgot to include the Simscape library files used to model the battery cell. I assume you must have a directory called +LeadAcidBattery with the source files for the R0, R1, R2, etc... Right now, the model won't run because it can't find those files. Can you upload those as well?
답변 (3개)
Arnaud Miege
2011년 5월 11일
I can't run the model Celula.mdl, I get an error message similar to:
Failed to find 'Main Branch Capacitance, C1/Slave_input.R1' in library 'LeadAcidBattery_lib' referenced by 'Celula/Condensador C1/Slave_input.R1'
I am not sure what you did to break it, but what you need to do is generate the LeadAcidBattery_lib by running ssc_build LeadAcidBattery and then use the blocks from the generated library file into the model to replace the existing ones.
I can't run the other models either because I'm missing the file Battery_Management_Lib.mdl.
Arnaud
댓글 수: 11
Arnaud Miege
2011년 5월 12일
If you look at ssc_lead_acid_battery, you'll see that in the cell model, there is a thermal model, constructed with the blocks from the Simscape foundation library.
Nuno
2011년 5월 12일
댓글 수: 7
Arnaud Miege
2011년 5월 17일
Again, it's difficult to comment without seeing the model. Make sure that you follow the rules in the Simscape documentation for connecting components (help browser -> Simscape -> user's guide -> Modeling physical systems) and read through the documentation to make sure you understand how the software works and how to use it properly.
I would also strongly recommend the following training course:
http://www.mathworks.co.uk/services/training/courses/SLPM-S_1.html
For these types of problems, you should also contact technical support:
http://www.mathworks.co.uk/support/service_requests/contact_support.do
Nuno
2011년 5월 18일
댓글 수: 1
Arnaud Miege
2011년 5월 18일
Again, you should really read the documentation, in particular "Setting Up Solvers for Physical Models" (http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/simscape/ug/brsbz56.html) and "Customizing Solvers for Physical Models" (http://www.mathworks.com/help/releases/R2011a/toolbox/physmod/simscape/ug/bsigllk.html).
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Parameterization Methods에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!