Matlab functions to read and analyse flow-rate data from a Coriolis flow-meter.
Calculates the average flowrate from the SFE equipment flowrate file.
Run from the command window as:
getAvgFlowrate(filename)
or
getAvgFlowrate(filename, target)
filename
is a string of the flowrate file (without .txt extention)target
is the value of the desired flowrate. If target is provided the desired value will be drawn on the graph (optional parameter).
Automatically monitors the flowrate by calculating the average value every 60 seconds. Ctrl+C to stop.
Run from the command window as:
monitorAvgFlowrate(filename)
or
monitorAvgFlowrate(filename, target)
filename
is a string of the flowrate file (without .txt extention).target
is the value of the desired flowrate. If target is provided the desired value will be drawn on the graph (optional parameter).
Calculates the cossolvent flowrate in ml/min for a given cossolvent mass fraction
Run from the command window as:
cossolvent(Q_CO2, x_cossolvent)
or
cossolvent(Q_CO2, x_cossolvent, cossolvent)
Q_CO2
is the CO2 flowrate in g/minx_cossolvent
is the cossolvent mass fractioncossolvent
is a string representing the cossolvent. Currently, onlyethanol
is supported. Default isethanol
.
Script to run through all flow-rate files in the specified folders and report time and average flow-rates.