diff --git a/epyt/__init__.py b/epyt/__init__.py index 910c745..990172d 100644 --- a/epyt/__init__.py +++ b/epyt/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- __author__ = """Marios S. Kyriakou""" __email__ = "kiriakou.marios@ucy.ac.cy" -__version__ = "1.0.9-beta.9" +__version__ = "1.1.0" __msxversion__ = "2.0.0" __copyright__ = """Copyright 2022, KIOS Research and Innovation Center of Excellence (KIOS CoE), University of Cyprus (www.kios.org.cy).""" diff --git a/epyt/examples/python/EX6_load_two_inp_files.py b/epyt/examples/python/EX6_load_two_inp_files.py index 3fff630..a0875a0 100644 --- a/epyt/examples/python/EX6_load_two_inp_files.py +++ b/epyt/examples/python/EX6_load_two_inp_files.py @@ -9,8 +9,8 @@ from epyt import epanet # Load networks -d1 = epanet('Net1.inp') -d2 = epanet('Net2.inp') +d1 = epanet('Net1.inp', ph=True) +d2 = epanet('Net2.inp', ph=True) # Close any open figures d1.plot_close() diff --git a/epyt/examples/python/EX_to_excel_json.py b/epyt/examples/python/EX_to_excel_json.py index de906bf..6617a15 100644 --- a/epyt/examples/python/EX_to_excel_json.py +++ b/epyt/examples/python/EX_to_excel_json.py @@ -41,10 +41,10 @@ """ ------------------- excel ---------------------------- """ # Create a .xlsx excel file and save all the values of each attribute # in seperate sheet -comp_values.to_excel("to_excel_seperate_values_example") +# comp_values.to_excel("to_excel_seperate_values_example") # Create a .xlsx excel file and save all the values in a sheet -comp_values.to_excel("to_excel_all_values_example", allValues=True) +# comp_values.to_excel("to_excel_all_values_example", allValues=True) # Create a .xlsx excel file and select multiple attributes to be # displayed in seperate sheets diff --git a/epyt/examples/python/Toolkit_EX4_Network_Building.py b/epyt/examples/python/Toolkit_EX4_Network_Building.py index e929de0..0bdbd3d 100644 --- a/epyt/examples/python/Toolkit_EX4_Network_Building.py +++ b/epyt/examples/python/Toolkit_EX4_Network_Building.py @@ -15,7 +15,7 @@ # Create an empty INP file testinp = 'TESTING.inp' -d = epanet(testinp, 'CREATE') +d = epanet(testinp, 'CREATE', ph=True) # Initialize epanet flow units d.initializeEPANET(d.ToolkitConstants.EN_GPM, d.ToolkitConstants.EN_HW) @@ -69,7 +69,7 @@ # Save the project for future use d.saveInputFile(testinp) -d = epanet(testinp) +d = epanet(testinp, ph=True) d.plot() d.plot_show() d.deleteProject()