Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulink Error #1

Open
Mrzhang-hub opened this issue Feb 16, 2023 · 0 comments
Open

Simulink Error #1

Mrzhang-hub opened this issue Feb 16, 2023 · 0 comments

Comments

@Mrzhang-hub
Copy link

Mrzhang-hub commented Feb 16, 2023

Thanks for sharing this wonderful project. But when I run this "spmet_realtime" file with the local variable as the input, it gives the following error.
error
Based on its hint, I tracked down to the line 17 in this 'exch_cur_dens.m' file.
i_0p = p.k_p * ((p.c_s_p_max - c_ss_p) .* c_ss_p .* c_e_p).^p.alph;
I guess may be it is caused by the complex value of c_ss_p and c_e_p? I don't know and have no idea how to fix it. Could you give a hand?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant