Iam getting error when i run the battery RC model

variables(Access=private) i = { 0, 'A' }; % Current v = { 0, 'V' }; % Voltage Qe = {0,'A*hr'}; % Charge deficit
equations
v == p.v - n.v;
i == Qe.der;
i got the following error "Total size of differential equations does not match the total size of differential variables". Please help me.Thank you,

Answers (0)

This question is closed.

Asked:

on 25 Sep 2018

Closed:

on 7 Mar 2023

Community Treasure Hunt

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

Start Hunting!