Error in Simscape battery Onramp
17 次查看(过去 30 天)
显示 更早的评论
The following error is arising in the Simscape battery Onramp course, I am using the online version.
It is coming in the CC-CV part (in task 5) as well as in the thermal modelling section of battery pack design part.

Error:Connection Port block 'SimscapeBatteryOnramp/NewPack/ModuleAssembly2/AmbH' expects a 'foundation.thermal.thermal' Simscape domain, but is connected to a different type. Use the same domain to connect to this port, or specify the "Inherit: auto" option to remove the interface specification.
Please does anyone know how to solve this ?
I am stuck and am not able to proceed further
0 个评论
回答(2 个)
Pooja Kumari
2024-10-8
Hi Rohan,
I understand that you are facing error while working on Simscape battery Onramp course.
The following error "Error:Connection Port block 'SimscapeBatteryOnramp/NewPack/ModuleAssembly2/AmbH' expects a 'foundation.thermal.thermal' Simscape domain, but is connected to a different type" is encountered due to wrong library block.
To resolve the issue, you can double click on the error and it will redirect to the wrong library. The input is expected from foundation.thermal.thermal' Simscape block.
Another workaround is to delete the block and rebuild the model by inheritting foundation.thermal.thermal' Simscape block from Connection Port block 'SimscapeBatteryOnramp/NewPack/ModuleAssembly2/AmbH'.
0 个评论
Cris LaPierre
2024-12-30
编辑:Cris LaPierre
2024-12-30
That portion of the model is all provided for you. I suspect something didn't load correctly.
I was able to complete this task running the course in my browser (Chrome) and in my desktop without any errors. If you are still getting the error, I would suggest refreshing the page and/or resetting the task. If you can, it might be worth testing in another browser as well.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!