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

Parameters defined by ODE: Parameter Values or Initial Conditions #15

Open
PavelBal opened this issue Jan 28, 2020 · 13 comments
Open

Parameters defined by ODE: Parameter Values or Initial Conditions #15

PavelBal opened this issue Jan 28, 2020 · 13 comments

Comments

@PavelBal
Copy link
Member

I know that we discussed it again, but I cannot remember what was the solution:

Do parameters that are defined by an ODE belong to the list of Parameter Values or Initial Conditions?

It is more logical to list them under Parameter Values, as those are, well, parameters. The only problem is the scale factor - in theory it should be possible to change the scale factor for them, too. However, it was not possible until now, so it would be OK to let it out in the new version?

@Yuri05 @msevestre @StephanSchaller

@StephanSchaller
Copy link
Member

It is more logical to list them under Parameter Values

No, I disagree, for a modeller, if a parameter is defined as a state-variable, the "initial value" you then have to specify should also be listed as "initial condition".

We might need to aligning the nomenclature "initial value" / "initial condition"

@PavelBal
Copy link
Member Author

In this case: if an entry for molecule A in container B is not present in the list, then this molecule has status "not present" in this container. What about the parameter? How does this work together with the idea of only listing parameter whose values are changed?

@msevestre
Copy link
Member

msevestre commented Jan 28, 2020 via email

@msevestre
Copy link
Member

msevestre commented Jan 28, 2020 via email

@StephanSchaller
Copy link
Member

I guess this is a technical issue. This simply means the "initial value" is no longer defined at the parameter (NaN, or there simply is no corresponding UI element), but in the "initial conditions" BB.

Also, the R-function "setSpeciesInitialValues" would need to handle parameters that are StateVariables. Again, we might need to change Nomenclature to be precise (e.g. call it "setInitialConditions")

@StephanSchaller
Copy link
Member

Or are we renaming MSV to IC?

Correct

@msevestre
Copy link
Member

msevestre commented Jan 28, 2020 via email

@StephanSchaller
Copy link
Member

Having parameter values potentially in two places is highly confusing don't you think?

Depends who you are asking, I guess (modeller vs lay person).
These "parameters" are anyway of a special case... and technically are not (input) parameters at all... but state variables of the model (just like species)
So, are "Initial Values" then really Parameter Values?
Because for a Parameter defined as State Variable, its (current) value is defined by the differential equation.

@Yuri05
Copy link
Member

Yuri05 commented Jan 28, 2020

my vote: Parameter Values.
Apart from arguments already given above, if we are going to keep the possibility to switch between "normal" parameter and "ODE"-parameter just via selecting/deselecting a checkbox: having ODE parameter initial value in IC would mean that it must be moved between PV and IC every time user activates/deactivates this option. Not impossible, but seems confusing from users perspective and also means some additional implementation effort.

@PavelBal
Copy link
Member Author

I also vote for Parameter Values, especially with Yuris argument.

@StephanSchaller
Copy link
Member

Technically, the (non-ODE) Parameter does not appear in the PV BB by default, but only if changed. Also, I don't think users would switch back and forth between "normal" and "ODE"...

… okay... if you all vote like this… but are the ICs of these "ODE" parameters handled with "setSpeciesInitialValue" at the moment?

@PavelBal
Copy link
Member Author

Also, I don't think users would switch back and forth between "normal" and "ODE"...

I am doing it often...

but are the ICs of these "ODE" parameters handled with "setSpeciesInitialValue" at the moment?

At the moment? You mean, in the "old" r-toolbox?

@StephanSchaller
Copy link
Member

At the moment? You mean, in the "old" r-toolbox?

Jop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

4 participants