A system for reducing the frequency or voltage variation in the power distribution system of a marine vessel, the system comprising: a Dynamic Positioning (DP) control system (120.1); a pattern recognition function (120.6); a power control unit being connected to at least one power generator (G) and at least one consumer including at least one thruster or other dynamically controlled heavy consumers (120.1, 120.4), the power control unit being adapted to monitor a measured load in the system from said at least one power generator (G) and power consumption from said at least one consumer; a prediction allocating system adapted to receive information from each consumer related to a planned or predicted power consumption and to calculate expected power consumption of the system, and feeding the allocated power consumption to a motor generator system (MGS) controller so as to increasing or decreasing the power generation based on the planned or predicted power consumption in order to reduce total frequency variation depending on load variations forced by said at least one consumers; characterised in that the DP control system is adapted to calculate a change in load of said at least one thruster (120.1) or other dynamically controlled heavy consumers (120.4) based on a force demand related to at least one of controlled axes of a marine vessel; in that the pattern recognition function (120.6) is configured to utilize a load consumption pattern from a cyclic load and in that the system is configured to reduce, via the prediction allocating system and MGS, at least one of frequency and voltage variations in the power distribution system in the marine vessel. a Dynamic Positioning (DP) control system (120.1); a pattern recognition function (120.6); a power control unit being connected to at least one power generator (G) and at least one consumer including at least one thruster or other dynamically controlled heavy consumers (120.1, 120.4), the power control unit being adapted to monitor a measured load in the system from said at least one power generator (G) and power consumption from said at least one consumer; a prediction allocating system adapted to receive information from each consumer related to a planned or predicted power consumption and to calculate expected power consumption of the system, and feeding the allocated power consumption to a motor generator system (MGS) controller so as to increasing or decreasing the power generation based on the planned or predicted power consumption in order to reduce total frequency variation depending on load variations forced by said at least one consumers; characterised in that the DP control system is adapted to calculate a change in load of said at least one thruster (120.1) or other dynamically controlled heavy consumers (120.4) based on a force demand related to at least one of controlled axes of a marine vessel; in that the pattern recognition function (120.6) is configured to utilize a load consumption pattern from a cyclic load and in that the system is configured to reduce, via the prediction allocating system and MGS, at least one of frequency and voltage variations in the power distribution system in the marine vessel. <EOS>