Hey everyone,
Attached is a model I have of air being heating as it passes throug a pipe.
Right now the Q (heat source term) was calculated to raise the temperature of the pipe from the inlet temp of ~290 K to the desired temp of ~350. The Q is a parameter that I put in based on my calculations.
I want implement P-control (proportional control) so I added a variable that says
Qcontrolled = kP(Tmeasured-Tsetpoint), where my set point temp is 70C, kP is my proportional parameter, and Tmeasured SHOULD be the temp of the air at a point in the pipe in the heated section.
Basically, I want to add P control. I don't want to have to calculate a Q and then add it as a parameter. I want to have Q be a calculated number based on the required set point of 70 C.
Any thoughts on how to do this? Help is greatly appreciated!
Attached is a model I have of air being heating as it passes throug a pipe.
Right now the Q (heat source term) was calculated to raise the temperature of the pipe from the inlet temp of ~290 K to the desired temp of ~350. The Q is a parameter that I put in based on my calculations.
I want implement P-control (proportional control) so I added a variable that says
Qcontrolled = kP(Tmeasured-Tsetpoint), where my set point temp is 70C, kP is my proportional parameter, and Tmeasured SHOULD be the temp of the air at a point in the pipe in the heated section.
Basically, I want to add P control. I don't want to have to calculate a Q and then add it as a parameter. I want to have Q be a calculated number based on the required set point of 70 C.
Any thoughts on how to do this? Help is greatly appreciated!