A method for generating engineering diagrams in an engineering system (102, 900), the engineering system providing a platform for generating engineering diagrams of one or more physical components, physical connections between the one or more physical components in a technical installation and corresponding parameter values of the one or more physical components and the physical connections and the engineering diagrams including graphical representations of the one or more physical components and the physical connections between the one or more physical components, the engineering system providing a program editor for writing graphical programs for the one or more physical components, the corresponding parameter value, and the physical connections and the corresponding parameter values, comprising: a) receiving, by a processor, specification of one or more physical components (108A-N), wherein the specification of the one or more physical components (108A-N) correspond to an upgraded portion of a technical installation; b) obtaining, by the processor, a first engineering diagram representing a portion of the technical installation, wherein the first engineering diagram comprises a representation of the one or more physical components (108-N) in the portion of the technical installation, physical connections between the one or more physical components (108A-N), and a plurality of parameter values associated with the one or more physical components (108A-N) and the physical connections; c) identifying a deviation in the one or more physical components (108A-N), the physical connections and the parameter values in the first engineering diagram based on the specification of the one or more physical components (108A-N); d) generating an engineering diagram analytics model for the first engineering diagram based on the identified deviation in the one or more physical components (108A-N), the physical connections and the parameter values in the first engineering diagram; e) modifying the first engineering diagram based on the generated engineering diagram analytics model; f) generating a second engineering diagram representing the upgraded portion of the technical installation based on the modified first engineering diagram, wherein the upgraded portion of the technical installation comprises a change in the one or more physical components (108A-N), the physical connections and the parameter values in the first engineering diagram; g) outputting the second engineering diagram representing the upgraded portion of the technical installation on a graphical user interface; h1) generating a simulation instance for the second engineering diagram representing the upgraded portion of the technical installation; h2) simulating behavior of the upgraded portion of the technical installation in a simulation environment by executing the second engineering diagram on the generated simulation instance; h3) validating the behavior of the upgraded portion of the technical installation based on results of simulation;and i) deploying the second engineering diagram in real-time into the upgraded portion of the technical installation based on the validation. a) receiving, by a processor, specification of one or more physical components (108A-N), wherein the specification of the one or more physical components (108A-N) correspond to an upgraded portion of a technical installation; b) obtaining, by the processor, a first engineering diagram representing a portion of the technical installation, wherein the first engineering diagram comprises a representation of the one or more physical components (108-N) in the portion of the technical installation, physical connections between the one or more physical components (108A-N), and a plurality of parameter values associated with the one or more physical components (108A-N) and the physical connections; c) identifying a deviation in the one or more physical components (108A-N), the physical connections and the parameter values in the first engineering diagram based on the specification of the one or more physical components (108A-N); d) generating an engineering diagram analytics model for the first engineering diagram based on the identified deviation in the one or more physical components (108A-N), the physical connections and the parameter values in the first engineering diagram; e) modifying the first engineering diagram based on the generated engineering diagram analytics model; f) generating a second engineering diagram representing the upgraded portion of the technical installation based on the modified first engineering diagram, wherein the upgraded portion of the technical installation comprises a change in the one or more physical components (108A-N), the physical connections and the parameter values in the first engineering diagram; g) outputting the second engineering diagram representing the upgraded portion of the technical installation on a graphical user interface; h1) generating a simulation instance for the second engineering diagram representing the upgraded portion of the technical installation; h2) simulating behavior of the upgraded portion of the technical installation in a simulation environment by executing the second engineering diagram on the generated simulation instance; h3) validating the behavior of the upgraded portion of the technical installation based on results of simulation;and i) deploying the second engineering diagram in real-time into the upgraded portion of the technical installation based on the validation.