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

조회 수: 5 (최근 30일)
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.

카테고리

Help CenterFile Exchange에서 Electrical Sensors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by