I want to analyze a water distribution network in R statistical package. I need to import a network (EPANET input file) into R and analyze the network related stuff.
Export a EPANET's project data to a text file (.inp):
1. Select
File -> Export -> Network from the EPANET's main menu.
2. In the Save dialog form that appears enter a name for the file to save to (the default extension is .INP)
The text file is organized in sections, where each section begins with a keyword enclosed in brackets.
You can save each section data as a .csv text file and import them to R with the command:
mydata
Dear Mr Kostas Katselidis
Thanks for your answer. My problem is to import the data as network (graph) data, so I can use network analysis packages like igraph.
Kind Regards
Saeed
hi Saeed,
try the read.graph fuction from igraph library
library(igraph)
my.net
I know this is an old thread, but . . . I've written a package for R that solves this problem. See https://github.com/bradleyjeck/epanetReader
https://github.com/bradleyjeck/epanetReader
Approximate concentrations are require in compared with the WHO permissible limts
11 August 2024 2,723 1 View
I am developing a predictive model for a water supply network that involves 20 influencing points. However, I only have historical data for 10 out of these 20 points. I would like to know how to...
10 August 2024 4,005 2 View
How do interactions between the biosphere, the carbon cycle, and the water cycle impact global warming and interaction between the atmosphere and the hydrosphere?
09 August 2024 3,291 2 View
One can try to generalize the Vandermonde determinant in the following direction: Let $A$ be any symmetric $n$-order square matrix. Consider its powers' diagonal elements $(A^k)_{ii}$ and...
08 August 2024 6,690 1 View
I have protein-membrane simulations (PDB, PSF, DCD) and have noticed that water molecules near the protein are not visible in the simulations. How can I fix this issue? Is there a way to place the...
04 August 2024 1,200 2 View
i have to study the awareness and adoption level of cloud computing in a district of India. i also want to use association among demographic variables like gender, age, education, income etc and...
02 August 2024 2,420 3 View
Why is nonpoint source pollution potentially more harmful and difference between point and nonpoint sources of water pollution?
01 August 2024 1,180 2 View
How do living organisms play a role in the water cycle and why is nonpoint source pollution potentially more harmful than point source pollution?
01 August 2024 7,061 2 View
Just bounced on me. Before statistically analysing significant difference, shouldn't we see if data fits normal distribution first? Is 3 replicates enough to testify the hypothesis of normal...
31 July 2024 8,141 13 View
When we conduct linear regression, there are several assumptions. The assumption of normality is whether the residual errors are normally distributed, not whether a predictor is normal?
31 July 2024 6,164 3 View