Skip to content
New issue

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

Allow substitute() to perform simple reactants scaling and time scaling #222

Open
renapagli opened this issue Nov 26, 2018 · 0 comments
Open
Assignees

Comments

@renapagli
Copy link
Collaborator

It should be possible to create a new model via a coordinate transformation of an existing model.

Currently, this is only possible for the particular transformation: <reactant> = <system size> - <reactants>, which reduces the number of reactants in the system by 1.

However, one should be able to scale reactants by a parameter value: <reactant> = <reactant>/<parameter>. This would be useful, for example, when taking the limit of the system size N to infinity. One could then scale the reactants by N to obtain the ODEs that describe how the fraction of each reactant change with time. Currently, this can be achieved by setting $N=1$ and reinterpreting the reactants as fractions of reactants.

Similarly, it would be advantageous if one could scale time in a model by a parameter value. This is common when reducing the number of parameters in a system of ODEs. Currently this can be achieved by setting the scaling parameter to 1 and reinterpreting the other parameters as <parameter>/<scaling parameter>

@renapagli renapagli added this to the Second release milestone Nov 26, 2018
@jarmarshall jarmarshall self-assigned this Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants