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

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.

回答 (1 件)

Sabin
Sabin 2022 年 12 月 22 日
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.

カテゴリ

質問済み:

2017 年 1 月 24 日

回答済み:

2022 年 12 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by