Optimal trajectories for a liquid piston compressor/expander in a Compressed Air Energy Storage system with consideration of heat transfer and friction | IEEE Conference Publication | IEEE Xplore