Error in Simscape battery Onramp

14 visualizaciones (últimos 30 días)
Rohan
Rohan el 7 de Oct. de 2024
Editada: Cris LaPierre el 30 de Dic. de 2024 a las 20:58
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

Respuestas (2)

Pooja Kumari
Pooja Kumari el 8 de Oct. de 2024
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'.

Cris LaPierre
Cris LaPierre el 30 de Dic. de 2024 a las 16:50
Editada: Cris LaPierre el 30 de Dic. de 2024 a las 20:58
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.

Categorías

Más información sobre Choose and Parameterize Blocks en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by