Hello; Had the same experience some years ago. I was lucky in that the carpet was not wall to wall and had no pad under it. My hardwod floor dried but had a permanent discoloration. You do not mention the type of flooring or if there is carpet padding. The carpet padding will need to be removed and likely discarded if it is still in place. It can take some days/weeks for the floor to dry well, perhaps longer if the tank had leaked over time and the wood got staurated. I just did not have a rug of any kind in that room for some years. I believe there are moisture meters that can be had to check the moisture content.
The smell is likely a combination of fish water and the stuff that find it's way into carpet over time. I worked for a carpet place in the 1970's and had the displeasure to remove flooded carpet for a time after high water. Some folks thought they could dry out their carpet without pulling it up. You could often tell when entering a house that as not thoroughly cleaned years later. One woman did not remove the wet insulation from the walls of her flooded house and some years later after she died the house had to be torn down due to the extensive mold.
I not longer consider having a tank on carpet at all. Even if there is not a major leak, there will be small spills and minor leaks over time. My current house has wall to wall carpet. I removed it from the area where my tanks sit and put down some vinyl tiles. My point of view now is that a tank on carpet is going to be a bad outcome.
Is that you in the avatar? I drove a school bus for some years.