03-20-2009 07:49 PM
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.
04-02-2009 06:36 PM
04-03-2009 06:09 AM
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
05-04-2009 10:40 AM
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
09-29-2009 03:44 PM
11-13-2009 12:03 PM - edited 11-13-2009 12:03 PM
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!
11-11-2010 04:01 PM
my bad, it was really easy to programming that thing.