Getting the current sample variable value so it can be used to compute the observed inputs in a secondary model likelihood

Yes of course, sorry for that, horrible units choice. In the real model all the components are normalised.