fuel cell design, out of memory

2 views (last 30 days)
VHADIKS
VHADIKS on 25 Jun 2011
HI...I AM TRYING TO RUN MY DESIGN ON SIMULINK. IT IS A FUEL CELL CONNECTED TO A BOOST CONVERTER...I WAN SIMULATE IT FOR 150 SECONDS. MY PROBLEM IS THAT WHEN I SIMULATE IT FOR 20 OR MORE SECONDS I GET THE FOLLOWING ERRORS:Data logging exceeded available memory ,Cannot allocate sufficient memory for log variable. Consider disabling logging or reducing the length of simulation,Cannot transpose logged data before saving to matlab,Cannot convert log variable ‘scopedata’ to matlab format. please help on how to fix the errors
2.when i manage to fix the error i mentioned above. the next part i am suppose to regulate the output voltage of the converter using a PI. i have the PI equation. my problem is which simulink block do i use on my feedback loop i.e pi-pwm controller-boost converter...in other words which block do i use on the pwm controller.

Answers (1)

James  Robertson
James Robertson on 31 Aug 2012
I had a similar problem which occurred at the same time in each run despite there being plenty of available RAM (according to Task Manager).
I solved the problem by manually removing a discontinuity from the data stored in a .mat file I was using as an input. Whilst this may not seem related to running out of memory, it fixed the problem
James

Community Treasure Hunt

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

Start Hunting!