Open zasddsgg opened 1 month ago
For a/b, they aren't the same value because new metrics are added between these lines. It's just simply to know how many metrics there are up to that point - it's not necessary, and since you don't understand it, you don't need to use it.
For c, both can work, the Model
class can handle both.
Hello, may I ask you something about index_TEA,index_IRR and metrics. Thanks for your help. Wish you a good day.
a) Do
index_TEA = len(metrics)
(https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park/blob/master/biorefineries/HP/analyses/models_achieved_improvements.py#L857) andindex_IRR = len(metrics)
(https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park/blob/master/biorefineries/HP/analyses/models_achieved_improvements.py#L942) return the same value? Because the number of metrics elements seems to be certain (https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park/blob/master/biorefineries/HP/analyses/models_achieved_improvements.py#L130-L547).b) Could I consult you what do
index_TEA
andindex_IRR
mean?c) Are
metrics
in a Model atuple
or alist
(https://biosteam.readthedocs.io/en/latest/API/evaluation/Model.html)? It’stuple
in https://biosteam.readthedocs.io/en/latest/API/evaluation/Model.html#:~:text=metrics%20(tuple%5BMetric%5D)%20%E2%80%93%20Metrics%20to%20be%20evaluated%20by%20model, but alist
in https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park/blob/master/biorefineries/lactic/models.py#L87-L97, and atuple
in https://github.com/BioSTEAMDevelopmentGroup/Bioindustrial-Park/blob/master/biorefineries/HP/analyses/models_achieved_improvements.py#L130-L141?