Hi,
I am trying to export results from dataframe to csv, but the below-mentioned code only exports the last values of the iteration. Please check my code and let me know, where I am doing wrong. Thank you for your support.
from pyswmm import Simulation, Nodes
import os
import pandas as pd
Hi, I am trying to export results from dataframe to csv, but the below-mentioned code only exports the last values of the iteration. Please check my code and let me know, where I am doing wrong. Thank you for your support.
from pyswmm import Simulation, Nodes import os import pandas as pd
output_path = "E:\VARS_Research\pyswmm_master\Test_Model\Test_Model_Manual" output_csv_file = "node_flow.csv"
with Simulation('Test_model_LID.inp') as sim: nodes = Nodes(sim)