MISO2 System definitions

Created on Mon Feb 14 11:57:35 2022

MISO2 System definitions.

@author: bgrammer

model.config.MISO2_system_definitions.define_MFA_System_MISO2v7(MISO2, PrL_Number, PrL_Name, dimensions)

Function to define src MFA System v7 using ODYM.

The function implements the src system definition v7 (System definition). The function contains the model control parameters that are later used for error-checking in the MFA_system_control variable of the MISO2Model object, such as which Stocks and Flows may contain all-zero values and the total number of system stocks and flows.

Parameters:
  • MISO2 (MFAsystem) – ODYM MFASystem object which is loaded with src processes, stocks and flows.

  • PrL_Number (list) – List with PrL numbers.

  • PrL_Name (list) – List of PrL names.

  • dimensions (dict) – Dictionary with Nr,Ne,Nm,Nt and Ng dimensions as integers.

Returns:

MFA system control parameters used for error checking and metadata creation. Entries

are “system_definition”, number_stocks”, “number_flows”, “stock_names, “flow_names”, “all_zero_ok”, “no_data_yet” and “must_be_zero”.

Return type:

MFA_system_control(dict)