Permanent downhole gauges (PDGs) can provide a continuous record of flow rate and pressure, which provides extensive information about the reservoir. In this work, a machine-learning framework based on PDG data was extended to two applications: multiwell testing and flow-rate reconstruction.