mario.CoreModel.is_productive

CoreModel.is_productive(method: str, data_set: str = 'baseline') bool

Checks the productivity of the system

Parameters:
  • method (str) –

    represents the method to check the balance:

    1. ’flow’

    2. ’coefficient’

    3. ’price’

  • data_set (str) – defining the scenario to be checked

  • margin (float which will be considered as a margin for the balance) –

Returns:

True if the dataset is balance Flase if the dataset is not balance –> it also prints in a table the imbalances

Return type:

boolean