Zaslat SMS: Energetics and percolation properties of hydrophobic nanoporous media