Simscape solver integration issue

1 Ansicht (letzte 30 Tage)
Beniamin Laszkowski
Beniamin Laszkowski am 16 Jun. 2020
Beantwortet: Sabin am 11 Aug. 2025
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?

Antworten (1)

Sabin
Sabin am 11 Aug. 2025
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.

Kategorien

Mehr zu Trimming and Linearization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by