gcubed.data.model_equations
Returns
True if the required properties have been configured and False otherwise.
The required properties are:
sym_dataThe summary of the SYM model.
Returns
The model configuration object
Returns
The LHS vector for the state variables in the left-hand side of the model equations.
Returns
The LHS vector for the costate variables in the left-hand side of the model equations.
Returns
The LHS vector for the expected endogenous variables in the left-hand side of the model equations.
Returns
The LHS vector for the endogenous variables in the left-hand side of the model equations.
Returns
The RHS vector for the state variables in the RHS-hand side of the model equations.
Returns
The RHS vector for the costate variables in the RHS-hand side of the model equations.
Returns
The RHS vector for the expectedendogenous variables in the RHS-hand side of the model equations.
Returns
The RHS vector for the endogenous variables on the RHS-hand side of the model equations.
Returns
The RHS vector for the lagged costate variables on the RHS-hand side of the model equations.
Returns
The RHS vector for the lagged state variables in the RHS-hand side of the model equations.
Returns
The RHS vector for the exogenous variables in the RHS-hand side of the model equations.
Returns
The RHS vector for the lagged expected exogenous variables on the RHS-hand side of the model equations.
Objective
Set the value of an element to the specified value
Arguments
vector_name: The name of the vector to updatesequence_number: The index of the element to updatevalue: The value to set the element to
Objective
Get the value of an element in the specified vector.
Arguments
vector_name: The name of the vector to retrieve the value fromsequence_number: The index of the element to retrieve
Returns
The value of the element in the specified vector
Objective
Populate the model parameters for the equations to be evaluated.
Arguments
parameters: The model parameters object.
Objective
Populate the vectors required to evaluate the equation for the specified variable.
Arguments
lhs_variable_name: The full name of the variable on the lefthand side of the equation.lhs_year: The year determining which the variable values are to be populated. This is the year associated with the left-hand side variable.database: The linearisation database used to source variable values from.
Overview
Determines the year offset of the RHS variable relative to the year for the LHS variable.
Arguments
rhs_vector: The RHS variable vector.rhs_prefix: The RHS variable prefix.
Returns
The RHS variable year in as a YYYY format integer.