dfba.exchange

Definition of ExchangeFlux class.

Module Contents

Classes

ExchangeFlux

Class for holding information for an exchange flux in a DfbaModel object.

class dfba.exchange.ExchangeFlux(name: str, *args, **kwargs)[source]

Bases: optlang.symbolics.Symbol

Class for holding information for an exchange flux in a DfbaModel object.

id[source]

The identifier to associate with this exchange flux.

Type

string

lower_bound_expression[source]

The symbolic expression for calculating the lower bound of this exchange flux.

Type

optlang.symbolics expression

upper_bound_expression[source]

The Symbolic expression for calculating the upper bound of this exchange flux.

Type

optlang.symbolics expression

property id(self)str[source]

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

property lower_bound_expression(self)dfba.types.Expression[source]

Relate the exchange rate to some symbolic expression.

property upper_bound_expression(self)dfba.types.Expression[source]

Relate the exchange rate to some symbolic expression.