LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to simulate a hydraulic plant system with DSC and I have a question

I want to simulate the next system

 

http://img7.imageshack.us/img7/7466/plantn.jpg

 

I can control it in the manual way too, so I am controlling it by means of a PLC siemens S7 300 The question is ... if from the outside of simulation loop I can control a boolean button what I want to do is simulate diferent cases, 1 just make a P control, 2 just make a PD control, 3 just make a PID control ..., obviuously every case has a model and I want to put every model into a case structure and I want to control pump 1 and pump 2 from the outside (with bolean buttons as I said). The diagram is not finish yet, but it has two proportional valves too, to control flow.

 

is it right my idea ? or someone has a better idea ?

 

thanks, this is my first post. 

 

 

 

Electrical Electronic Engineering
0 Kudos
Message 1 of 7
(4,521 Views)
Hi; Do you need to change the control type on the run or can you stop the actual control and then start another type? Good Luck
Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte
Message 2 of 7
(4,425 Views)

I have been thinking in the process , I need to simulate a manual way, and I need to simulate an automatic way.

In the manual way, I need to change the simulation by means of two pumps involved in the system as well as with the boolean valves, what I mean to say is: simulate the system as in the real world (this system exist in control laboratory in my university) we could think about a state machine to simulate the process but I think is more accurate simulate the system with DSC toolkit (getting the model system), 

 

the process is simple, the water is transfer by means of pump 1 to tank 2, (at constant flux), opening the corresponding valve . 

Turning on the pump2, the water is transfer newly to tank 1, proportional valves will not work out in the manual way,it just work out in the automatic way with an electronic controller.

 

All this actions I  want to put them into a toolkit DSC, turning on only a pump, it obey to a certain model. if I have two pumps turned on, it obey a diferent model, all this is my idea to simulate the real world, just with a button turn on a pump then the system change, the conditions left them behind are the new conditions to the new model, and then the simulation continues. 

 

then, My idea is to put all different model systems in a case structure. In every case would be a model system. All this controlled by valves and pumps (boolean)  thus, if the controll change (valve states or pump states)  this conditions will be transfer to the next case at the instant it stoped (suppose a certain level in tank 1 or certain level in tank 2) then the simulation continues.All this governed by boolean states (pump and valve)

 

if someone took a little time to read this, could you give me more ideas to do this ? how it sounds this idea ? this idea would be right ?

 

is it possible transfer last conditions at certain instant that it stoped the system to other case in the case structure by means of toolkit DSC ? through some tunel in the SIMULATION LOOP ?

 

thanks for read this.

 

bye

 

 

 

 

 

Electrical Electronic Engineering
0 Kudos
Message 3 of 7
(4,406 Views)

Hi;

 

The idea of the case structures sounds good, but in the models, how are you giving the distinct parameters for the simulation? or what parameters are you mentioning, the simulation parameters or the valve values?

 

Good Luck

Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte
0 Kudos
Message 4 of 7
(4,272 Views)
I have been triyn but I can't understand it at all how to doing, because my model it is not finished yet. 
Electrical Electronic Engineering
0 Kudos
Message 5 of 7
(4,102 Views)

Hi CarlosXYZ;

 

Here are some documents that can help you to understand how to work with simulations in LabVIEW

 

http://zone.ni.com/devzone/cda/tut/p/id/6467

http://decibel.ni.com/content/docs/DOC-4592

 

I hope the information is useful.

 

Good Luck! 

Message Edited by Rialter on 11-13-2009 12:03 PM
Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte
0 Kudos
Message 6 of 7
(4,006 Views)

my bad, it was really easy to programming that thing.

Electrical Electronic Engineering
0 Kudos
Message 7 of 7
(3,706 Views)