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?

Please access my files from here.

0

There are 0 best solutions below