[tex]P=90 \ kW \\ L=45 \ MJ=45 \ 000 \ kJ \\ P=\frac{L}{t} \ \Rightarrow \ t=\frac{L}{P} =\frac{45 \ 000 \ kJ}{90 \ kW}=\boxed{500 \ s}[/tex]