For example, if you hooked up a million pound flywheel the engine obviously wouldn't turn - 0 HP, 0 torque. But once the flywheel weight got light enough such that the engine could turn, then the max HP should still be attainable, it would just take longer to reach it. Since dyno curves do not measure time (the X axis is RPM's) then the dyno curves would be very similar at most "realistic" flywheel weights, or drivetrain weights.