for c, attr in lookup.query("not nominal and not handle_separately").index:
define_dispatch_for_non_extendable_variables(n, snapshots, c, attr)
define_dispatch_for_extendable_and_committable_variables(n, snapshots, c, attr)
align_with_static_component(n, c, attr)
define_dispatch_for_extendable_constraints(n, snapshots, c, attr)
perform poorly because of the mask in define constraint. I suggest to remove the mask and set the non-active assets to zero when defininng min_pu, max_pu in get_bounds_pue.g. in this way here