gcubed.projections.simulation_layer

This module contains the SimulationLayer class, for doing projections for a single simulation layer.

TODO: Complete the simulations implementation Compute model simulations over the projection horizon.

Constructor

Use this constructor for any simulation that is the first simulation layer applied to baseline projections.

Arguments

simulation_layer_definition: The definition of this simulation layer

previous_projections: The projections that this simulation layer builds upon, baseline or another type.

The first projections created (these have no previous projections).

The definition for this simulation layer, giving access to the information about the simulation being done in this layer.

Returns the database associated with the baseline projections.

h3t: numpy.ndarray

A matrix with one column per projection year, with each column being the function of current and future exogenous variables affecting J1.

Note that this matrix is equivalent to h3t in the Ox implementation.

c4t: numpy.ndarray

A matrix with one column per projection year, with each column being functions of current and future exogenous variables affecting ZE.

Note that this matrix is equivalent to c4t in the Ox implementation.

x1_constants: numpy.ndarray

The constant adjustments to X1 to ensure projections equal observed values in the original base projection year.

j1_constants: numpy.ndarray

The constant adjustments to J1 to ensure projections equal observed values in the original base projection year.

ze_constants: numpy.ndarray

The constant adjustments to ZE to ensure projections equal observed values in the original base projection year.

z1_constants: numpy.ndarray

The constant adjustments to Z1 to ensure projections equal observed values in the original base projection year.