Administrators Teddy Posted November 22, 2019 Administrators Share Posted November 22, 2019 (edited) To generate and display curves in Seeq, a formula representing the shape of the curve needs to be created and added to an XY Plot. There are two methods to achieve this. Method #1 - Use the Plot Curve Add-on Create a .csv file with a tabular representation of the curve. This can be done with a tool such as https://apps.automeris.io/wpd/. Install the Plot Curve Add-on - https://seeq12.github.io/seeq-plot-curve/ Add "Flow" and "Head" signals in Workbench and navigate to an XY Plot View If you don't have a "Head" or "Flow" signal tag, you can use Formula to calculate them and use the output of that calculation as the associated signal. Launch the Plot Curve Add-on via Tools->Add-ons Load the csv containing the curve data by clicking the "Load" button in the Add-on and navigating to the location of the csv Identify the Independent variable (e.g., Flow) and Dependent Variable (e.g., Head) from the csv, as well as the Independent Signal (e.g., Flow Signal Tag) and Output Signal Name (e.g., 1800 RPM Curve) You can also specify the curve polynomial fit that best matches the shape of the curve in the "Plot Curve Variables" section Repeat step 6 and 7 for EACH curve Push the curves to Seeq by clicking "Push to Seeq". The formula(s) for the curve(s) will be added to your Display Pane. You will have the option to only push the active curve, or all the curves configured In Workbench XY Plot view, click the f(x) button to add trend line(s)s to the plot Select the Trend Line(s) to add confirm the associated independent signal (e.g., Flow) is correctly associated. Close the modal. The curve(s) will be added to the XY Plot. Adjust the colors as needed via the Details Pane. Method #2 - Manually create the curve using Formula Determine the X&Y components of the curve. This can be done with a tool such as https://apps.automeris.io/wpd/. Enter or paste the components in columns A and B in the CurveFitter excel sheet. See screenshot below for details. The CurveFitter file can be found here: CurveFitter.xlsx Once the new Flow and Head data has been pasted into excel copy the contents in from D2 to E9 and paste them into the Seeq formula tool. See screenshots below for copy paste details Copy: Paste: Paste the following syntax in the same formula under the coefficients. Be sure that the flow signal has the variable name “$flow”. $f=$flow.remove($flow.isNotBetween($lower,$upper)).setunits('') $coeff4*$f^4+$coeff3*$f^3+$coeff2*$f^2+$coeff1*$f+$const Final formula view: Add the line to the XY Plot by selecting the f(x) in the XY Plot tool bar and pick the correct item from the select item dropdown. If adding more than one curve, then click on the item properties “i” of the first curve and click on duplicate. Once in the formula tool copy the new coefficients from excel replacing the old one and hit execute. Follow step 5 to add the curve to the plot. Final View: Note that both methods yield curves expressed as formula which can be used for calculations like any other signal in Seeq (e.g., calculate curve head vs actual, etc). Edited December 1, 2023 by Patrick updates and added Plot Curve Add on option 4 1 Link to comment Share on other sites More sharing options...
Riley Hodder Posted March 16, 2020 Share Posted March 16, 2020 Hi, Is there a way to display the performance of multiple pumps on the same curve? Link to comment Share on other sites More sharing options...
Administrators Teddy Posted March 16, 2020 Author Administrators Share Posted March 16, 2020 Yes there is a way to add multiple pumps to one curve. It can be done by following these steps on the following Seeq.org post. 2 Link to comment Share on other sites More sharing options...
Riley Hodder Posted March 16, 2020 Share Posted March 16, 2020 Thanks Link to comment Share on other sites More sharing options...
sabareesh Posted June 3, 2020 Share Posted June 3, 2020 I tried but curves are taking higher ranges and appearing like a linear curves. Please help me in this regard. Link to comment Share on other sites More sharing options...
Administrators Teddy Posted June 3, 2020 Author Administrators Share Posted June 3, 2020 If all of your points are in one location or you are only plotting one point you will likely need to zoom out to see the whole curve. This can be done by putting your mouse over of the x and y axis and using the scroll wheel to zoom out. Link to comment Share on other sites More sharing options...
sabareesh Posted June 20, 2020 Share Posted June 20, 2020 Its not the scale setting problem, But its is taking infinite limits. Link to comment Share on other sites More sharing options...
elias Posted February 11 Share Posted February 11 (edited) Hi Teddy, thanks for your post! I have been trying to follow the steps of method 2. I'm lost at step four, Be sure that the flow signal has the variable name “$flow” how exactly do you create the variable to display this range of data at the same time? same thing for the y-axis "delta pressure" Edited February 11 by elias Link to comment Share on other sites More sharing options...
Administrators Teddy Posted February 12 Author Administrators Share Posted February 12 Elias, You can just click on the variable name, and change it to whatever you want. See screenshot below for details. I hope this helps. Regards, Teddy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now