Effacer les filtres
Effacer les filtres

Updated: Power Systems Model initial error - assistance required! Frustrating error reduced source

2 vues (au cours des 30 derniers jours)
Attached is my models for simulation to validate my masters research. I am able to get an equivalent Simscape model operating, but I wanted to utilize several components within the Power Systems toolbox and I am new to using it.
I am getting an Inf or Nan error, but after looking through my models I cannot find it. My intuition is telling me its a simple solution, but shadowed by my inexperience. Requesting assistance!
Update: The D*** error originates from the initial voltage measurement of the battery model, utilized as an input into the control subsystem (integrator within throws error). I used both the demux model measurement and external volt meter measurement. This error is entirely frustrating and as I am not altering the battery model so I need some help from the Mathwork's support team. *Delays, initial values, saturation blocks, solver and tolerance changes - none worked.

Réponses (1)

Sabin
Sabin le 22 Déc 2022
In the attached model Number of parallel capacitors in the supercapacitors is set to 0 which cause initialization issues. This problem can be avoided by changing ‘Number of parallel capacitors’ to 1 in the Supercapacitor blocks.

Community Treasure Hunt

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

Start Hunting!

Translated by