ApplyReport

class flexparameterize.apply.ApplyReport(fixed_parameters: dict[str, dict[str, float]]=<factory>, swapped_relations: dict[str, list[str]]=<factory>, dof_before: int = 0, dof_after: int = 0)

What apply_to_model() changed on the model.

fixed_parameters

Per unit name, the process parameters that were fixed and the values they were fixed at.

Type:

dict[str, dict[str, float]]

swapped_relations

Per unit name, the relation names whose Constraint was swapped for a richer fitted one (the unit’s own energy relation unless surrogates named a different one).

Type:

dict[str, list[str]]

dof_before

Degrees of freedom of the model before applying.

Type:

int

dof_after

Degrees of freedom after; each fixed parameter removes one.

Type:

int