Error in Simscape battery Onramp

8 views (last 30 days)
Rohan
Rohan on 7 Oct 2024
Answered: Pooja Kumari on 8 Oct 2024
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

Answers (1)

Pooja Kumari
Pooja Kumari on 8 Oct 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'.

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!