We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
E.g. add equation CP=A_CENTRAL/VC into the ODE code record.
The text was updated successfully, but these errors were encountered:
#49 Add model statements into the given code record, test.
6e55d4a
From now on, position argument 'pos' available in method 'add' also allows code records elements.
For instance, to add an equation CP=A_CENTRAL/VC into the ODE code record, you can proceed as follows:
model <- model %>% add(Equation("CP", "A_CENTRAL/VC"), pos=Position(OdeRecord(), after=<logical>))
after=TRUE (default) -> equation is appended at the end of the ODE record. after=FALSE -> equation is appended at the beginning of the ODE record.
Please note that Position() also accepts any model statement, as shown below.
model <- model %>% add(Equation("CP", "A_CENTRAL/VC"), pos=Position(Ode("A_OUTPUT"), after=<logical>))
In this case, the equation is added before or after the ODE 'OUTPUT' depending on 'after'.
Sorry, something went wrong.
No branches or pull requests
E.g. add equation CP=A_CENTRAL/VC into the ODE code record.
The text was updated successfully, but these errors were encountered: