LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two tank level control

Hello. Trying to build a two tank level control in LabView. if someone could help me with this i would be forever thankful. attaching a principial drawing of how it should work like. between the two tanks is a pump, so the water can go both ways in this pipe.

0 Kudos
Message 1 of 11
(5,405 Views)

The chances of getting someone to write the whole thing for you are minimal. If you make a stab at it and get stuck, people will be much more likely to help with specific questions.

0 Kudos
Message 2 of 11
(5,365 Views)

@ToeCutter wrote:

The chances of getting someone to write the whole thing for you are minimal. If you make a stab at it and get stuck, people will be much more likely to help with specific questions.


True.  Also, WHAT do you want???  Are you actually needing a CONTROL?  Usually a tank would be an indicator.  A pump control makes more sense.  Or do you need a VI that runs a simulation with a pump and two tanks?  If so, what are the parameters for the simulation?  What happens when a tank is full?  How do you control the pump?  Etc...

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 11
(5,358 Views)

Ok. sorry for not beeing specific. the two tanks is supposed to represent two water reservoirs and the water supply for each reservoir is rain water + water from the upper reservoir to the lower reservoir. this simulation is a part of a bigger project that we are doing, and the truth is, we have no experience with LabView. so my intention was really to ask if someone had a model lying around that is similar to the one I am after, where I could just change the parameters. do you need some special toolkit for this model? I have installed LabView 2012

 

Upper tank:

Water outlet: 3 [m3/s] (adjustable 0-100%)

Area: 1 000 000 [m2]

Rain water: 0,75 [m3/s] (adjustable 0-100%)

Max regulation height: 8 [m] (alarm goes of at max)

 

Lower tank:

Water outlet: 6 [m3/s] (adjustable 0-100%)

Area: 11250  [m2]

Rain water: 1 [m3/s] (adjustable 0-100%)

Water supply for upper tank: 3 [m3/s] (adjustable 0-100%)

Max regulation height: 4 [m] (alarm goes of at max)

 

the pump should then of course be able to pump 6 [m3/s] (on/off switch)

 

 

0 Kudos
Message 4 of 11
(5,316 Views)

Forget LabVIEW for a moment. Start by writing some equations relating the flow rates in your pipes and the liquid levels in your tanks. Then post it back here. Meanwhile start reading up and doing some basic tutorials on LabVIEW so you will understand the next steps.

0 Kudos
Message 5 of 11
(5,303 Views)

Upper tank:

dV1/dt = Qrain1-Qout1

dh1/dt = 1/A1(Qrain1-Qout1)

 

Lower tank:

dV2/dt = Qrain2+Qout1-Qout2

dh2/dt = 1/A2(Qrain2+Qout1-Qout2)

Message 6 of 11
(5,296 Views)