Using simFunction Object in Simbiology when my stoichiometry depends on a model parameter
Show older comments
Hi,
Prevusly asked this question and my problem was solved. Now I have another question:
I am working on a SimBiology code with Stochiometry depending on a parameter (DAR). The specise are calculated based on their concentrations (nmol/liter). The size of the component changes too which is based on repeated rules. I use SimFunction for paarmetrization, therefor as we discussed, I use rate rules for the specieses in which their concentration depends on DAR. The method was explained before in this thread. But I get the follwoing error. Is their any way to fix this error?
Rate rule for species 'PL_ext' is invalid. Species 'PL_ext' is in concentration and in a compartment with varying capacity. For this to be valid, the compartment capacity
must be varied by a rate rule.
Accepted Answer
More Answers (0)
Categories
Find more on Build Models 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!