The outflow of coronal plasma into interplanetary space is a consequen
ce of the coronal heating process. Therefore the formation of the coro
na and the acceleration of the solar wind should be treated as a singl
e problem. The deposition of energy into the corona through some ''mec
hanical'' energy flux is balanced by the various energy sinks ; availa
ble to the corona, and the sum of these processes determines the coron
al structure, i.e., its temperature and density. The corona loses ener
gy through heat conduction into the transition region and through the
gravitational potential energy and kinetic energy put into the solar w
ind. We show from a series of models of the chromosphere-transition re
gion-corona-solar wind system that most of the energy deposited in a m
agnetically open region goes into the solar wind. The transition regio
n pressures and the coronal density and temperature structure may vary
considerably with the mode and location of energy deposition, but the
solar wind mass flux is relatively insensitive to these variations; i
t is determined by the amplitude of the energy flux. In these models t
he transition region pressure decreases in accordance with the increas
ing coronal density scale height such that the solar wind mass loss is
consistent with the energy flux deposited in the corona. On the basis
of the present study we can conclude that the exponential increase of
solar wind mass flux with coronal temperature, found in most thermall
y driven solar wind models, is a consequence of fixing the transition
region pressure.