How to run a model using an current input with high amplitude values while there are soem lookup tables in the model which are created using the data including the current amplitude of small values?

1 view (last 30 days)
I am trying to fit a model to some measurements to model a battery. Input of my model is current and the output is voltage of battery terminal. I am using some 3D lookup tables in my model. The breakpoints(dimensions) are :SOC(state of charge), temperature, and current amplitude and the table data in the impedance value of battery circuit elements. The measurements are done using very small values for the current (in range of 2 A). After completing the model I am supposed to validate the model using a standard signal for current input that includes very high current amplitudes (in range of 250 A). Then comparing the output of my model(voltage) with the one from the measurements using that standard signal for the current. Now when I try to run the model I get singularity error over one of the integrators. I am sure this is caused by the high amlitude of current as the input, but the problem is that I can not limit the amplitude using e.g. saturation blocks. I also tried to solve the problem with different solvers but could not fix the problem. Does anyone have an idea how to resolve this problem?
Thanks a lot in advance.
  2 Comments
Sara Mohajer
Sara Mohajer on 8 Aug 2014
Thanks for your response. To avoid that and just to check if the problem is caused by zero values for parameters, I used switches at the output of the lookup tables and set the threshold to 0. But still the problem exists. I do not know what to do to get rid of that error!!!

Sign in to comment.

Answers (0)

Categories

Find more on Energy Storage in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!