Get dimensions of the volume you're dealing with for doing the 90 degree turn. Those are often done with a precast concrete structure with holes 90 degrees apart. And hdpe or concrete piping would be more viable than 30 inch pvc.

But likely you'd be better off with the entire riser being concrete, either a manhole or a catch basin. Both can be fitted with trash racks easily. How tall would it be?

Do you know your watershed or other inlet characteristics? A 42 inch outlet pipe is _huge_ and has me thinking this is somehow a lot more serious than most things discussed on this forum.