# Sepide

7

• #### Days Won

3

Sepide had the most liked content!

## Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

6

1. ## Find the time of Max of a signal during a specific condition and store it in a string signal

1. The raw signal is the compressor power and we used Manual condition to identify some periods over time during which we would like to find the maximym of the compressor power. Identify the max value using Signal from Condition during the investigation time. 2. Create a Condition when the max value happened. 3. Create a signal in a way that the values show the time stamp of the maximum during each capsule. We could also combine step 2 and 3 into 1 condition. 4. Summarize the results in a table format. 5. Show the results in Trend view.
2. ## How to add the property of the day of the year to the daily condition and the week of the year to the weekly condition

a. Add the property of the day of the year to the daily condition. 1. From Tools>>Identify select Periodic Condition >> Daily and click execute. The daily condition automatically includes the properties of the Day of the week, month and the day of the year. 2. From the Capsules pane select the required properties. b. Add the property if the week of the year to the weekly condition. 1. Use the following Formula to create a weekly condition with the property of the week of the year. round(timesince(years(),1week).tostep() + 1).toCondition('Week') 2. From the Capsules pane select the Week property.
3. ## adding 2 signals, when one signal shows no value, result is missing

Felix, Please let me know if this is the problem you have: Here is the result of adding two signals when one of them has gaps in it: Solution Step1: Identify the gaps in Signal1 using the following formula: \$s1.isNotValid() Step 2: Substitute the gaps in Signal1 with zero using the Splice function: \$Signal1.splice(0.tosignal(),\$Gap) Step3: Use the newly created signal(Without gaps) and add it to the second signal: \$Signal1NoGap+\$Signal2 Please let us know if this answers your question. Thank you
4. ## Grouping Similar Product Runs

For more information on this topic please look at this post: Extracting A Substring From a Capsule Property
5. ## Displaying Multiple Data Series on a Single Scatter Plot

In this example we want to plot both temperature signal and a model signal vs relative humidity in one scatter plot using Seeq. Here are the Steps: RAW Data: Temperature (Area A) Temperature (Area B) X axis - Rel humidity (Area A) Step 1. Delay one of the signals to make sure the data points for both signals are not aligned Model (Area B) \$TempAreaB.delay(1min) Step2. Combine the model and the temperature into one signal and set the max interpolation to 1 sec so it doesn't draw a line in between samples Model & Temp Combined (Area A) \$Temp.combinewith(\$Model).setmaxinterpolation(1sec) Step3. Create a condition per each sample in the Temperature and Model Signal Temp Condition (Area A) \$Temp.setmaxinterpolation(1sec).isvalid() Model Condition (Area B) \$Model.setmaxinterpolation(1sec).isvalid() Step 4. Go to Scatter plot and select "Relative Humidity" as the X-Axis and "Model &Temp Combined" as the Y Axis Step 5. In Scatter Plot, select Model condition and Temperature condition for condition based coloring the sample points