dfba.variable

Definition of KineticVariable class.

Module Contents

Classes

KineticVariable

Class for holding information for a kinetic variable in a DfbaModel object.

class dfba.variable.KineticVariable(name: str, initial_condition: numbers.Number = 0.0, *args, **kwargs)[source]

Bases: optlang.symbolics.Symbol

Class for holding information for a kinetic variable in a DfbaModel object.

id[source]

The identifier to associate with this kinetic variable.

Type

string

rhs_expression[source]

The symbolic expression for calculating derivative of this kinetic variable wrt time.

Type

optlang.symbolics expression

initital_condition

The initial value of this kinetic variable to be used at start of simulation.

Type

int or float

property id(self)str[source]

For convenience, synonym with .name from symbolics.Symbol.

property rhs_expression(self)Union[dfba.types.Expression, None][source]

Relate the rhs expression to some symbolic expression.

property initial_condition(self)numbers.Number[source]

Relate the ininital condition to some int or float value.