A computer-implemented method for setting parameters of a stratigraphic forward modelling program for modelling the formation of a sedimentary basin, wherein the stratigraphic forward modelling program is configured to simulate the superposition of successive layers of sediments, each layer of sediments corresponding to a determined period of time, the method comprising steps of: - receiving a facies log corresponding to an initial state of at least one well belonging to the sedimentary basin, wherein the facies log comprises a succession of layers of different facies wherein each layer extends from a respective depth with a respective thickness, - determining from the facies log a number of layers of sediments and a thickness of each layer of sediments to be simulated by the stratigraphic forward modelling program for modelling said facies log, comprising: ∘ determining, from the facies log, an average deposition rate of each facies of the facies log, expressed as an average thickness of deposited sedimentary elements during the period of time corresponding to each layer of sediments, and ∘ determining a number of layers of sediments to be simulated by the stratigraphic forward modelling program for modelling the facies log, from the average deposition rate of the facies, a number of different facies within the facies log, and a thickness of each facies layer, and ∘ determining a thickness of each layer of sediments from the number of layers of deposited sedimentary elements and from the overall thickness of the facies log. - receiving a facies log corresponding to an initial state of at least one well belonging to the sedimentary basin, wherein the facies log comprises a succession of layers of different facies wherein each layer extends from a respective depth with a respective thickness, - determining from the facies log a number of layers of sediments and a thickness of each layer of sediments to be simulated by the stratigraphic forward modelling program for modelling said facies log, comprising: ∘ determining, from the facies log, an average deposition rate of each facies of the facies log, expressed as an average thickness of deposited sedimentary elements during the period of time corresponding to each layer of sediments, and ∘ determining a number of layers of sediments to be simulated by the stratigraphic forward modelling program for modelling the facies log, from the average deposition rate of the facies, a number of different facies within the facies log, and a thickness of each facies layer, and ∘ determining a thickness of each layer of sediments from the number of layers of deposited sedimentary elements and from the overall thickness of the facies log. ∘ determining, from the facies log, an average deposition rate of each facies of the facies log, expressed as an average thickness of deposited sedimentary elements during the period of time corresponding to each layer of sediments, and ∘ determining a number of layers of sediments to be simulated by the stratigraphic forward modelling program for modelling the facies log, from the average deposition rate of the facies, a number of different facies within the facies log, and a thickness of each facies layer, and ∘ determining a thickness of each layer of sediments from the number of layers of deposited sedimentary elements and from the overall thickness of the facies log.