An electrical assembly comprising: power conversion means adapted to convert electric energy from one form to another, the power conversion means having an output adapted to supply three-phase alternating current to an electrical power network, the power conversion means comprises at least one inverter unit (INV1, INV2, INV3) which comprises intermediate circuit capacitor means connected to a direct current input of the at least one inverter unit; a filter device connected to the output of the power conversion means, the filter device comprising a first terminal for connecting the filter device to a first portion of an alternating-current network, a second terminal for connecting the filter device to a second portion of the alternating-current network, the filter device being adapted to carry alternating current between the first terminal and the second terminal, inductor means connected in series between the first terminal and the second terminal, and filter capacitor means adapted to co-operate with the inductor means for filtering an alternating current present between the first terminal and the second terminal; a pre-charging circuit adapted to pre-charge the intermediate circuit capacitor means before commissioning of the electrical assembly, the pre-charging circuit comprises a current limiting device and a pre-charging switch device adapted to connect the electrical power network to the intermediate circuit capacitor means through the current limiting device, characterized in that the filter device comprises a capacitor switch device for disconnecting the filter capacitor means from the inductor means, the electrical assembly comprises a grid switch device connected in parallel with the pre-charging circuit, the parallel connected pre-charging circuit and grid switch device are connected either between the filter device and an interface of the electrical assembly adapted to be connected to the electrical power network, or between the filter device and the power conversion means. power conversion means adapted to convert electric energy from one form to another, the power conversion means having an output adapted to supply three-phase alternating current to an electrical power network, the power conversion means comprises at least one inverter unit (INV1, INV2, INV3) which comprises intermediate circuit capacitor means connected to a direct current input of the at least one inverter unit; a filter device connected to the output of the power conversion means, the filter device comprising a first terminal for connecting the filter device to a first portion of an alternating-current network, a second terminal for connecting the filter device to a second portion of the alternating-current network, the filter device being adapted to carry alternating current between the first terminal and the second terminal, inductor means connected in series between the first terminal and the second terminal, and filter capacitor means adapted to co-operate with the inductor means for filtering an alternating current present between the first terminal and the second terminal; a pre-charging circuit adapted to pre-charge the intermediate circuit capacitor means before commissioning of the electrical assembly, the pre-charging circuit comprises a current limiting device and a pre-charging switch device adapted to connect the electrical power network to the intermediate circuit capacitor means through the current limiting device, characterized in that the filter device comprises a capacitor switch device for disconnecting the filter capacitor means from the inductor means, the electrical assembly comprises a grid switch device connected in parallel with the pre-charging circuit, the parallel connected pre-charging circuit and grid switch device are connected either between the filter device and an interface of the electrical assembly adapted to be connected to the electrical power network, or between the filter device and the power conversion means.