break aLvl into separate frame from aNrm
@@ -268,8 +268,12 @@ class PortfolioConsumerFrameType(FrameAgentType, PortfolioConsumerType):
reward = True
),
Frame(
- ('aNrm', 'aLvl'), ('aNrm', 'cNrm', 'mNrm', 'pLvl'),
+ ('aNrm'), ('mNrm', 'cNrm'),
default = {'aNrm' : birth_aNrmNow},
- transition = transition_poststates
+ transition = lambda self, mNrm, cNrm : (mNrm - cNrm,)
+ ),
+ Frame(
+ ('aLvl'), ('aNrm', 'pLvl'),
+ transition = lambda self, aNrm, pLvl : (aNrm * pLvl,)
)
]
\ No newline at end of file
