Prepare the macaroni according to the instructions on the packet.
In a saucepan, fry the diced onion in a little oil until translucent, add sugar and let it melt. Bring the tomatoes and the broth to the boil and simmer for about 10 minutes over a low heat.
Then puree finely with the hand blender and season with salt and pepper.
Put the pasta in a greased baking dish and pour the sauce over it. Sprinkle the grated Gouda on top.
In the oven preheated to 220 ° C top / bottom heat, bake on the middle rack for about 15 minutes.