A lot of this seems to be consulting work and not actually software cost. How are they supposed to estimate the necessary number of hours if you haven't told them what you need.
If you are serious about it, identify a few companies (no fewer than 5) and send them a Request for proposal (RfP) with what you are looking for and let them bid.
They are loud when they recharge, they are slow compared to nuclear subs and they carry much less armaments.
On the other hand, when they are on battery power modern diesels can be much quieter than nuclear subs, they are much cheaper and smaller so ideal for operations in coastal waters. Which is why many (also western countries) rely on them for coastal defense.
Economics wise: You can trade 3 diesel subs against a nuclear subs or a large warship and still come out ahead cost/effort wise.