How to control both the generator torque and motor torque varying with both speed and time? #31855
-
|
Let me give you an recuperated brayton cycle by me. It is imitated from https://mooseframework.inl.gov/modules/thermal_hydraulics/examples/recuperated_brayton_cycle/recuperated_brayton_cycle.html. The generator torque equals to -0.00115*omega. The motor torque varying with time is from the file The input file above will give you some promsing result. And these into [ControlLogic] And this into [Components] But the result shows that the generator torque and motor torque will be both 0. The control for generator torque fails! And it involves motor torque failing! I want to know the reason! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
|
And I also try this: But the result is the same. The control for generator and motor torque fail again! So how to control both the generator torque and motor torque varying with both speed and time? |
Beta Was this translation helpful? Give feedback.
-
|
@joshuahansel FYI |
Beta Was this translation helpful? Give feedback.
-
|
Can you provide |
Beta Was this translation helpful? Give feedback.
-
|
BUG! 🐛 I'm still identifying its nature, but it happens when your "placeholder" Workaround: use different placeholder values. I will work on a fix to this and post here afterward, so if you want the proper solution (maybe a week or two from now), maybe you should update your application/input file (it's not 2023 anymore 😉 ). Thanks for telling us the bad behavior! |
Beta Was this translation helpful? Give feedback.

You are right sir. We can set different "placeholder" values for both torque in motor and torque in generator and give them controllogic about shaft:omega, but there will be mistakes for torque value: the 1st step: "placeholder" values; the 2nd step: function about shaft:omega in time step 1 with time; the 3rd step: function about shaft:omega in time step 2 with time... - This is not what I want.
What I want is : torque value = the 1st step: function about shaft:omega in time step 1 with time, the 2nd step: function about shaft:omega in time step 2 with time; the 3rd step: function about shaft:omega in time step 3 with time...
Specifically, I want generator torque = f*omega, t<= t_loss_ge…