diff --git a/pandapipes/converter/stanet/table_creation.py b/pandapipes/converter/stanet/table_creation.py index 553a0c3f4..ae80a264f 100644 --- a/pandapipes/converter/stanet/table_creation.py +++ b/pandapipes/converter/stanet/table_creation.py @@ -631,7 +631,7 @@ def create_heat_exchangers_stanet(net, stored_data, index_mapping, add_layers, a # TODO: there is no qext given!!! pandapipes.create_heat_exchanger( net, node_mapping[from_stanet_nr], node_mapping[to_stanet_nr], qext_w=qext, - diameter_m=float(row.DM / 1000), loss_coefficient=row.ZETA, std_type=row.ROHRTYP, + diameter_m=float(row.DM / 1000), loss_coefficient=row.ZETA, in_service=bool(row.ISACTIVE), name="heat_exchanger_%s_%s" % (row.ANFNAM, row.ENDNAM), stanet_nr=int(row.RECNO), stanet_id=str(row.STANETID), v_stanet=row.VM, stanet_active=bool(row.ISACTIVE), **add_info diff --git a/pandapipes/topology/create_graph.py b/pandapipes/topology/create_graph.py index 529fa7f89..96b0a3132 100644 --- a/pandapipes/topology/create_graph.py +++ b/pandapipes/topology/create_graph.py @@ -113,7 +113,7 @@ def create_nxgraph(net, include_pipes=True, respect_status_pipes=True, loc = locals() branch_params.update({"%s_%s" % (par, bc): loc.get("%s_%s" % (par, bc)) for par in branch_kw for bc in ["pipes", "valves", "pumps", "press_controls", - "mass_circ_pumps", "press_circ_pumps", "valve_pipes", + "mass_circ_pumps", "pressure_circ_pumps", "valve_pipes", "flow_controls"]}) for comp in net.component_list: