You do not get back the money spent on remodeling.
823,200 remodel price - 550,000 base price = 273,200 credits lost.
You'll receive 550,000 credits + the credits from all the components on your ship which include: your guns, torpedo launchers, fcs, engine, and armor.
Do not mess with CV engines by constantly buying and selling it. They have a poor sellback value and will quickly make a new player broke.