Viability conditions for a compartmentalized proto-metabolic system: a semi-empirical approach