<jupyter_start><jupyter_text>Network Input DataShows the input data used to build the model in a tabular (`pandas DataFrame`) view. The hierarchy of interfaces in the OpenFlows API can also be understood as they indented based on the API structured.  Initial Setup (for WaterGEMS)<jupyter_code>from pyOFW.ofwConfig import OpenFlowsWaterConfig
ofw_config = OpenFlowsWaterConfig()

# To display the .md file
from IPython.display import Markdown, display<jupyter_output><empty_output><jupyter_text>Open up the WaterGEMS model<jupyter_code>from OpenFlows.Water.Domain import IWaterModel

model_filepath = r"C:\Program Files (x86)\Bentley\WaterGEMS\Samples\Example5.wtg"
model: IWaterModel = ofw_config.open_model(model_filepath)<jupyter_output><empty_output><jupyter_text>NetworkInput class<jupyter_code>display(Markdown("notebook/md/networkInput/networkInputClass.md"))
from pyOpenFlows.networkInput import NetworkInput
ni: NetworkInput = NetworkInput(model)<jupyter_output><empty_output><jupyter_text>Pipes<jupyter_code>display(Markdown("notebook/md/networkInput/pipes.md"))
ni.pipe_df.head()<jupyter_output><empty_output><jupyter_text>Laterals<jupyter_code>display(Markdown("notebook/md/networkInput/laterals.md"))
ni.lateral_df.head()<jupyter_output><empty_output><jupyter_text>Junctions / Hydrants<jupyter_code>display(Markdown("notebook/md/networkInput/junctions.md"))
ni.junction_df.head()
ni.hydrant_df.head()<jupyter_output><empty_output><jupyter_text>Tanks<jupyter_code>display(Markdown("notebook/md/networkInput/tanks.md"))
ni.tank_df.head()<jupyter_output><empty_output><jupyter_text>Reservoirs<jupyter_code>display(Markdown("notebook/md/networkInput/reservoirs.md"))
ni.reservoir_df.head()<jupyter_output><empty_output><jupyter_text>Taps<jupyter_code>display(Markdown("notebook/md/networkInput/taps.md"))
ni.tap_df.head()<jupyter_output><empty_output><jupyter_text>Pumps<jupyter_code>display(Markdown("notebook/md/networkInput/pumps.md"))
ni.pump_df.head()<jupyter_output><empty_output><jupyter_text>Customer Meters<jupyter_code>display(Markdown("notebook/md/networkInput/customerMeters.md"))
ni.customer_meter_df.head()<jupyter_output><empty_output><jupyter_text>SCADA Elements<jupyter_code>display(Markdown("notebook/md/networkInput/scadaElements.md"))
ni.scada_elem_df.head()<jupyter_output><empty_output><jupyter_text>Pump Stations<jupyter_code>display(Markdown("notebook/md/networkInput/pumpStations.md"))
ni.pump_stn_df.head()<jupyter_output><empty_output><jupyter_text>VSPB (Variable Speed Pump Battery)<jupyter_code>display(Markdown("notebook/md/networkInput/vspbs.md"))
ni.vspb_df.head()<jupyter_output><empty_output><jupyter_text>PRV (Pressure Reducing Valves)<jupyter_code>display(Markdown("notebook/md/networkInput/prvs.md"))
ni.prv_df.head()<jupyter_output><empty_output><jupyter_text>PSV (Pressure Sustaining Valves)<jupyter_code>display(Markdown("notebook/md/networkInput/psvs.md"))
ni.psv_df.head()<jupyter_output><empty_output><jupyter_text>PBV (Pressure Breaking Valves)<jupyter_code>display(Markdown("notebook/md/networkInput/pbvs.md"))
ni.pbv_df.head()<jupyter_output><empty_output><jupyter_text>FCV (Flow Control Valves)<jupyter_code>display(Markdown("notebook/md/networkInput/fcvs.md"))
ni.fcv_df.head()<jupyter_output><empty_output><jupyter_text>TCVs (Throttle Control Valves)<jupyter_code>display(Markdown("notebook/md/networkInput/tcvs.md"))
ni.tcv_df.head()<jupyter_output><empty_output><jupyter_text>GPVs (General Purpose Valves)<jupyter_code>display(Markdown("notebook/md/networkInput/gpvs.md"))
ni.pbv_df.head()<jupyter_output><empty_output><jupyter_text>Isolation Valves<jupyter_code>display(Markdown("notebook/md/networkInput/isoValves.md"))
ni.iso_valve_df.head()<jupyter_output><empty_output><jupyter_text>Hydropneumatic Tanks (Hydro Tanks)<jupyter_code>display(Markdown("notebook/md/networkInput/hydroTanks.md"))
ni.hydro_tank_df.head()<jupyter_output><empty_output><jupyter_text>Check Valves<jupyter_code>display(Markdown("notebook/md/networkInput/checkValves.md"))
ni.check_valve_df.head()
# setup.end()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13266307013241785, 'fraction_numerical': 0.0007356547327121138, 'mean_word_length': 13.362676056338028, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '23', 'dir': 'jupyter-structured-clean-dedup', 'id': '642225', 'license': 'MIT', 'n_tokens_mistral': 1587, 'n_tokens_neox': 1558, 'n_words': 131, 'path': 'notebook/networkInputDFs.ipynb', 'repo_name': 'worthapenny/pyofw', 'size': '4078'}