metabolism model using time windowed approach