:mod:`dfba.exchange` ==================== .. py:module:: dfba.exchange .. autoapi-nested-parse:: Definition of `ExchangeFlux` class. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dfba.exchange.ExchangeFlux .. class:: ExchangeFlux(name: str, *args, **kwargs) Bases: :py:obj:`optlang.symbolics.Symbol` Class for holding information for an exchange flux in a `DfbaModel` object. .. attribute:: id The identifier to associate with this exchange flux. :type: string .. attribute:: lower_bound_expression The symbolic expression for calculating the lower bound of this exchange flux. :type: optlang.symbolics expression .. attribute:: upper_bound_expression The Symbolic expression for calculating the upper bound of this exchange flux. :type: optlang.symbolics expression .. method:: id(self) -> str :property: For convenience, synonym with .name from `symbolics.Symbol`. .. method:: lower_bound_expression(self) -> dfba.types.Expression :property: Relate the exchange rate to some symbolic expression. .. method:: upper_bound_expression(self) -> dfba.types.Expression :property: Relate the exchange rate to some symbolic expression.