sim: implement getValue and getValueSeries