Ideally, we would like the 1st floor without sloping ceilings.
That is understandable, but it depends not on the roof shape, but on the roof pitch. In a hip roof, the main roof surfaces are not different compared to a gable roof, but rather the otherwise gable sides are also sloped; otherwise, they are identical with the same pitch. The eaves height does not change because the "gable" sides are also sloped, neither higher nor lower.
So your cost estimate (from inexpensive to expensive) is as follows: [...] 3. without knee wall/sloping ceilings on the 1st floor [...] Correct?
Neither correct nor (regarding 3.) understandable. The price of the roof is not based on the parameter "degree of pitch suitability for photovoltaics," but primarily on the complexity of the roof structure:
The cheapest is the flat-pitched shed roof with truss construction, just steep enough to avoid special roof tiles for low pitches.
More expensive is then the classic beam construction, even with the same roof shape.
Next most expensive in terms of shape is the gable roof, as a quasi two-surfaced shed roof combination.
Starting from the gable roof, the roof structure can be varied in two dimensions to become more complex and expensive: as a mansard roof with a "broken" pitch, or as a hip roof with sloped sides as well (and thus missing gable walls).
The hip roof itself is slightly simpler/cheaper without a ridge (then called a pyramid roof), or even more complex as a half-hip roof. The top class, also pricewise three-star superior, is the half-hip roof over an L-shaped plan, or with dormers.
In none of the basic shapes does asymmetry have a (significant) price impact. That is only a pleasure for the master craftsman when they can give a talented apprentice something more challenging to trace.
The height of a possible knee wall only indirectly affects this basic roof price order if roof additions result from it. A simply linear propped-up roof remains structurally the same as such.
A false asymmetry as in your drawing, that is with equally pitched roof surfaces and a shifted ridge to balance different eaves heights, is a structural complication that is usually only applied out of necessity on extreme slopes.
Regarding the "ideal" roof pitch for photovoltaics, one must consider that the degree numbers must be interpreted differently if the house axis is rotated out of the cross of the main cardinal directions.
North roof surfaces are, of course, the least efficient, and seen that way, the south shed roof should be favored, preferably slightly hipped, to also include the east and west sides.
However, even in green-governed districts, I have yet to encounter any development plan that would specifically consider this.
Mainly, people live in the house; photovoltaics are only the tail, not the horse.