[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Water tank



Dear trnsys users,
I'm working on a water pumping system, and I'm trying to model a simple water tank.
 
It must have:   INPUT - Water pumped to the tank
                      INPUT - Requested water by a load ( and so water from the tank)
                      PARAM - Tank Capacity
                      OUTPUT - Quantity of water in tank
 
My problem is: how can I handle the increase and the decrease of water in the tank in trnsys time iterations?
I mean, in a given moment there will be some water to the tank, some water from the tank and a quantity of water wich already was in the tank at the simulation previous time.
Have I to use some subroutine call's array like INFO(10) or ICNTRL?
 
Thank you, Eileen.