macrostat.models.GL06SIMEX.GL06SIMEX#

class macrostat.models.GL06SIMEX.GL06SIMEX(parameters: ~macrostat.models.GL06SIMEX.parameters.ParametersGL06SIMEX | None = <macrostat.models.GL06SIMEX.parameters.ParametersGL06SIMEX object>, variables: ~macrostat.models.GL06SIMEX.variables.VariablesGL06SIMEX | None = None, scenarios: ~macrostat.models.GL06SIMEX.scenarios.ScenariosGL06SIMEX | None = None, *args, **kwargs)[source]#

Bases: Model

SIMEX model class for the Godley-Lavoie 2006 SIMEX model.

__init__(parameters: ~macrostat.models.GL06SIMEX.parameters.ParametersGL06SIMEX | None = <macrostat.models.GL06SIMEX.parameters.ParametersGL06SIMEX object>, variables: ~macrostat.models.GL06SIMEX.variables.VariablesGL06SIMEX | None = None, scenarios: ~macrostat.models.GL06SIMEX.scenarios.ScenariosGL06SIMEX | None = None, *args, **kwargs)[source]#

Initialize the SIMEX model.

Parameters:
  • parameters (ParametersGL06SIMEX | None) – The parameters of the model. If None, default parameters will be used.

  • variables (VariablesGL06SIMEX | None) – The variables of the model. If None, default variables will be used.

  • scenarios (ScenariosGL06SIMEX | None) – The scenarios of the model. If None, default scenarios will be used.

Methods

__init__([parameters, variables, scenarios])

Initialize the SIMEX model.

compute_theoretical_steady_state([scenario])

Compute the theoretical steady state of the model.

from_json(parameter_file, scenario_file, ...)

Initialize the model from a JSON file.

load(path)

Class method to load a model instance from a pickled file.

save(path)

Save the model object as a pickled file

simulate([scenario])

Simulate the model.

to_json(file_path, *args, **kwargs)

Convert the model to a JSON file split into parameters, scenarios, and variables.

Attributes

version = 'GL06SIMEX'#