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
I have dataset which shows the length of power lines. I need to classify the lines based on the line length. Is there a rule to classify the High voltage (HV) and low voltage (LV) lines based on...
03 March 2021 4,116 4 View
Good afternoon, I recently used OmniLog from BIOLOG for my experimentations : I tested the metabolism of different strains on 2 types of plates. I have 16 strains of 3 different groups...
02 March 2021 3,584 1 View
I personally feel this as a most confusing question. As per my understanding, if sample size is > 30, and sample is skewed, we can still use paramteric approach, as it will follow Z...
01 March 2021 1,587 6 View
I am currently doing my third year design project. I have been assigned to design a glycerol recovery column in vinyl acetate monomer production. The process unit before the recovery column is an...
01 March 2021 9,525 4 View
I am a little confuse with the mechanism of solid lipid nanoparticles (SLNs). The main point of encapsulating drugs into SLNs is because some drugs have low solubility in water. Therefore, SLNs...
01 March 2021 3,703 3 View
When explaining substitution models, the substitutions are expressed as Q matrix. Why is the sum of the elements in a row zero?
28 February 2021 3,864 3 View
How would define the "good" and "poor" distribution of particles within the matrix. Is there a quantitative solution to assess the distribution of the particles, which then having denotation of...
28 February 2021 7,397 8 View
I have a sample of treated water sample & asked to obtain ammonia conc. in sample using a machine with 5-25 ppm detection range. However, upon testing with different dilution factors, all...
27 February 2021 8,483 3 View
Good day to all, I have no experience with light emitting diodes. I am building a glass mini flume to demonstrate the photo degradation of Methylene Blue in water running over self cleaning...
26 February 2021 4,026 5 View
In R-studio, there are many commands of Gumbel package. Arguments are also different. I`m asking about the alpha parameter of the Copula which must be greater than 1. If this is the one used to...
25 February 2021 5,229 3 View