gcubed.linearisation.solved_model

Module containing the complete solved-model construction path.

class SolvedModel(gcubed.base.Base):

Overview

Provides convenience methods for all classes.

All G-Cubed classes inherit from this base class.

SolvedModel( model: gcubed.model.Model, linearise_around_the_neutral_real_interest_rate: bool = True)

Overview

Solves the model.

This object takes some time to construct, as it solves the model. Therefore it can be useful to create this object and then to re-use it for multiple projections.

Arguments

model :

The model to be solved

linearise_around_the_neutral_real_interest_rate :

If `True`, the model is linearised around the neutral real interest rate.
If `False`, the model is linearised around the interest rates in the linearisation year.
Defaults to `True`.

Exceptions

Raises AssertionError if the model is not provided or is not a gcubed.model.Model or if linearise_around_the_neutral_real_interest_rate is not True or False.

Logs a warning before a major solution phase when the conservative memory estimate exceeds the effective memory available to the process, then attempts the solve using memory-minimizing block sizes.

linearise_around_the_neutral_real_interest_rate: bool

True if interest rates are linearised around the neutral real interest rate for the start of the baseline projections and False otherwise.

Defaults to True.

The stable manifold.

The state space form.

The model.

The parameters.

The SYM data.

The database model.

The linearisation database.

The model configuration.