Is it possible to combine CARNOT toolbox in Simulink with Simscape customised components?

1 次查看(过去 30 天)
I have tried modelling a district heating network with customised SImscape components and combining CARNOT components in Simulink to it. The system doesnt run for a years simulation. It breaks down saying there is an erro. How do I solve this? I could share the model hereafter
Regards David

回答(1 个)

hlk
hlk 2016-3-11
You should be able to combine blocks from the CARNOT Toolbox and (custom) Simscape blocks.
I don't have Simscape so your model wouldn't help. But you should provide more information. Which state functions are you trying to exchange between the blocks and which solvers did you use? Did you try to put the Simscape blocks into a model reference subsystem? Did you try to update/run the components individually? Like running the Simscape blocks by their own, if need be with some dummy inputs connected?

类别

Help CenterFile Exchange 中查找有关 Foundation and Custom Domains 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by