A method of radiotherapy treatment planning for creating a plan for delivery of radiation to a patient in at least one particle-based arc is proposed. The delivery time for the plan is reduced by including a penalty in the objective function, designed to limit the number of energy layers and/or the number of energy layer changes.