Simscape solver integration issue

2 ビュー (過去 30 日間)
Beniamin Laszkowski
Beniamin Laszkowski 2020 年 6 月 16 日
回答済み: Sabin 2025 年 8 月 11 日
Hello all,
I have two seperate systems that i am trying to integrate into one. One is a electric vehicle battery thermal system (call it system 1) and the other is a coolant system (call it system 2, containing fans, coolant flows, pumps etc.). I do not have much expereince with simscape physical models but from what I've understood system 1 uses a fixed-step, explicit ode1 solver with a 0.25 step size. System 2 uses a variable, solver is set on auto (sutomatic solver selection), with a 0.001 step size.
When i try to integrate the two into one physical model i can only use one solver and i dont know which one to use to make it work.
I also get the following error message:
***** Initialising model... *****
Input matrix must be a numeric array, character array, or string array.
Component:Simulink | Category:Model error
Anyone got an idea on what the problem might be with the error and also integrating system with different solvers?

回答 (1 件)

Sabin
Sabin 2025 年 8 月 11 日
I cannot comment about the initialization issue without seeing the model. Regarding the integration of the two models, they do not necessarily have to share the same solver configuration. Instead of building a big physical network (that would require a single solver configuration) we can split the network using basic Simulink blocks and then we can use two different solver configurations. Check out Network Couplers for a how that may look like.

カテゴリ

Help Center および File ExchangeTrimming and Linearization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by