commonpower.modeling.util

Functions

get_element_from_model

model_root

Returns the root model of the given model by recursively calling model.parent_block().

Classes

SubscriptableFloat

This is a dummy class to "fake" the behaviour of a model element when extracting the signature from a constraint/cost expression.