scieee AI-readable full text Open interactive document viewer

Validación del código PRIMO de simulación para radioterapia externa

Mercadal Cavaller, Borja

Abstract

Cancer is one of the leading causes of death around the world and the number of patients is expected to increase in the next years. Most of the cancer patients are treated with radiotherapy for at least a part of their treatment. The success of a radiation therapy treatment lies on its correct planning and the accurate prediction of dose distribution in the patient. These dose distributions are generated using treatment planning systems. Analytical algorithms are commonly used despite more accurate results can be achieved using Monte Carlo based algorithms due to the long calculation times required by them. In 2013 a new Monte Carlo based algorithm, PRIMO, was developed. In this program, based on PENELOPE, several variance reduction techniques have been included in order to speed up the calculations as well as a graphical user interface has been designed to make it user friendly. This work will help to validate the simulation code PRIMO. The validation of a treatment planning algorithm involves many different tests, among them, a basic validation of computed doses compared to measurements in water, as well as the verification of its dosimetric accuracy in complex situations. The aim of this work is to investigate the performance of the PRIMO code, in particular to study its dosimetric accuracy in complex situations such as the presence of materials different than water (lung and bone) and when computing the dose within the first millimeters of the patient. This aim was translated into a set of computational experiments performed on simple geometrical phantoms as well as on computerized tomography images. Results showed that the algorithm allows to obtain accurate results in water phantoms, as well as in regions susceptible to errors like the build up region and regions with material heterogeneities.

Full text

EB Projecte Final d’Estudis MÀSTER EN ENGINYERIA BIOMÈDICA Validation of the simulation code PRIMO for external radiotherapy Barcelona, Setembre de 2014 Autor: Borja Mercadal Cavaller Directora: Dra. María Amor Duch Realitzat a: INTE (UPC ) EB Validation of the simulation code PRIMO i Summary Cancer is one of the leading causes of death around the world and the number of patients is expected to increase in the next years. Most of the cancer patients are treated with radiotherapy for at least a part of their treatment. The success of a radiation therapy treatment lies on its correct planification and the accurate prediction of dose distribution in the patient. These dose distributions are generated using treatment planning systems. Analytical algorithms are commonly used despite more accurate results can be achieved using Monte Carlo based algorithms due to the long calculation times required by them. In 2013 a new Monte Carlo based algorithm, PRIMO, was developed. In this program, based on PENELOPE, several variance reduction techniques have been included in order to speed up the calculations as well as a graphical user interface has been designed to make it user friendly. This work will help to validate the simulation code PRIMO. The validation of a treatment planning algorithm involves many different tests, among them, a basic validation of computed doses compared to measurements in water, as well as the verification of its dosimetric accuracy in complex situations. The aim of this work is to investigate the performance of the PRIMO code, in particular to study its dosimetric accuracy in complex situations such as the presence of materials different than water (lung and bone) and when computing the dose within the first millimeters of the patient. This aim was translated into a set of computational experiments performed on simple geometrical phantoms as well as on computerized tomography ii Borja Mercadal Cavaller images. Results showed that the algorithm allows to obtain accurate results in water phantoms, as well as in regions susceptible to errors like the build up region and regions with material heterogeneities. Validation of the simulation code PRIMO iii Contents Contents iii 1 Introduction 1 2 Background 3 2.1 Radiotherapybasis ............................... 3 2.1.1 Megavoltage (MV) photon beams . . . . . . . . . . . . . . . . . . . 4 2.2 RTtreatmentplanning............................. 6 2.3 Uncertainties in RT treatment planning . . . . . . . . . . . . . . . . . . . . 8 2.3.1 Evaluation of differences between measurements and dose calculations 8 3 Aim and main tasks 11 4 Materials and Methods 13 4.1 PRIMO ..................................... 13 4.1.1 Simulation setup in PRIMO . . . . . . . . . . . . . . . . . . . . . . 14 4.1.2 Computational tools . . . . . . . . . . . . . . . . . . . . . . . . . . 16 iv Borja Mercadal Cavaller 4.2 Experimental measurements . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2.1 Radiation dosimeters . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2.2 Dose in water phantoms . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2.3 Dose in the build-up region . . . . . . . . . . . . . . . . . . . . . . 19 4.2.4 Heterogeneous phantoms . . . . . . . . . . . . . . . . . . . . . . . . 20 4.2.5 Effective point of measurement . . . . . . . . . . . . . . . . . . . . 22 4.2.6 Dose in medium/dose in water . . . . . . . . . . . . . . . . . . . . . 22 4.3 Dosimetric assessment of PRIMO . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.1 Dose in water phantoms . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3.2 Dose in the build-up region . . . . . . . . . . . . . . . . . . . . . . 25 4.3.3 Dose in heterogeneous phantoms . . . . . . . . . . . . . . . . . . . 26 5 Results 29 5.1 Dose in water phantoms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.1.1 Verification of the electron beam parameters . . . . . . . . . . . . . 29 5.1.2 Evaluation of dosimetric accuracy . . . . . . . . . . . . . . . . . . . 30 5.2 Dose in the build-up region . . . . . . . . . . . . . . . . . . . . . . . . . . 36 5.3 Heterogeneous phantoms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 5.3.1 Simulations with parameters by default . . . . . . . . . . . . . . . . 39 5.3.2 Simulations with CT parameters adjusted . . . . . . . . . . . . . . 41 5.3.3 Simulations with geometrical phantoms . . . . . . . . . . . . . . . . 49 Validation of the simulation code PRIMO v 5.3.4 Conclusions on the performance of the algorithm in the presence of heterogeneities ............................. 52 6 Conclusions 55 Bibliography 57 A Variance-reduction techniques 61 vi Borja Mercadal Cavaller Validation of the simulation code PRIMO 1 Chapter 1 Introduction Cancer is a generic term for a large group of diseases that can affect any part of the body. Other terms used are malignant tumours and neoplasms. One defining feature of cancer is the rapid creation of abnormal cells that grow beyond their usual boundaries, and which can then invade adjoining parts of the body and spread to other organs. This process is referred to as metastasis. Metastases are the major cause of death from cancer. Cancer is a leading cause of death worldwide, accounting for 8.2 million deaths in 2012 and it is expected that annual cancer cases will rise from 14 million in 2012 to 22 within the next two decades [1]. Cancer treatment requires a careful selection of one or more intervention. Surgery, radiation therapy and chemotherapy are the standard methods of cancer treatment and the goal is to cure the disease or considerably prolong life while improving the patient’s quality of life. At present over half of the cancer patients who are cured benefit from radiation therapy and, in industrialized countries, about 70% of cancer patients are referred to a radiation therapy department for at least part of the treatment. The majority is treated with ‘conventional’ photon beam therapy, which for that reason remains the reference radiation treatment modality[2]. A radiation therapy treatment requires a previous planning to generate beam shapes and dose distributions with the aim of maximizing the dose in the tumor region and at the 8 Borja Mercadal Cavaller 2.3 Uncertainties in RT treatment planning Some studies indicate that at least a 7% difference in dose delivered is manifested in the patient’s response to radiation treatment and is detectable clinically by a radiation oncologist [7]. These differences can lead either to a decrease of the TCP, due to an underdosage of the target volume, or an increase in the NTCP, due to an overdosage of healthy tissues or organs at risk. Moreover, several studies have shown that 5% changes in dose can result in 10 −20% changes in TCP, or up to 20 −30% changes in NTCP. According to the ICRU, the overall uncertainty in the delivered dose to the patient should not be greater than 5% [8]. Yet previous to the statement of a dose accuracy goal for a RT planification algorithm, it must be taken into account the uncertainties associated to the dose delivered to patient due to all the steps within the dose determination process. Table 2.1 summarizes the estimates from the different sources of error during a complete treatment procedure [7]. Note that nowadays an uncertainty associated to the dose calculation algorithm of 2% or above suppose an overall uncertainty of about 5% or larger. 2.3.1 Evaluation of differences between measurements and dose calculations When differences between dose calculations and experimental measurements are evaluated, one cannot make simple statements about criteria of acceptability. For instance in regions with low dose gradient it is sufficient to evaluate the dose deviation independently of the spatial consideration while for high dose gradient areas differences on dose may be very large and sensitive to geometric uncertainties. Thus for these regions a better approach is to quantify dose differences as distance to agreement [9]. For this reason it is also commonly used the gamma analysis. Otherwise,when comparing dose profiles is commonly used the beam penumbrae, which is defined as the distance between 80% and 20% of the center axis dose. Validation of the simulation code PRIMO 9 Source of uncertainties Uncertainty at Present (%) Uncertainty in Future (%) Dose at the calibration point in water 2.5 1.0 Additional uncertainty for other points 0.6 0.3 Beam monitor stability 1.0 0.5 Beam flatness 1.5 0.5 Patient data 1.5 1.0 Patient set up and organ motion 2.5 2.0 Overall (excluding dose calculation) 4.3 2.5 Dose calculation algorithm (multiple levels) 1.0/2.0/3.0/5.0 1.0/2.0/3.0 TOTAL 4.4/4.7/5.2/5.6 2.7/3.2/3.9 Table 2.1: Estimates of dose uncertainties from the different error sources in absolute dose in the patient for the complete treatment procedure using megavoltage photons. Present values and a prediction of future values. (From AAPM REPORT NO. 85 [7]) The gamma factor, or gamma evaluation method, was first introduced by Low et al.in 1998 [10]. The object of this method is to combine the dose-difference criterion and the distance-to-agreement (DTA) criterion when comparing two distributions. The method consists on a comparison in the four dimensional dose-position vector space. the points to be compared are (rc, Dc) and (rm, Dm) being rthe 3-dimensional space coordinate and Dthe dose at each point. For all points (rc, Dc) the difference between measured an calculated dose ∆d(i) = Dm(i)−Dcis determined, as well as the distance between the points ∆s(i) = rm(i)−rc. The Γ value is found then by scaling with the dose difference and DTA tolerances ∆D and ∆S. Γ(i) = s∆d(i) ∆D2 +∆s(i) ∆S2 (2.1) And finally the γindex is evaluated as γ=min [Γ(i)] (2.2) All points with γ < 1 are within the acceptance criteria. 10 Borja Mercadal Cavaller Region Homogeneous, simple geometry Complex geometry (wedge, inhomogeneity asymmetry, blocks, MLC) More complex geometries Central beam axis datahigh dose, low dose gradient 2 % 3 % 4 % Build up region of central axis beam, penumbrae region of the profiles-high dose, high dose gradient 2 mm or 10 % 3 mm or 15 % 3 mm or 15 % Outside central beam axis regionhigh dose, low dose gradient 3% 3 % 4 % Outside beam edgeslow dose, low dose gradient 30 % (3 %) 40 % (4 %) 50 % (5 %) Radiological widthhigh dose, high dose gradient 2 mm or 1 % 2 mm or 1% 2 mm or 1 % Beam fringehigh dose, high dose gradient 2 mm 3 mm 3 mm Table 2.2: Tolerances for the dose deviations and distance to agreement for different regions in a photon beam.From [9] In this work the obtained results will be evaluated by either the gamma test, the comparison of beam penumbrae or dose deviations. Some tables of tolerances or expectations have been presented. An example of a criterion for acceptability based on different tolerances for different regions is presented in table 2.2, from the European Society for Radiotherapy and Oncology (ESTRO)[9]. Although a given tolerance may be assigned to each point value comparisons, the acceptance criteria has to be not based on the strict compliment of that tolerance at each point. A more suitable way to compare calculations and measurements is to analyze the deviations statistically. Validation of the simulation code PRIMO 11 Chapter 3 Aim and main tasks The aim of this work is to investigate the performance of the MC based code PRIMO for external radiotherapy in terms of dosimetric accuracy. Specifically a dosimetric accuracy assessment has been performed for a Varian Clinac 2100 C/D (Varian, Palo Alto, CA) linac in photon mode. This has been done by benchmarking the results obtained in simulations with experimental measurements obtained in a clinical environment. The process focused in three main tasks: •Dose in water phantoms. First a fundamental validation of the code and the main basic simulation parameters has been done. Then the dosimetric accuracy of the code has been tested in water phantoms for different beam energies and field sizes. •Dose in the build-up region. Dose calculation in the build-up region is inherently difficult for any algorithm. Therefore special attention has been addressed to this zone and different beam energies have been simulated. •Dose in heterogeneous phantoms. Dose calculations in phantoms with lung and bone heterogeneities have been studied for different field sizes. Validation of the simulation code PRIMO 13 Chapter 4 Materials and Methods 4.1 PRIMO PRIMO is a computer software, recently developed (2013), that simulates clinical linear accelerators (linacs) and estimates absorbed dose distributions in water phantoms and computerized tomographies (CT). It combines a graphical user interface and a computation engine based on the MC code PENELOPE [11][12]. PENELOPE is a MC based code that allows the simulation of the electron-photon transport within a wide range of materials between energies from few hundred eV to GeV in complex geometries. MC method applied to the simulation of radiation transport in radiotherapy treatments provide accurate results. General purpose MC codes present two main limitations for the implementation in clinical routine: long simulation times are required to reduce statistical uncertainty to acceptable levels, and these codes also entail a difficulty and effort preparing, executing and analyzing a simulation. Simulation of a medical linac and computation of the absorbed dose distribution in patients require coding the linac geometry, which is a tedious and error-prone task. PRIMO generates the necessary input files for simulating a variety of Varian and Electa linacs with the MC code PENELOPE and computes dose distributions in water phantoms and CTs[13]. 14 Borja Mercadal Cavaller In order to increase the simulation speed, the authors developed a set of variancereduction techniques (see appendix A). All these features and functionalities are combined in PRIMO under a friendly graphical user interface, which includes various tools for analyzing and representing generated data. 4.1.1 Simulation setup in PRIMO Once a simulation project is started, in first place PRIMO allows to choose between the different linac models implemented and two operation modes (electron or photon). The whole simulation is divided in three segments s1, s2 and s3 that have to be simulated in sequential order, however they can be grouped. This means they can be simulated individually (s1,s2,s3), grouped in a single simulation (s1+s2+s3) or in smaller groups for example simulating s1+s2 first and then s3. After each simulation a phase-space file (PSF), a file containing information of each one of the particles in the simulation (type of particle, energy, position and direction), is generated. This means that when only segment s1 is simulated, a PSF containing all the particles that have reached the downstream end of the upper part of the linac is obtained as a result. The segment s1 corresponds to the upper part of the linac (target, flattening filter, primary and secondary collimators and ionization chamber). Before the simulation of this segment the nominal energy of the beam has to be selected, furthermore some beam parameters can be tuned. These parameters are: initial electron energy, energy at full width half maximum (FWHM) and FWHM of the focal spot size (the last two parameters assume a Gaussian distribution for the energy and for the radial distribution of the electrons). According to the authors the default beam parameters that are suggested in the program for each nominal energy have been tuned for Varian linacs to reproduce experimental results. Segment s2 simulates the movable collimators (jaws) and the multileaf collimator. When simulating this segment the program allows to define the field size and position as well as gantry, collimator and couch angles, and isocenter position. Multileaf collimators or electron applicators can also be selected in this segment. Validation of the simulation code PRIMO 15 Segment s3 is the part dedicated to the dose estimation. There are two geometry models available for dose calculation in PRIMO, namely, an homogeneous water phantom and a CT volume. When simulation is done using a water phantom, the program allows to choose the size of this phantom and the bin size in the different directions x, y and z. Otherwise, when working with a CT, a CT volume (as a set of DICOM images) must be imported. Once the images are imported each slice is converted to a size of 256 x 256 pixels and the CT volume is used to generate a voxelized simulation geometry. This geometry consists of a set of material and mass density value pairs. The volume segmentation is done by assigning a material to a CT number or Hounsfield units (HU) interval. PRIMO allows to include up to 10 different materials from a list of 40 and change the CT number interval for each material included. As well as assigning a material, a density must be attributed to each voxel too. This is done by using a CT scanner calibration curve, a curve that associates each HU to a density. A default curve is provided with PRIMO, but it is possible to edit the default curve and create a custom one. As already mentioned PRIMO has several variance-reduction techniques implemented to increase the speed of the simulations (See appendix A). During the simulation setup some of these techniques can be adjusted: when simulating linac parts (s1 and s2), one can choose between using either splitting roulette, rotational splitting or no splitting in this segments. According to the authors, for nominal energies below 15 MV in photon mode it is recommended to use splitting roulette, while for nominal energies above 15 MV rotational splitting is usually more efficient. Otherwise when simulating the phantom or CT segment (s3) one may apply a splitting factor. In this case authors suggest to use a factor of 100. Other variance-reduction techniques included in PRIMO have been previously tuned up by the authors and the program does not allow the user to make any change on them. 16 Borja Mercadal Cavaller 4.1.2 Computational tools The code have been tested by the authors using a computer with a 64 bits processor, with a 64 bits Windows as operating system. They recommend 1 GB RAM per computing core. PRIMO can distribute the simulation among several cores up to 24. This means the more cores the computer have the more the simulation times are decreased. In this work two different computers have been used: •64 bits processor Intel R CoreT M 2 duo E8500 at 3.16 GHz, 4 GB RAM and a 64 bits Windows 7 as operative system. •32 bits processor Intel R CoreT M i3-2100 at 3.10 GHz, 4GB RAM and a 32 bits Windows 7 as operative system. 4.2 Experimental measurements Experimental measurements used in this work have been taken from previous works [6]. In all cases detectors were calibrated to yield Dose in water (Dw) regardless of the media they were embedded in. Three different groups of experimental measurements were used in this work. 4.2.1 Radiation dosimeters Ionization chambers A ionization chamber (IC) consists of a gas-filled chamber with two electrodes (parallel planes or coaxial cilinders), a voltage potential is applied between the electrodes to create an electric field in the fill gas. When ionizing radiation interacts with the gas pairs of charges are created and the resultant positive ions and dissociated electrons move to the electrodes of the opposite polarity under the influence of the electric field. This movement Validation of the simulation code PRIMO 17 generates a current, which is measured by an electrometer. Different types of IC were used in this work: a 0.35 cm3Roos (PTW, Freiburg, Germany), a 0.016 cm3PinPoint 31016 (PTW, Freiburg, Germany) and a NACP 2 parallel plate (IBA dosimetry GmbH, Germany). All of them connected to a PTW-Unidos electrometer. Diode dosimeters Radiation produces electron-hole pairs in the body of a p-n junction diode. The charges produced in the body of the dosimeter, within the diffusion length, diffuse into the depleted region. They are swept across the depletion region under the action of the electric field due to the intrinsic potential. In this way a current is generated in the reverse direction in the diode which is measured by an electrometer. Diodes are particularly useful for measurement in phantoms, for example of small fields used in stereotactic radiosurgery or high dose gradient areas such as the penumbra region. Scanditronix PFD-3G diodes were used in this work to measure dose profiles. Thermoluminiscent dosimeters Thermoluminiscent materials once exposed to ionizing radiation retain part of the absorbed energy. This energy is subsequently released when the material is heated in form of photons in the ultraviolet spectrum. The emitted intensity of light is proportional to the absorbed dose. Two types of TLD were used in this work: 7LiF :Mg, Ti (TLD-700, Thermo Fisher Scientific Inc., Erlangen, Germany) and LiF :Cu, Mg, P (TLD-2000F, Conqueror Electronics Technology Co. Ltd., Beijing, China). Before each irradiation, standard annealing was carried out in a PTW-TLDO oven. For the TLD-2000F, the annealing consisted in 10 min at 240oC; for the TLD-700 detectors, the annealing consisted in 1h at 400oC followed by 2h at 100oC. Readout was carried out 24 Borja Mercadal Cavaller 4.3 Dosimetric assessment of PRIMO As mentioned in chapter 3, the dosimetric accuracy assessment of PRIMO was done in different stages, using water phantoms and CT images of heterogeneus phantoms. Since all experimental measurements were done using a Varian Clinac 2100 C/D linac in MV photon beam mode all the simulations were done using this model. 4.3.1 Dose in water phantoms The default parameters of the primary electron beam for Varian linacs have been tuned by the authors. However before starting with the dosimetric assesment of PRIMO a relatively short test was run to check the suitability of the suggested parameters. It consisted on simulations for two beam energies (6MV and 18MV), using different field sizes ranging from 2 ×2cm2to 20 ×20 cm2from a Varian Clinac 2100 C/D in photon mode. Calculations of dose in water phantoms were evaluated for a 50×50×50 cm3homoge- neous water phantom. Results and experimental measurements of the PDD curves were compared in terms of dose difference and distance to agreement. The gamma factor was also calculated. Since the aim of this test was to check the energetic parameters of the electron beam, dose profiles were not evaluated. Simulations were run in relatively short times, using the rotational splitting technique for the 18 MV beam and the splitting roulette for the 6 MV beam. To speed up the dose calculations, a splitting factor of 20 were used in the water phantom. Bin sizes used for the dose tallying in the phantom were 0.2 cm in z direction (beam direction) and 0.25-0.50 cm in x and y directions (perpendicular to the beam direction). Furthermore an average statistical uncertainty of 2% in dose tallying was required on each simulation. Once the suitability of the electron beam parameters had been checked, calculations of dose in water phantoms were evaluated for a 50×50×50 cm2homogeneous water phantom. Again, two beam energies (6MV and 18 MV) and several field sizes ranging from 2×2cm2 to 20×20 cm2from a Varian Clinac 2100 C/D in photon mode were simulated. Simulation Validation of the simulation code PRIMO 25 results and experimental measurements of PDD and profile percentage dose (PPD) were benchmarked in terms of dose difference and distance to agreement. Differences were also evaluated using the gamma analysis and differences in beam penumbrae were evaluated for experimental and simulated profiles. As in the first set of simulations, the rotational splitting technique was used for simulations with 18 MV beam and the splitting roulette for the 6 MV beam. A splitting factor of 100 was used when tallying the dose in the water phantom. Bin sizes in this case were 0.2 cm in z direction and 0.25 cm in x and y directions except in simulations with the smallest fields where 0.33 cm in z and 0.2 cm in x and y directions were used. The maximum number of bins is limited to 107in simulations with PRIMO. The maximum allowed number of bins is used in each simulations and different bin sizes are used to increase the number of bins that are traversed by the beam in the smallest fields and thus obtain a higher spatial resolution in results when evaluating dose profiles. The average statistical uncertainty required was set to 2% in dose tallying. 4.3.2 Dose in the build-up region The build-up region is characterized for a sharp dose gradient, for this reason dose calculation algorithms present the biggest discrepancies between experimental and calculated dose in this region. PRIMO does not allow to simulate geometrical phantoms with materials different than water, nevertheless the available measurements in this region are from a plastic waterTM phantom. Due to the sharp dose gradient, results in this region can be very sensitive to a little difference in the effective atomic number or density. Hence a Phase space file (PSF) generated at the at the downstream end of the lower part of the linac by PRIMO was used to tally the dose in a plastic water phantom using the MC code Penelope with penEasy as the main program. To have an adequate spatial resolution, a bin size of 0.02 mm was used in the first milimeter and 0.1mm in the rest of the phantom. In lateral dimensions the bin size used was 1 cm. Results obtained were evaluated in terms of dose difference and distance to agreement against experimental measurements from an extrapolation chamber and were also 26 Borja Mercadal Cavaller compared against the results obtained using various dosimeters. The extrapolation chamber was taken as the gold standard. Nevertheless, an extrapolation chamber is not commonly available moreover measurements with an extrapolation chamber are tedious. For this reason Results have been compared to other detectors with the purpose of analyze if those detectors are suitable to validate the code and if so in which depth ranges can be used. 4.3.3 Dose in heterogeneous phantoms The geometry of the two experimental setups showed in section 4.2.4 was introduced to the program through CT images of the phantoms. Images were generated on an Optima CT580RT CT scanner (General Electric Healthcare, Fairfield,CT). When simulating with CT images, several potential sources of error play an important role: discrepancy associated to the CT calibration curve, discrepancies associated to the material assignment, discrepancies due to the artifacts arisen from the image acquisition; and, as well as in every simulation, discrepancies associated to the MC algorithm (PSF generation, dose calculation algorithm...) First, simulations of a 10 ×10 cm2field were run for both geometries. In these simulations the CT calibration curve and the HU to material assignation by default (see figure 4.3)were used. The aim was to analyze the results that would obtain someone without any knowledge of the program only running the simulation with the parameters by default. After these simulations the CT calibration curve was adjusted to the used CT scanner. Besides only materials present in the geometry were used in the HU to material assignation. MS20 muscle and cartilage (ICRP) were the materials chosen for the density range of the RW3 slab phantom because these materials are those with an effective atomic number most similar than the water among the available materials. Figures 4.4 and 4.5 show the CT calibration curve and the HU to material assigned on each simulation respectively. Various fields between 2x2cm2and 10x10cm2were simulated for each geometry. Validation of the simulation code PRIMO 27 Figure 4.3: HU to materials assignation (left) and CT calibration curve (right) used in the first set of simulations. Figure 4.4: CT calibration curve given of the CT scanner used to acquire the images. Figure 4.5: HU to materials assignation used for the bone equivalent heterogeneity phantom(left) and for the lung equivalent heterogeneity phantom (right) in the second set of simulations. 28 Borja Mercadal Cavaller When calculating the PDD, the normalization is referred to the maximum which is in all cases in the first region of the phantom. Thus a correct density and material assignment in this region is critical because the dose calculated in the maximum affects the whole curve. For this reason a simulation of a 5x5cm2was run for the bone-equivalent heterogeneity replacing the MS20 muscle and the cartilage for water in the material list. The aim was to see the effect of the material assignment in this region on the PDD curve. In all simulations with PRIMO the splitting roulette technique was used, a splitting factor in CT of 100 was set and a statistical uncertainty of 2% was required. Finally, to analyze the effects of the artifacts generated by the CT image acquisition, the two studied phantoms were also simulated with PENELOPE but in a non-voxelized geometry, modelling the phantom materials according to the atomic composition specified by the manufacturer instead of using the CT material assignment. Using the PSFs generated at the end of the linac by PRIMO in the previous simulations the dose was tallied in these geometrical phantoms. Calculations were done using PENELOPE with PenEasy[18] as the main program. In order to perform a meaningful comparison the bin size used in this calculations was the same as the voxel size of the CT images. Validation of the simulation code PRIMO 29 Chapter 5 Results 5.1 Dose in water phantoms 5.1.1 Verification of the electron beam parameters Results obtained in the initial simulations, conducted to check the suitability of the parameters proposed by PRIMO, were in good agreement with experimental results. Discrepancies were below 2% along the PDD curves except in the first centimeter. In this region higher differences are expected due to the high dose gradient and we have seen in section 2.3 that discrepancies of about 10% are acceptable in this region. Table 5.1 shows the results of the gamma test and the discrepancies at the maximum of the curve in terms of distance to agreement and dose difference. The percentage of points passing the gamma test is above 99% in all cases except for the 6 MV and 20 ×20 cm2 beam. Dose differences at the maximum of the curve are below 1% and the distance to agreement in this point is 2 mm or below in all cases also with the exception of the 18 MV and 20 ×20 cm2beam where distance is 4 mm. Nevertheless dose difference in this case is also below 1%. Simulations with wide fields (20 ×20 cm2) require a larger number of histories than smaller fields in order reduce the statistical uncertainty at the same level. Thus we see the 30 Borja Mercadal Cavaller higher discrepancies in that cases. However the aim of this first set of simulations was only to check the suitability of the energetic beam parameters before starting the validation of the code. Therefore it was not considered the need to repeat this simulations with a larger number of histories. The conclusion of this first stage was that the energetic beam parameters were properly tuned up to begin the dosimetric assessment. field size (cm2) percentage of points passing the gamma criteria (%) distance between maximums (mm) difference at maximum (%) 6 MV 2x2 99.33 0 0.0 5x5 99.32 0 0.0 10x10 99.66 1 0.34 20x20 91.64 0 0.0 18 MV 3x3 99.32 2 0.19 6x6 99.32 2 0.07 10x10 99.32 2 0.27 20x20 99.32 4 0.61 Table 5.1: Results obtained in water phantoms for parameter default values and short calculation times. 5.1.2 Evaluation of dosimetric accuracy PDD curves obtained for 6 and 18 MV photon beams are shown in figures 5.1 and 5.2 respectively. Statistical uncertainties were below 0.5% along the PDD curves in all cases and uncertainties in measurements were below 1%. Discrepancies are below 2% in all cases except in the build up region where dose differences above 10% are only found in the surface of the phantom. It is worth to remind that experimental results in this zone are difficult and their discrepancies might be attributable to the used detector (see next section). Table 5.2 presents the results of the gamma test as well as the deviations in the dose maximum (dose difference and distance to agreement). The percentage of points passing the gamma test is 99% or higher in all cases. Validation of the simulation code PRIMO 31 Figure 5.1: PDD curves obtained for 6 MV photon beam using different field sizes in a water phantom. Figure 5.2: PDD curves obtained for 18 MV photon beam using different field sizes in a water phantom. 32 Borja Mercadal Cavaller field size (cm2) percentage of points passing the gamma criteria (%) distance between maximums (mm) difference at maximum (%) 6 MV 2x2 99.0 1 0.03 5x5 99.32 3 0.04 10x10 99.66 1 0.34 20x20 99.67 4 0.88 18 MV 3x3 99.32 2 0.71 6x6 99.32 2 0.34 10x10 99.32 4 0.97 20x20 99.32 2 0.29 Table 5.2: Results obtained Dose profiles are depicted in figures 5.3 and 5.4 for the 6 and 18 MV photon beams respectively. Statistical uncertainties in simulation results were below 1% in all cases and uncertainty in experimental measurements were below 0.5%. Simulations results are in good agreement with experimental measurements in most cases taking into account the large bin size used in the simulations due to the limitation on the number of bins. Largest discrepancies are found in the smallest field sizes. In these cases , despite the maximum number of bins allowed in a simulation has been used, the amount of bins inside the central beam region is still very small. A comparison of the beam penumbraes in the simulated and measured profiles is shown in table 5.3. Simulations and measurements are in good agreement for the 18 MV beams while differences of 3 and 4 millimeters are found in simulations with 6 MV beams. Nonetheless the focus in this work was on the PDD curves and a smaller bin size as well as a larger number of histories simulated would be necessary to properly evaluate the performance of the code in the case of dose profiles. The elapsed times for each simulation are listed in table 5.4. In this set of simulations the two different computers available have been used. The number of histories simulated is about 108in all beam configurations. Time required to compute each segment of the simulation is presented separately. Note that in some cases segments S1 and S2 have been calculated together which resulted to be more expensive in computational time than Validation of the simulation code PRIMO 33 Figure 5.3: Dose profiles obtained for 6 MV photon beam using different field sizes in a water phantom. Figure 5.4: Dose profiles obtained for 18 MV photon beam using different field sizes in a water phantom. 40 Borja Mercadal Cavaller allow to generate accurate results in zones adjacent to a material change. Results obtained for the lung-equivalent heterogeneity also present large discrepancies in the build up zone however difference is within the tolerance margins. In this case results in the heterogeneity show a better agreement with experimental results, dose differences are below 4% in all cases. For the region underneath the heterogeneity we found discrepancies around 4% which is the maximum dose difference that can be accepted. It can be observed that the PDD curve in the region of the lung-equivalent heterogeneity presents several abrupt changes in dose. This is due to the material assignment that causes the program to identify a large number of voxels in this region as air instead of lung tissue. Figure 5.10: PDD’s obtained for 6 MV and 10x10 cm2photon beam using the calibration curve and material assignment by default in PRIMO for the bone phantom. Validation of the simulation code PRIMO 41 Figure 5.11: PDD’s obtained for 6 MV and 10x10 cm2photon beam using the calibration curve and material assignment by default in PRIMO for the lung phantom. 5.3.2 Simulations with CT parameters adjusted After adjusting the CT calibration curve and the material assignment different field sizes have been simulated for both experimental setups. Figures 5.12, 5.13 and 5.14 show the results obtained for the lung-equivalent phantom. Results in bone equivalent phantom are shown in figures 5.15 and 5.16. For the lung-equivalent heterogeneity phantom, simulation results obtained with 2x2 cm2and 10x10 cm2fields show a reasonable agreement with the experimental results. A part from the build-up region, differences over 4% in dose are also found in a few specific points. For the 2x2cm2field we find a point with a dose difference over 5% in the boundary between the two medias where the curve presents a high dose gradient as well as the fact that the voxel size does not allow the program to generate accurate results in zones adjacent to a material change. In the simulation results with the 10x10 cm2 42 Borja Mercadal Cavaller we observe a few points in the region underneath the heterogeneity with dose difference slightly greater than 4%. On the other hand simulation results for the 5x5cm2field show larger discrepancies in the heterogeneity region where differences are over 5% in most of the points. Results in the rest of the phantom are in good agreement with experimental measurements except for a few points in the region underneath the heterogeneity where we find discrepancies over 4%. Figure 5.12: PDD curves on the slab phantom with the lung-equivalent heterogeneity using a 2 ×2cm2field size. Results obtained in the bone-equivalent phantom with the 5x5cm2field present dose discrepancies between the tolerance levels except in the heterogeneity region where we find differences over 5%. For the 10x10 cm2field we find dose differences over 4% in all points of the heterogeneity region and the region underneath the heterogeneity. Largest discrepancies are found in the boundary between the bone-equivalent region and the region underneath. Dose profiles obtained inside the heterogeneous region for the bone-equivalent heterogeneity phantom and the lung-equivalent heterogeneity phantom are depicted in figures Validation of the simulation code PRIMO 43 Figure 5.13: PDD curves on the slab phantom with the lung-equivalent heterogeneity using a 5 ×5cm2field size. Figure 5.14: PDD curves on the slab phantom with the lung-equivalent heterogeneity using a 10 ×10 cm2field size. 5.17 and 5.18 respectively. In both setups we observe a tendency of the algorithm to widen the dose profile. Nevertheless one must take into account two main reasons that 44 Borja Mercadal Cavaller Figure 5.15: PDD curves on the slab phantom with the bone-equivalent heterogeneity using a 5 ×5cm2field size. Figure 5.16: PDD curves on the slab phantom with the bone-equivalent heterogeneity using a 10 ×10 cm2field size. make difficult to obtain accurate dose profiles in this conditions. First the voxel size which is given by the CT image causes the profile to be represented with a short amount Validation of the simulation code PRIMO 45 of voxels in the central beam axis region. In addition discrepancy sources associated to the fact that dose is calculated in a CT image instead of in a geometrical phantom take a relevant role ( artifacts generated in the CT image acquisition and errors generated in the subsequent identification of each voxel by the algorithm from the image). Figure 5.17: Dose profiles in the slab phantom with the bone-equivalent heterogeneity. Experimental and simulated beam penumbraes are shown in table 5.5. In the lungequivalent heterogeneity phantom the differences are about 2 millimeters for all field sizes while in the bone-equivalent heterogeneity phantom discrepancies are of 3 millimeters and above. Lung Bone Field size EBT PRIMO EBT PRIMO 2×2cm27.6 9.7 3.1 7.1 5×5cm510.7 12.7 - - 10 ×10 cm212.6 14.2 4.3 7.8 Table 5.5: Beam penumbrae (in mm) for the different simulations and measured with EBT radiochromic films Table 5.6 show the simulation times elapsed for each case in this set of simulations. In this case all simulations were run using the two core Intel R CoreT M 2 duo processor. Figures 5.19 and 5.20 show the PDD curves obtained when simulating a 5×5cm2field 46 Borja Mercadal Cavaller Figure 5.18: Dose profiles in the slab phantom with the lung-equivalent heterogeneity. Field size histories S1 S2 S3 2×2cm21.25 ·108Bone 22.7 1 5.8 Lung 3.1 5×5cm21.25 ·108Bone 21.4 1.5 30.3 Lung 18.4 10 ×10 cm22.25 ·108Bone 63.9 115.5 Lung 77.5 Table 5.6: Elapsed times in hours in the simulation of the different segments. in the studied setups using water instead of muscle and cartilage in the material list. In the heterogeneous region we observe a better agreement with experimental results than in previous simulations for both setups. Otherwise in the rest of phantom, results are similar to those in previous simulations. In this case dose differences are below 4% along the entire Validation of the simulation code PRIMO 47 curve except for the build up region in both configurations. Average discrepancies are 0.6% lower compared to those in previous simulations. Figure 5.21 show the dose profile obtained in the lung region. Results are similar than the previous simulation. Figure 5.19: PDD curves obtained for the 5 ×5cm2field in the bone-equivalent heterogeneity phantom using water instead of muscle and cartilage in the material list. 48 Borja Mercadal Cavaller Figure 5.20: PDD curves obtained for the 5 ×5cm2field in the lung-equivalent heterogeneity phantom using water instead of muscle and cartilage in the material list. Figure 5.21: Dose profile obtained in the slab phantom with the lung-equivalent heterogeneity with a 5 ×5cm2field and replacing the muscle and cartilage of the material list by water. Validation of the simulation code PRIMO 49 5.3.3 Simulations with geometrical phantoms PDD curves obtained when modelling geometrical phantoms are shown in figures 5.22, 5.23 and 5.24 for the lung heterogeneity. PDD curves in the bone heterogeneity phantom are presented in figures 5.25 and 5.26. Results have been compared with those obtained with CT images as well as the experimental measurements. Results obtained with the geometrical phantoms are in better agreement along the whole PDD curve. Dose calculations in the region underneath the heterogeneity are clearly more accurate with the geometrical phantom on every one of the configurations. Dose differences between experimental measurements and results obtained with geometrical phantoms lower than 4% throughout the PDD curves except in the lung region for the 2 ×2cm2field. Figure 5.22: PDD curve in the slab phantom with the lung-equivalent heterogeneity using a 2 ×2cm2field size. Figures 5.27 and 5.28 show the dose profiles obtained inside the heterogeneous region. Again results obtained in this case are in better agreement than the results obtained with CT images and they are reasonably accurate except for the 2×2cm2field inside the bone region. Table 5.3.3 show the experimental and simulated lateral penumbraes. Discrepancies Validation of the simulation code PRIMO 57 Bibliography [1] World Health Organization (WHO). Globocan. Technical report, Tech. Rep. (Intenternational Agency for Research on Cancer (IARC)), 2012. [2] International Atomic Energy Agency. Relative biological efectiveness in ion beam therapy. Technical Report 46, IAEA, Viena, 2008. [3] Arthur J Olch, Lee Gerig, Heng Li, Ivaylo Mihaylov, and Andrew Morgan. Dosimetric effects caused by couch tops and immobilization devices: report of AAPM Task Group 176. Medical physics, 41(6):061501, June 2014. [4] Antonella Fogliata, Eugenio Vannetti, Dirk Albers, Carsten Brink, Alessandro Clivio, Tommy Kn¨o¨os, Giorgia Nicolini, and Luca Cozzi. On the dosimetric behaviour of photon dose calculation algorithms in the presence of simple geometric heterogeneities: comparison with Monte Carlo calculations. Physics in medicine and biology, 52(5):1363–1385, 2007. [5] Indrin J. Chetty, Bruce Curran, Joanna E. Cygler, John J. DeMarco, Gary Ezzell, Bruce a. Faddegon, Iwan Kawrakow, Paul J. Keall, Helen Liu, C.-M. Charlie Ma, D. W. O. Rogers, Jan Seuntjens, Daryoush Sheikh-Bagheri, and Jeffrey V. Siebers. Report of the AAPM Task Group No. 105: Issues associated with clinical implementation of Monte Carlo-based photon and electron external beam treatment planning. Medical Physics, 34(12):4818, 2007. [6] Marta Bueno Vizcarra. Absorbed dose assessment in the presence of tissue heterogeneities in external radiotherapy. PhD thesis, UPC, 2013. 58 Borja Mercadal Cavaller [7] N Papanikolaou, JJ Battista, and AL Boyer. Tissue inhomogeneity corrections for megavoltage photon beams. AAPM Task Group, (85), 2004. [8] International Commission on Radiation Units (ICRU). Determination of absorbed dose in a patient irradiated by beams of X or gamma rays in radiotherapy procedures. Technical report, Bethesda, 1976. [9] Ben Mijnheer, Olszewska Agnieszka, Claudio Fiorino, Tommy Kn¨o¨os, Jean-Claude Rosenwald, and Hans Welleweerd. QUALITY ASSURANCE OF TREATMENT PLANNING SYSTEMS NON-IMRT PHOTON BEAMS QUALITY ASSURANCE OF TREATMENT PLANNING SYSTEMS PRACTICAL EXAMPLES FOR NONIMRT PHOTON BEAMS. [10] D a Low, W B Harms, S Mutic, and J a Purdy. A technique for the quantitative evaluation of dose distributions. Medical physics, 25(5):656–61, May 1998. [11] J. M. Fern´andez-Varea F. Salvat and J. Sempau. PENELOPE-2011 : A Code System for Monte Carlo Simulation of Electron and Photon Transport. Number July. Issy-les- Moulineaux, France, 2011. [12] J Baro and J Sempau. PENELOPE: an algorithm for Monte Carlo simulation of the penetration and energy loss of electrons and positrons in matter. Nuclear Instruments and Methods in Physics Research, (95), 1995. [13] M Rodriguez, J Sempau, and L Brualla. PRIMO: a graphical environment for the Monte Carlo simulation of Varian and Elekta linacs. Strahlentherapie und Onkologie : Organ der Deutschen R¨ontgengesellschaft ... [et al], 189(10):881–6, October 2013. [14] Raul Camats Dom´ınguez. Medida de la dosis en piel en radioterapia externa mediante dos´ımetros TL ultrafinos. Proyecto final de master, UPC, 2014. [15] Hui Khee Looe, Dietrich Harder, and Bj¨orn Poppe. Experimental determination of the effective point of measurement for various detectors used in photon and electron beam dosimetry. Physics in Medicine and Biology, 56(14):4267, 2011. Validation of the simulation code PRIMO 59 [16] Jos´e M Fern´andez-Varea, Pablo Carrasco, Vanessa Panettieri, and Lorenzo Brualla. Monte Carlo based water/medium stopping-power ratios for various ICRP and ICRU tissues. Physics in medicine and biology, 52(21):6475–83, November 2007. [17] A E Nahum J V Siebers, P J Keall and R Mohan. Converting absorbed dose to medium to absorbed dose to water for Monte Carlo based photon beam dose calculations. Physics in medicine and biology, 983(45):983–995, 2000. [18] Josep Sempau and Andreu Badal. PenEasy, aa modular main program and voxelized geometry package (v.2008-06-15). 2005. [19] L Brualla, F Salvat, and R Palanco-Zamora. Efficient Monte Carlo simulation of multileaf collimators using geometry-related variance-reduction techniques. Physics in medicine and biology, 54(13):4131–49, July 2009. [20] L. Brualla and W. Sauerwein. On the efficiency of azimuthal and rotational splitting for Monte Carlo simulation of clinical linear accelerators. Radiation Physics and Chemistry, 79(9):929–932, September 2010. [21] M Rodriguez, J Sempau, and L Brualla. A combined approach of variance-reduction techniques for the efficient Monte Carlo simulation of linacs. Physics in medicine and biology, 57(10):3013–24, May 2012. [22] Josep Sempau, Andreu Badal, and Lorenzo Brualla. A PENELOPE-based system for the automated Monte Carlo simulation of clinacs and voxelized geometriesapplication to far-from-axis fields. Medical physics, 38(11):5887–95, November 2011. Validation of the simulation code PRIMO 61 Appendix A Variance-reduction techniques MC simulations of linacs is very inefficient, particularly the simulation of radiation transport in linac targets. In these structures, electrons are transported through materials with high atomic number in order to produce bremsstrahlung photons. Furthermore, photons are emitted in all directions and only a fraction of them are directed at the bottom of the accelerator and are useful for dose calculations; the rest are absorbed in the linac head components or exit the geometry. Thus, the use of variance-reduction techniques is mandatory to reduce the simulation times to clinically acceptable values. A set of variance-reduction techniques are implemented in PRIMO [19, 20, 21, 22]. These techniques are briefly described below: •Interaction forcing: It consists in artificially increasing the interaction cross section of a certain interaction mechanism and material. To avoid a bias in the simulation results, the statistical weight of descendent particles produced in forced interactions is reduced. This technique is particularly useful and allows to obtain better statistics when simulating particles travelling through thin material layers or low density materials. •Range rejection: Charged particles that have travelled far away from the zone of interest and have a negligible chance of contributing to the tallied quantities are discarded to avoid loosing computation time while simulating them. 62 Borja Mercadal Cavaller •Russian roulette: Particles whose probability to contributing to the tallied quantities is low, or whose contribution to the tallied quantities will be low due to a low statistical weight are eliminated from the simulation with a probability K < 1. In order to keep the simulation unbiased, particles that survive have their weight increased by a factor 1/(1 −K). •Splitting: A particle with a large probability of contributing to the tallied quantities is split, this means that a particle, with statistical weight w0and in a certain state, is transformed in a number S > 1 of identical particles with weights w=w0/S in the same state. •Rotational splitting: It is applied to particles travelling through geometries with cylindrical symmetry when the primary source has also the same kind of symmetry. This is the case of Varian Clinacs from the primary source downstream to the ionisation chamber. It is a kind of splitting in which each split particle is rotated about the central beam axis an azimuthal angle. The particle direction cosines of each replica are transformed in order to keep the direction of the original particle relative to the central beam axis. •Splitting-roulette: In splitting-roulette, Russian roulette and splitting techniques are combined. When a particle tends to move away from the region of interest is subjected to Russian roulette and if it survives their descendants are split. •Movable skin: The movable-skin method consists of defining relevant zones of the geometry in which an accurate transport of radiation is performed, whereas in less relevant zones the transport of some particles is discontinued.