ThermoPower icon indicating copy to clipboard operation
ThermoPower copied to clipboard

Brayton Cycle Example

Open stephen-hills opened this issue 5 years ago • 4 comments

I'm trying to get the brayton cycle example to work so I can try testing the compressor but I keep getting the same error when I run the closed loop and open loop examples (model error: Argument of sqrt(plant.turbine.gas_in.T) was negative number should be >=0. I'm not sure what to do to fix it. Also, is there another example that uses the compressor? I'm trying to model a refrigeration cycle using that compressor.

stephen-hills avatar Jan 31 '20 17:01 stephen-hills

Which tool are you using?

casella avatar Jan 31 '20 17:01 casella

I'm using OpenModelica version 3.2.3

stephen-hills avatar Jan 31 '20 17:01 stephen-hills

From the CI testing report the Brayton cycle models seem to work. Is this a new model you made on your own?

casella avatar Jan 31 '20 18:01 casella

I don't think I've modified any of the components in the example. I just tried running the example Brayton cycle. The compiler I'm using is OpenModelica v1.15.0

stephen-hills avatar Jan 31 '20 18:01 stephen-hills