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)filenameis a string of the flowrate file (without .txt extention)targetis 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)filenameis a string of the flowrate file (without .txt extention).targetis 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_CO2is the CO2 flowrate in g/minx_cossolventis the cossolvent mass fractioncossolventis a string representing the cossolvent. Currently, onlyethanolis supported. Default isethanol.
Script to run through all flow-rate files in the specified folders and report time and average flow-rates.