The Projection Space#

Per-policy cashflow projection and present values for one model point and scenario.

This is the user-facing Space of TradLife_A: each ItemSpace Projection[idx, scen_id] projects the cashflows and their present values for one policy under one scenario.

Inheritance Structure

The Projection Space inherits its contents from its base Spaces, BaseProj and PV. The projection cells are inherited from BaseProj, and the present values of those cashflow items are inherited from PV.

Parameters and References#

This Space is parameterized with idx and scen_id:

>>> m.Projection.parameters
('idx', 'scen_id')

Calling this Space with a pair of integers returns the ItemSpace for the policy index and scenario ID. scen_id has a default value of 1, so for example Projection[0] represents the Projection Space for the first policy under scenario 1.

idx#

0-based policy index into the policy data array.

Type:

int

scen_id#

Scenario ID, defaults to 1.

Type:

int, optional

References

The following references are inherited from BaseProj:

pol#

Alias for PolicyAttrs.

asmp#

Alias for Assumptions.

scen#

Alias for Economic.

comm_table#

Alias for CommTable.