A method for controlling a switching arrangement of an inverter with a control , wherein the inverter has the switching arrangement , a filter circuit and a grid relay and the control takes system parameters of the filter circuit of the inverter into account, wherein the switching arrangement has at least two conductor outputs (W 1 , W 2 , W 3 , W 4 ) and each conductor output (W 1 , W 2 , W 3 , W 4 ) is connected to the filter circuit by a conductor (P 1 , P 2 , P 3 , P 4 ), and the conductors (P 1 , P 2 , P 3 , P 4 ) of the inverter provided for connection to a power grid are connected to the grid relay , wherein the filter circuit is formed from at least one filter inductance (LF) arranged in a conductor (P 1 , P 2 , P 3 , P 4 ) and at least one filter capacitance (CF) which connects two conductors (P 1 , P 2 , P 3 , P 4 ) to one another, and for the filter circuit use is made of an equivalent circuit consisting of an effective filter inductance (L m ), which results from the at least one filter inductance (LF) of the filter circuit and the topology of the filter circuit , and an effective filter capacitance (C m ), which results from the at least one filter capacitance (CF) of the filter circuit and the topology of the filter circuit , wherein the effective filter inductance (L m ) and the effective filter capacitance (C m ) are used as system parameters, and the method comprises the following steps which are carried out with the grid relay open: - applying a voltage pulse between a first conductor output (W 1 , W 2 , W 3 , W 4 ) and a second conductor output (W 1 , W 2 , W 3 , W 4 ), - connecting this first conductor output (W 1 , W 2 , W 3 , W 4 ) and this second conductor output (W 1 , W 2 , W 3 , W 4 ) via the switching arrangement to produce a closed oscillating circuit (8, 8', 8") which runs, starting from the first conductor output (W 1 , W 2 , W 3 , W 4 ) and the first conductor (P 1 , P 2 , P 3 , P 4 ) connected to the first conductor output (W 1 , W 2 , W 3 , W 4 ) via the filter circuit and the second conductor (P 1 , P 2 , P 3 , P 4 ) to the second conductor output (W 1 , W 2 , W 3 , W 4 ) connected to the second conductor (P 1 , P 2 , P 3 , P 4 ), - determining a current curve and/or voltage curve in the oscillating circuit (8, 8', 8"), - evaluating the current curve and/or voltage curve to determine at least one current value of the effective filter inductance (L m ) and the effective filter capacitance (C m ) of the filter circuit as system parameters of the filter circuit and the switching arrangement of the inverter is controlled with closed grid relay taking into account the determined current values of the effective filter inductance (L m ) and the effective filter capacitance (C m ) of the filter circuit . - applying a voltage pulse between a first conductor output (W 1 , W 2 , W 3 , W 4 ) and a second conductor output (W 1 , W 2 , W 3 , W 4 ), - connecting this first conductor output (W 1 , W 2 , W 3 , W 4 ) and this second conductor output (W 1 , W 2 , W 3 , W 4 ) via the switching arrangement to produce a closed oscillating circuit (8, 8', 8") which runs, starting from the first conductor output (W 1 , W 2 , W 3 , W 4 ) and the first conductor (P 1 , P 2 , P 3 , P 4 ) connected to the first conductor output (W 1 , W 2 , W 3 , W 4 ) via the filter circuit and the second conductor (P 1 , P 2 , P 3 , P 4 ) to the second conductor output (W 1 , W 2 , W 3 , W 4 ) connected to the second conductor (P 1 , P 2 , P 3 , P 4 ), - determining a current curve and/or voltage curve in the oscillating circuit (8, 8', 8"), - evaluating the current curve and/or voltage curve to determine at least one current value of the effective filter inductance (L m ) and the effective filter capacitance (C m ) of the filter circuit as system parameters of the filter circuit <EOS>