Updated: Power Systems Model initial error - assistance required! Frustrating error reduced source
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Sabin
on 22 Dec 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.
0 Comments
See Also
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!