# Get chroline concentration at each node

#1

Hello everyone,

I am trying to get the chroline concentrations in all of the network nodes but can’t seem to find a method to do so. This is my sample code:

%% Chroline decay simulation. CyberPhysical systems optimization.
G = epanet(‘net2-cl2.inp’)

%% Properties
properties(G) % List of all available parameters
elevations = G.NodeElevations % Node elevations from parameters

%% Methods
methods(G) % List of all available methods
elevations = G.getNodeElevations([2 5]) % Node elevations for Nodes 2 & 5
G.plot % Plots the network in a MATLAB Figure
A = G.getConnectivityMatrix % Create the connectivity matrix

%% Calling EPANET-MSX
H = G.getComputedHydraulicTimeSeries % Solve hydraulic dynamics in library
Q = G.getComputedQualityTimeSeries % Solve quality dynamics in library
B = G.getBinComputedAllParameters % Solve in library, create Binary file

%% EPANET-MSX