From e2259c6f7a688d17eb2c7a0d85d8e1fd02c90e81 Mon Sep 17 00:00:00 2001 From: Carolina Tristan Date: Mon, 16 Dec 2024 08:48:02 -0500 Subject: [PATCH] Import from CSV commented-out in REDprocess.py --- gdplib/reverse_electrodialysis/REDprocess.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gdplib/reverse_electrodialysis/REDprocess.py b/gdplib/reverse_electrodialysis/REDprocess.py index 4866c61..fa80d05 100644 --- a/gdplib/reverse_electrodialysis/REDprocess.py +++ b/gdplib/reverse_electrodialysis/REDprocess.py @@ -65,8 +65,6 @@ wnd_dir = os.path.dirname(os.path.realpath(__file__)) - -# The data.xlsx file contains the financial and stack parameters, and properties of the high and low salinity feed streams. # The financial_param dataframe contains the financial parameters # The stack_param dataframe contains the stack parameters # The flow_conc_data dataframe contains the feed flow and concentration data @@ -84,6 +82,11 @@ ) T = pd.read_excel(xls, sheet_name="feed_data", nrows=1, usecols="D", dtype=object) +# stack_param = pd.read_csv(os.path.join(wnd_dir, "stack_param.csv")) +# financial_param = pd.read_csv(os.path.join(wnd_dir, "financial_param.csv")) +# flow_conc_data = pd.read_csv(os.path.join(wnd_dir, "flow_conc_data.csv"), index_col=0) +# T = pd.read_csv(os.path.join(wnd_dir, "T.csv")) + def build_model(): """Builds the RED GDP model