How small could our Sun be and still "burn" with nuclear fusion and emit the same spectrum of light and other radiation as the real Sun does?
Edit:
The goal is to have a small sun inside a huge vessel, such as an O'Neill cylinder.
How small could our Sun be and still "burn" with nuclear fusion and emit the same spectrum of light and other radiation as the real Sun does?
Edit:
The goal is to have a small sun inside a huge vessel, such as an O'Neill cylinder.
The Sun is, approximately, a black body. That means that the light it emits follows a particular spectrum according to Planck's law, with the shape of the spectrum determined solely by the Sun's surface temperature. In particular, the wavelength of peak emission can be found through Wien's law, which is also a function of temperature. Therefore, if we want our new star to emit light just like the Sun does, we need to keep it at the same temperature as the real Sun - about 5800 K.
Furthermore, spectra are much more complicated than simple plots of the Planck function. Emission and absorption lines dot a star's spectrum, and these lines depend on the temperature and composition of the photosphere. Various electron transitions happen at different rates at different temperatures, and even shifts of a few hundred Kelvin can produce noticeable changes in spectral line types and shapes - if your spectrometer is good. Even surface gravity plays a role. This restricts our options to Sun-like stars, as only stars with near-solar composition and temperature will produce the same spectra - globally and at particular wavelengths.
On the main sequence, there are some simple scaling relationships between mass, radius, temperature and luminosity: $$L\propto M^3,\quad R\propto M^{3/7},\quad T\propto M^{4/7}$$ assuming the proton-proton chain reaction is the main source of energy, which is the case. If we want to keep the temperature constant, we need to keep the mass constant, and thus keep the radius constant. Therefore, no main sequence star can be significantly smaller than the Sun and still have the same temperature.
(As I mentioned before, the composition of the star does matter; in fact, according to something called the Vogt-Russell theorem, the mass and composition of a star uniquely determine its properties and evolution. This means that the exact form of the relations above does vary between stellar populations - in part, relying on the mean molecular mass $\mu$ - but this still will not make a significant difference here.)
We could look at subdwarfs, low-metallicity stars that are dimmer than main sequence stars. They're not common, but they exist, lying immediately below the main sequence on the Hertzsprung-Russell diagram. All other G-type stars are either on the main sequence, and thus fairly like the Sun in size, or off the main sequence, as giants or supergiants. Therefore, our options are either G-type subdwarfs or main sequence stars that are slightly cooler than the Sun:
Another star I considered is Groombridge 1830. Like Mu Cassiopeiae, it's a borderline G-type subdwarf, but is about 1000 K cooler - too far from the Sun in terms of temperature.
Now, we can see from above that temperature and radius are related by $R\propto T^{3/4}$. Therefore, if the lowest-mass G-type main sequence star has a temperature of about 5,300 K, it should have a corresponding radius of $$R=\left(\frac{5300\text{ K}}{5800\text{ K}}\right)^{3/4}R_{\odot}\approx0.93R_{\odot}$$ which is a bit higher than the radius of Tau Ceti, despite having the same effective temperature. This is, of course, because our scaling relationships are inexact, but simply good approximations.
You won't find a star small enough to fit into an O'Neill cylinder - at least, not one that formed by natural means. EBLM J0555-57Ab, a small, late-type red dwarf has a radius 0.84 times that of Jupiter (von Boetticher et al. 2017) - likely too large for your purposes. Bodies smaller than that are likely too low-mass to fuse hydrogen, and would instead be brown dwarfs. Of course, EBLM J0555-57Ab is also likely cool, with a surface temperature far below that of the Sun.
Brown dwarfs - many of which fuse deuterium - are not true stars, and are usually cool, with typical temperatures around 1000 K, producing spectra much different from the Sun's. Some exoplanets may be much hotter than this, with surface temperatures comparable to those of many stars (see e.g. Kepler-70b, with a surface temperature of about 7000 K as per Charpinet et al. 2011). However, those bodies are only hot because they're irradiated by the stars they orbit; on their own, they would not generate that much heat.
There is a possibility I had completely forgotten about before: a white dwarf. Many white dwarfs are hot, with temperatures up to about 100,000 K or so. However, they do cool - albeit slowly, as they have small surface areas. This cooling takes a long time, but some white dwarfs have become cooler than the Sun. WD 0346+246 is a famous case, with a surface temperature of about 3900 K (Hambley et al. 1997).
This implies that white dwarfs with temperatures like that of the Sun do exist; moreover, they're small. The same group measured WD 0346+246 to have a radius roughly that of the Earth, which is extraordinary - certainly less than that of EBLM J0555-57Ab. The problem, of course, is that white dwarfs don't undergo fusion. Indeed, the degeneracy of the matter inside a white dwarf means that fusion reactions are unstable, and can lead to novae and Type Ia supernovae.
The mass of a star is directly related to how hot its surface is, which in turn, is responsible for the wavelengths of light it emits (This is called Black-Body Radiation).
As a main sequence G2V star, the sun has a surface temperature of 5778 K. A smaller main sequence star will be cooler and therefore redder. A larger star will be hotter, and therefore whiter.
The only stars that will emit the same wavelengths as the sun are those that have the same mass.