hexagon logo

Integration over a variable (not time)

I have a column of an oil and gas mixture, where gas-to-oil ratio varies along the height of the column. The ratio also varies with time.
To get the total amount of gas in the column at any one time, i would like to integrate over the volume (height). Then I would like to integrate this total gas integral over time.
Is there a way to do this spatial integration inside Adams?