code: def _unpack_model(self, om):
          
          buses = om.case.connected_buses
          branches = om.case.online_branches
          gens = om.case.online_generators
  
          cp = om.get_cost_params()
  
  #        Bf = om._Bf
  #        Pfinj = om._Pfinj
  
          return buses, branches, gens, cp
docs: Returns data from the OPF model.