Designing a syphon for an irrigation system

How to design a syphon for an irrigation system. what are the basic requirements and what are the basic things to be consider???  If someone has a software a spreadsheet, can you kindly help me?