I'd put my vote in for amp modelling software like Amplitube 2 or Guitar Rig 4. You will need a fairly decent PC and a dedicated sound interface (a soundcard in a box designed for handling recording music onto a PC). But nothing else will allow you to get the sound of a 100W Marshall roaring in your apartment without bothering your neighbours.
Modelling amps are not as good an idea imo. Once the tech is out of date you'll have a pretty much unsellable amp. With the software you can upgrade at a reduced cost.
With the software you also get an incredible range of great effects, modelled on the orginals - including rack effects. Finally, they're built for recording as well, and they allow you to set up simulated speaker cabs and different microphone placements, to get the sound that you'd have to have some serious studio chops to get yourself out of the real amps.
Check out the links, look at the demos, and then decide. Better get a f&*k off tube amp for gigs, and use this for at home. I've just started playing around with one, and there have already been times where I've jammed with a "cranked-up amp" when, even living in a house, it would have brought much complaint down on my head.
http://www.ikmultimedia.com/amplitube/features/
http://www.native-instruments.com/#/en/products/guitar/guitar-rig-4-pro/