Does the PowerGui Block, in case of choosing the continuous solver method, solely use a variable-step Simulink solver even if my configuration for the global simulink solver is a fixed-step type?

5 visualizzazioni (ultimi 30 giorni)
The question is referring to the following statement which is mentioned in the documentation for the PowerGui Block: "Continuous, which uses a variable-step solver from Simulink®"
My Model Configuration and Topology:
Global simulink solver: fixed-step ode14x
Two Model parts using one PowerGui Block each:
  • Discrete Referenced Model with fixed time step local Tustin/Backward Euler solver
  • Continuous Subsystem which uses (and this is the question
The Referenced Model and the subsystem exchange simulink signals and collectively represent the parent model.
Thanks in advance! Kind regards. Christian

Risposta accettata

Emmanouil Tzorakoleftherakis
Hi Christian,
From the link below, it is recommended that you implement fixed-step solvers by continuing to use a global variable-step solver and switching the physical networks within your model to local fixed-step solvers through each network.
https://www.mathworks.com/help/physmod/simscape/ug/making-optimal-solver-choices-for-physical-simulation.html
  1 Commento
Christian
Christian il 25 Gen 2018
Modificato: Christian il 25 Gen 2018
Hi Emmanouil,
thank you for your response! Plain and simple, I guess i was unaware of the solver configuration block.. Well, again thank you for the hint!
I will configure my continuous subsystem as fixed-step continuous now and set the global simulink solver to a variable-step type, while keeping a discrete fixed-step solver for the referenced model.
Cheers to the Staff.
Have a nice Day!
Christian
EDIT: While investigating the use of the solver configuration is must say i should have mentioned that i dont use any blocks from the simscape library. There are only physical blocks from simpowersystems (powerlib) library in my model. The use of the solver configuration block is therefore not possible with my model topology i guess.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Schedule Model Components in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by