dfba.control

Definition of ControlParameter class.

Module Contents

Classes

ControlParameter

Holds information regarding a control parameter in a DfbaModel object.

class dfba.control.ControlParameter(name: str, change_point: str = None, values: List = None, change_points: List = None, *args, **kwargs)[source]

Bases: optlang.symbolics.Symbol

Holds information regarding a control parameter in a DfbaModel object.

id[source]

The identifier to associate with this control parameter.

Type

string

change_points[source]

The time points at which this control parameter changes value.

Type

list

values[source]

The values taken by this control parameter.

Type

list

property id(self)str[source]

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

property change_points(self)List[source]

Time points at which this control parameter changes value.

property values(self)List[source]

Actual values of the control parameter.

set_parameters(self, change_points: List, values: List)None[source]

Standardize input attributes.