A method for configuring an intelligent electronic device, IED, (320a, 320b) from a plurality of IEDs connected in a communication network of a substation with a computing system that is communicatively connected in the communication network of the substation for transmitting a configuration of at least one application function to the IED for operating one or more electrical equipment (330a, 330b) in the substation, the method comprises, the computing system: a. receiving a request for generating a configuration for at least one application function in the IED from a customer device, wherein the request comprises an identifier associated with the IED (320a, 320b); b. determining the IED as at least one of an existing IED 320a in the substation and a new IED 320b procured for the substation by comparing the identifier associated with the IED with identifiers of IEDs stored in the computing system 215 for generating the at least one configuration; c. adapting a virtual model (320at, 320bt) for the IED, by i) at least one of: initializing the virtual model for the new IED as a digital twin based on technical specification of the new IED, and selecting a virtual model that is previously initialized for the existing IED based on technical specification of the existing IED comprised in the computing system; and ii) selecting a first sequence of functions for the virtual model (320at, 320bt) for providing at least one application function in the IED, wherein the first sequence of functions is selected from a database of functions provided in the computing system based on at least one of the technical specification of the new IED and the existing IED; d. generating the configuration for the IED through simulation performed using the virtual model (320at, 320bt) and obtaining a second sequence of functions, wherein the second sequence of functions is arranged in an order that is determined through simulation of one or more functions comprised in the first sequence of function and sequentially determining connections between at least one input and at least one output of the one or more functions; e. transmitting the configuration for the at least one application function to the IED during commissioning of the IED enabling the IED to perform the automation operation corresponding to the at least one application function. a. receiving a request for generating a configuration for at least one application function in the IED from a customer device, wherein the request comprises an identifier associated with the IED (320a, 320b); b. determining the IED as at least one of an existing IED 320a in the substation and a new IED 320b procured for the substation by comparing the identifier associated with the IED with identifiers of IEDs stored in the computing system 215 for generating the at least one configuration; c. adapting a virtual model (320at, 320bt) for the IED, by i) at least one of: initializing the virtual model for the new IED as a digital twin based on technical specification of the new IED, and selecting a virtual model that is previously initialized for the existing IED based on technical specification of the existing IED comprised in the computing system; and ii) selecting a first sequence of functions for the virtual model (320at, 320bt) for providing at least one application function in the IED, wherein the first sequence of functions is selected from a database of functions provided in the computing system based on at least one of the technical specification of the new IED and the existing IED; i) at least one of: initializing the virtual model for the new IED as a digital twin based on technical specification of the new IED, and selecting a virtual model that is previously initialized for the existing IED based on technical specification of the existing IED comprised in the computing system; and ii) selecting a first sequence of functions for the virtual model (320at, 320bt) for providing at least one application function in the IED, wherein the first sequence of functions is selected from a database of functions provided in the computing system based on at least one of the technical specification of the new IED and the existing IED; d. generating the configuration for the IED through simulation performed using the virtual model (320at, 320bt) and obtaining a second sequence of functions, wherein the second sequence of functions is arranged in an order that is determined through simulation of one or more functions comprised in the first sequence of function and sequentially determining connections between at least one input and at least one output of the one or more functions; e. transmitting the configuration for the at least one application function to the IED during commissioning of the IED enabling the IED to perform the automation operation corresponding to the at least one application function.