mario.Database.to_import_representation
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 nativeIMP/IMP_Yblocks for IOTs andIMP_a/IMP_c/IMP_Yfor 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