LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WC self-filling water tank homework

Greetings everyone!

 

I have to make a simulation in Labview. It is a self filling wc water tank. The simulation should be parameterizable. The parameters are the tank's width, the waterflow and the water tank's heigth. It's my sham, but I'm very new with this program and I don't know, how to make it or how to start. Because of the online learning, the lessons weren't great in the university.

 https://www.researchgate.net/figure/Self-filling-water-tank-used-for-toilets-and-animal-drinking-tro...

These link shows the picture about the tank, what I got.

I thank you in advance for any helpful reply.

Sorry for my English, but I'm from Hungary.

 

0 Kudos
Message 1 of 4
(1,616 Views)

@adam.horvath1219 wrote:

...but I'm very new with this program and I don't know, how to make it or how to start. Because of the online learning, the lessons weren't great in the university.

 

 


If you look at the top of the forum, there are quite a few learning resources and tutorials that can improve your LabVIEW skills. So try these first.

 

Nobody will do your homework for you, but you could also search the forum for similar problems that you could use as a starting point. Similar problems have been discussed many times.

0 Kudos
Message 2 of 4
(1,582 Views)

@altenbach wrote:
... but you could also search the forum for similar problems that you could use as a starting point.

OK, you could start here.

 

Now think of what you need to modify:

 

  • You need a manual control for the flush valve on the front panel.
  • You need either controls or diagram constants for the max level and fill rate of the inlet valve.
  •  Get rid of the event structure and just use a polling state machine instead
  • If the flush is not instantaneous, you also need a value of the outflow rate (which is much greater than the inlet flow).
  • The flush valve button should have a mechanical action of "Switch until released". While true, water is lost at a high rate.
  • You could add a flushing sound effect whenever the tank is emptied.
  • You could add status LEDs that show state (full, filling, flushing, state for each valve, etc.)
  • ...
0 Kudos
Message 3 of 4
(1,577 Views)

@adam.horvath1219 wrote:

I have to make a simulation in Labview. It is a self filling wc water tank. The simulation should be parameterizable. The parameters are the tank's width, the waterflow and the water tank's heigth. .

 


You need to re-think this. If you only have the width and height, you are missing the depth and the volume is unknown. All you really need is one scalar for the height (And maybe some conversion factors based on the other dimensions to calculate volume).

If the solution should be parameterizable, it just means that you want controls instead of diagram constants for the important parameters (volume based on WxDxH, fill and flush rate, etc.).

 

Here is a very simple starting point that you can modify for your needs. Study it well. You probably want the volume in floating point datatype (i.e. most of the blue stuff should be orange. Do you know what that means?). You might want to simulate nonlinear flow rates (flush rate proportional to level, fill rate slowing down as the valve closes over the last 20%, etc.) Add controls for all adjustable settings.

 

See how far you get!

 

altenbach_0-1606506045305.png

 

 

 

 

 

0 Kudos
Message 4 of 4
(1,558 Views)