dfba.exchange

Definition of ExchangeFlux class.

Module Contents

Classes

ExchangeFlux(name: str, *args, **kwargs) 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
id :str[source]

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

lower_bound_expression :Expression[source]

Relate the exchange rate to some symbolic expression.

upper_bound_expression :Expression[source]

Relate the exchange rate to some symbolic expression.