Appendix B: Expression Variable Reference

Created by Matthew St. Louis, Modified on Tue, 21 Apr at 4:36 PM by Matthew St. Louis

APPENDIX B

EXPRESSION REFERENCE

Expressions consist of one or more conditional statements that are evaluated for each point in the data set. Conditional statements can be enclosed in parentheses and combined using and and or. The following table lists all parameters that can be evaluated for each data point.


VariableDescriptionExample
LocationLocation information for the data pointLocation = null
Location.LatitudeLatitude of the data pointLocation != null and Location.Latitude > 60
Location.LongitudeLongitude of the data pointLocation != null and Longitude < 120
Time.YearYear component of the date/timeTime.Year = 2010
Time.MonthMonth component of the date/timeTime.Month = 1
Time.HourHour component of the date/timeTime.Hour = 12
Time.MinuteMinute component of the date/timeTime.Minute < 30
Time.DayOfWeekDay of the week, with 0 = Monday and 6 = SundayTime.DayOfWeek = 1
SpeedVessel speed, in knotsSpeed > 5
HeadingVessel direction, with North = 0, East = 90, South = 180, West = 270Heading > 0 and Heading < 180
VoltagePower supplied to the control box, in voltsVoltage < 8
SatelliteErrorBased on GPSSatelliteError > 4
VideoRecording“true” if the VDL is currently recording, “false” otherwiseVideoRecording = true
DrumNumber of drum rotations since the last collected data pointDrumRotations > 0
DrumRotationsPerMinuteNumber of drum rotations per minute since the last data pointDrumRotationsPerMinute > 0
PressurePressure in PSIPressure > 120
TimeGap.TotalSecondsTotal seconds between this point and the previous data pointTimeGap.TotalSeconds > 90
TimeGap.TotalMinutesTotal minutes between this point and the previous data pointTimeGap.TotalMinutes > 5
TimeGap.TotalHoursTotal hours between this point and the previous data pointTimeGap.TotalHours > 1
TimeGap.TotalDaysTotal days between this point and the previous data pointTimeGap.TotalDays > 1
EventDetailEvent information for the data pointEventDetail != null
EventDetail.EventNumberVDL event number for the eventEventDetail != null and EventDetail.EventNumber = 3
EventDetail.CommentVDL event comment for the eventEventDetail != null and EventComment = "Startup From Sleep"
DistanceTravelledDistance, in km, travelled since the last recorded data pointDistanceTravelled > 0.5
CalculatedSpeedSpeed, in km/h, calculated based on DistanceTravelled and TimeGapCalculatedSpeed > 10
RfidTagID of the RFID tag scanned since the last data pointRfidTag != 0
LineNumberLine number in the VM file that the data point comes fromLineNumber > 5000
PressureRatingRelative pressure rating derived by clustering the data. Can be: “NoData”, “Low”, “Medium”, “High”PressureRating = "High" or PressureRating = "Medium"
DrumSpeedAboveAverage“true” if the drum speed for the data point is above the average drum speed for the entire data setDrumSpeedAboveAverage = true
DrumSpeedRatingAuto-calculated field based on statistical clustering of DrumRotationsPerMinute: 0 = slow, 1 = medium, 2 = fastDrumSpeedRating = 2
PressureAboveAverage“true” if the pressure for the data point is above the average pressure for the entire data setPressureAboveAverage = false









Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article