\title{State-of-the-art of software tools for modeling \newline x-ray optics and beamlines} %>>>> The author is responsible for formatting the % author list and their institutions. Use \skiplinehalf % to separate author list from addresses and between each address. % The correspondance between each author and his/her address can be % indicated with a superscript in italics, % which is easily obtained with \supit{}. \author{M. S\'anchez del R\'{\i}o \skiplinehalf European Synchrotron Radiation Facility \skipline BP 220, 38043 Grenoble-Cedex, France \hspace{0.5em} \skiplinehalf } %>>>> Further information about the authors other than their institution and addresses should be included as a footnote, which is facilitated by the \authorinfo{} command. \authorinfo{Other author information: (Email: srio@esrf.fr; Telephone: +33-476 882 513; Fax: +33-476 882 542} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \pagestyle{plain} %>>>> uncomment to obtain page numbers % \setcounter{page}{301} %>>>> uncomment to start numbering at page 301 \begin{document} \maketitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{abstract} Many software programs are available in the market for the design of optical instruments. However, most of them are not suitable for modeling x-ray optical elements. The simulation of the x-ray source characteristics (emission, geometry) strongly depends on the type of generator used (synchrotron insertion devices, FEL, x-ray tube, laser-generated plasma, etc.). The optical elements are usually grazing mirrors, multilayers and crystals, with very different characteristics than optical elements used in other photon ranges. In addition, the reflectivities of such optical devices must be calculated taking into account tabulated optical constants. In the last years we have developed a new approach for creating a common tool for x-ray optics and sources modeling, lumping together small programs from different origins and authors, adding an unified x-ray database and gluing all this in a user-friendly and powerful data manipulation environment. The result is the XOP code which is now used in many synchrotron facilities. In addition to the first level calculations available in XOP, we have incorporated an interface to the popular x-ray tracing code SHADOW that allows the simulation of the complete beamline and produces accurate values of beam sizes, divergences, flux and energy resolution. I will review the present state of XOP and the SHADOW Visual Interface. I will then present the plans for a new version in preparation. Then I will discuss new ideas and possible requirements for simulating the forthcoming x-ray optics for fourth generation x-ray sources. \end{abstract} %>>>> Please include a list of keywords right after the abstract \keywords{ x-ray optics, x-ray source emission, x-ray databases, modeling, ray-tracing, optimisation}