First time here? Checkout the FAQ!
0 votes
by (220 points)
edited by

I am working on single cell simulations. Therefore, I am trying to incorporate parts of the adrenergic stimulation cascade of the autonomic nervous system in a single cell model. One variable of this cascade is defined as a curve fitting including complex numbers. Now my question is if there is a way to calculate complex numbers in a model file e.g., the square root of a negative number.

Thanks in advance.

1 Answer

+1 vote
by (17.5k points)
selected by
Best answer
Variables are translated to double and gates to float during the code generation and there is currently no way to manipulate this.
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