Errico24
Guest
Good morning.
My problem is as follows: I have an oxygen cylinder at a certain pressure, and it is connected to a plant by means of a valve that can regulate its flow.
since I have not much experience with simulink I wanted to ask you how you can shape this situation.
In practice I have calculated what oxygen flow is needed to my plant and I have to adjust the flow according to this.
as you can realize the model of the reservoir that is emptied and therefore in time decreases the pressure.
I also found the "ball valve" block on the simscape library but in input it allows me to adjust only the opening of the valve between 0 (closed) and 1 (open). how I can relate the required flow rate (in l/s) with the valve opening.
I also tried to use the "controlled volumetric flow rate source" but in the output it still gives me the wrong results (for example, imposed a flow rate of 10l/s and went out to check with a flow sensor it gave me 13 l/s).
I tried to search on the internet for similar problems modeled on simulink but I didn't find anything like that.
I hope I have clearly exposed the problem, otherwise I will add more information.
thanks in advance to those who will direct me
My problem is as follows: I have an oxygen cylinder at a certain pressure, and it is connected to a plant by means of a valve that can regulate its flow.
since I have not much experience with simulink I wanted to ask you how you can shape this situation.
In practice I have calculated what oxygen flow is needed to my plant and I have to adjust the flow according to this.
as you can realize the model of the reservoir that is emptied and therefore in time decreases the pressure.
I also found the "ball valve" block on the simscape library but in input it allows me to adjust only the opening of the valve between 0 (closed) and 1 (open). how I can relate the required flow rate (in l/s) with the valve opening.
I also tried to use the "controlled volumetric flow rate source" but in the output it still gives me the wrong results (for example, imposed a flow rate of 10l/s and went out to check with a flow sensor it gave me 13 l/s).
I tried to search on the internet for similar problems modeled on simulink but I didn't find anything like that.
I hope I have clearly exposed the problem, otherwise I will add more information.
thanks in advance to those who will direct me
Last edited: