CARNOT ENGINES - WITH UNLIMITED RESERVOIRS version 01.06.01
Copyright 2011-2014 by Mark Ciotola; available for use under GNU license
Created on 14 June 2014. Last revised on 24 November 2014
Developed with Ruby 1.8.7; updated to Ruby 2.1.1
A Carnot heat engine bridges reservoirs of differing temperatures to transform heat flow into work. Heat energy is consumed from the hot reservoir. Part of that energy become work, while the remainder is exhausted as waste heat.
The work produced is utilized to produce additional Carnot heat engines. Each engine has a build cost. So the quantity of engines will increase, and hence will consumption."
Since a Carnot engine produces no net entropy, the entropy removed from the hot reservoir must match the entropy added to the cold reservoir.
Change parameters by changing the program code.
Entire the desired name of an output file at the prompt when running the program.