Open aidinbii opened 5 months ago
Hi @aidinbii
You can create this initial assignment with the following:
parameters:
- parameterId: Ke_30
nominalValue: 30
- parameterId: diff_Ke1
nominalValue: 1
odes:
- stateId: Ke_3
rightHandSide: 0 + 0
initialValue: Ke_30 + diff_Ke1
The Ke_3
ODE is a bit of a hack: it will create the correct initial assignment, and the right-hand-side needs to be anything that evaluates to 0
, so that Ke_3
doesn't change value over time. 0
by itself doesn't seem to work in the current version of yaml2sbml.
You can then use Ke_3
as a parameter in other expressions.
Hello, I want to ask about this feature
From this discussion: https://github.com/ICB-DCM/pyPESTO/issues/1334#issuecomment-2034771374