Experience asset comment...wrong?

I’ve been carrying around this comment from the LifeCycle model that demonstrates experience assets:

% Also, experience assets must be listed last in aprimeFn

But if I understand correctly, experience assets (presently only one is allowed) are the ONLY assets visible in aprimeFn. I.e., the aprime function has the d variables (corresponding to d2 and d3), the experience asset, and then such Parameters as are needed.

If the aprime function could see other assets (and other aprime values), then in my case, I could derived the d value from the hprime and h that are part of my model. But as I understand it, I cannot see other assets, and so must use the d variable as my informational proxy as to what is happening to/happening with my experience asset.

Is there a way to see other assets, or should the comment simply remind that the experience asset must come after the decision variables? I’m 99% sure it’s the latter.

Comment is wrong. It should either be saying that experienceasset is last in n_a, that the decision variable controlling experienceasset is last in n_d, or that inputs to aprimeFn are (d,a,…) with possibly multiple d.

1 Like

I went looking for this comment, presumably in model 41 or 42, but Ctrl+F for ‘also’ failed to find it, as did Ctrl+F for ‘last’.

If you know where exactly it is, let me know and I will go clean it up.

It was an error of my own making. I started with the code from LifeCycleModel35semiz_aprimeFn and then sprinkled in experienceassets. I wrongly added it as a note to myself. Thanks for confirming it was in error. I’ll fix it in my code.

1 Like