ifrs17sim

The main module to build a simplelife model.

This module contains only one function build(), which creates a model from source modules and return it.

If this module is run as a script, the build() function is called and the created model is available as model global variable.

Functions

DiscRateAdj(t) Adjustment to the outer discount rates
DiscRate_inner(t) Discount rates for the inner projection
DiscRate_outer(t, dur) Discount rates for the outer projection
IntAccumCF_inner(t) Intrest on accumulated cashflows
IntAccumCF_outer(t) Intrest on accumulated cashflows
PolsIF_End_inner(t) Number of policies: End of period
PolsSurr(t) Number of policies: Surrender
SurrRateMult_inner(t) Surrender rate multiple for the inner projection (Default: 1)
SurrRateMult_outer(t) Surrender rate multiple for the outer projection (Default: 1)
build([load_saved]) Build a model and return it.
ifrs17sim.ifrs17sim.SurrRateMult_outer(t)[source]

Surrender rate multiple for the outer projection (Default: 1)

ifrs17sim.ifrs17sim.SurrRateMult_inner(t)[source]

Surrender rate multiple for the inner projection (Default: 1)

ifrs17sim.ifrs17sim.PolsSurr(t)[source]

Number of policies: Surrender

ifrs17sim.ifrs17sim.PolsIF_End_inner(t)[source]

Number of policies: End of period

ifrs17sim.ifrs17sim.IntAccumCF_outer(t)[source]

Intrest on accumulated cashflows

ifrs17sim.ifrs17sim.IntAccumCF_inner(t)[source]

Intrest on accumulated cashflows

ifrs17sim.ifrs17sim.DiscRateAdj(t)[source]

Adjustment to the outer discount rates

ifrs17sim.ifrs17sim.DiscRate_outer(t, dur)[source]

Discount rates for the outer projection

ifrs17sim.ifrs17sim.DiscRate_inner(t)[source]

Discount rates for the inner projection

ifrs17sim.ifrs17sim.build(load_saved=False)[source]

Build a model and return it.

Read input data from input.xlsm, create Input space and its subspace and cells and populate them with the data.

Parameters:load_saved – If True, input data is read from ifrs17sim.mx file instead of input.xlsm, which is saved when build_input is executed last time. Defaults to False