Modeling Solar Spectral Irradiance and Total Magnetic Flux Using Sunspot Areas