diff --git a/api/s5_pipes.py b/api/s5_pipes.py index 9e4bcf3..afabea7 100644 --- a/api/s5_pipes.py +++ b/api/s5_pipes.py @@ -165,7 +165,7 @@ def inp_out_pipe(name: str) -> list[str]: diameter = obj['diameter'] roughness = obj['roughness'] minor_loss = obj['minor_loss'] - status = obj['vol_curve'] + status = obj['status'] desc = ';' lines.append(f'{id} {node1} {node2} {length} {diameter} {roughness} {minor_loss} {status} {desc}') return lines