A method and a system for testing of a power management system of a marine vessel

A system for testing a power management system of a marine vessel, in which said power management system (PMS) is arranged for controlling systems that produce electrical energy. Said system comprises a simulator arranged for being connected to said PMS, said simulator including a simulated power consuming system (PCS) arranged for receiving real and / or simulated control signals pertaining to a desired state of said simulated PCS, a simulated power generation module arranged for furnishing simulated power to said simulated PCS, said simulated PCS arranged for furnishing simulated signals to said real PMS, said real PMS arranged for furnishing control signals to said simulated power generation system as a response to said simulated signals, said simulated power generation system arranged for providing simulated power to said simulated PCS as a response to said control signals, for the functional testing and / or failure mode testing of said PMS.