See separate import accounts for native blocks, coefficients, multipliers and accounting equations.

Database.to_import_representation(representation, *, inplace=True)#

Convert a single-region model’s import accounting representation.

Parameters:
  • representation (str) – "separate" stores imports in native IMP / IMP_Y blocks for IOTs and IMP_a / IMP_c / IMP_Y for SUTs. "factor-accounts" combines them with the factor accounts.

  • inplace (bool, optional) – Commit the conversion to this object when True; otherwise return a converted copy. All scenarios are converted together. Failed conversions preserve the original object.

Returns:

Converted database when inplace=False.

Return type:

Database | None