Note
Click here to download the full example code
ifrs17sim
IFRS balancesheet itmsΒΆ
Fulfilment CF, CSM, Cash balances
![Fulfilment CF and CSM](../../_images/sphx_glr_plot_ifrs_balance_001.png)
# When the current directory is this folder,
# The try-except statement below can be replaced by just the last two
# import statements.
import draw_charts
import modelx as mx
model = mx.read_model("model")
proj = model.OuterProj[171]
ifrsbs = proj.cells['CSM',
'PV_FutureCF',
'AccumCF'].to_frame(range(10))
ifrsbs.columns = ['CSM', 'FCF', 'Cash']
ifrsbs['FCF'] = -1 * ifrsbs['FCF']
ifrsbs['Cash'] = -1 * ifrsbs['Cash']
draw_charts.draw_stackedbarpairs(ifrsbs,
title='Fulfilment CF and CSM')
Total running time of the script: ( 0 minutes 1.374 seconds)