First time here? Checkout the FAQ!
x
0 votes
ago by (330 points)

When I modify an ion model, for example by adding a parameter such as Ko to the Severi.model file, create the dynamic library and load the dynamic library file, I receive an error message stating that the added parameter is not recognised for the model. 

1 Answer

+1 vote
ago by (330 points)
 
Best answer

I debugged the process of loading the model and found that bench.cc switches to my local _build folder at some point and uses the model file located there. I opened a ticket [#155] for this issue so that at least a warning is issued or, better yet, the correct file is loaded from the outset.

However, a current workaround is to rename the modified model. When I named the model Severi2.model, created the dynamic library and then loaded it, adding the Ko parameter was effective. 

Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...