I’m having problems accessing a historical state. I’m just sticking in a variable for testing for now, and have a PSUB that calls this:
def updateLookback(params, step, sL, s, _input):
y = ‘lookback’
x = access_block(sL, “last_x”, -1)[-1][‘stateVariable’]
return(y,x)
When I run the execution, my jupyter notebook just hangs - that cell doesn’t resolve.