Grid simulator