Updated: Power Systems Model initial error - assistance required! Frustrating error reduced source
1 次查看(过去 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160102/image.jpeg)
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 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parameterization Methods 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!