11-27-2020 11:34 AM
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.
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.
11-27-2020 12:43 PM
@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.
11-27-2020 12:56 PM - edited 11-27-2020 01:00 PM
@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:
11-27-2020 01:42 PM - edited 11-27-2020 01:45 PM
@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!