Primary siphon should be as low as possible in the external box. Use a screen/strainer and gate valve. Emergency should remain dry in all but emergencies, but you also want it to be able to handle all flow in the unlikely event the other two drains fail. I typically upsize the internal piping and have the top about 1 1/2" below the rim of the external box. Upsizing is probably only necessary on bigger systems. The secondary is the critical one. I use a U bend, plus strainer, with a small vent hole in the top. You want to have it low enough such that it engages before the emergency, and can convert to siphon as necessary, but not so low that water trickling sounds get loud or the primary sucks air.