The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Date data types
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Xaime94

Poland
7 Posts

Posted - 05/15/2018 :  07:40:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro2015
Operating System:Windows 7

I got a question with regards to date data types, let's say yyMMdd HH:mm:ss. How does Origin count the value of the integral of the function f(T), where T corresponds to date data? I mean, what's the unit of the integral of funtion f(T) over time? Let's suppose the values of function f(T) are in Watts, then the unit of integral of f(T) is: Watts * (what unit?)


Edited by - Xaime94 on 05/15/2018 08:34:16 AM

Drbobshepherd

USA
Posts

Posted - 05/15/2018 :  09:24:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Xaime94,

The way time is displayed in Origin is just a format interpretation. The way time data is stored is the floating point value of a date on the Julian calendar. The unit of the Julian calendar is a day.

Please verify this fact using the help files. I am not an employee of OriginLab Inc. I am just a user like yourself.

DrBob

Go to Top of Page

Xaime94

Poland
7 Posts

Posted - 05/15/2018 :  10:08:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Drbobshepherd,

Thank you, so the unit of integrated curve, is [Watts * 24h]?

In other words, if I got the time interval for example: 2018-03-12 06:29:21 - 2018-03-12 06:35:47 (which is 386 second), then the calculated integral over f(t),where t is in data type will be equal:
(the value of integrated curve f(t), where t in seconds)/24*60*60?

Because 1 day=24h=24*60*60=86400s

Edited by - Xaime94 on 05/15/2018 10:27:35 AM
Go to Top of Page

Drbobshepherd

USA
Posts

Posted - 05/15/2018 :  5:21:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
X,

Yes, if f(t)is power in watts, and t is time in days, then the integral
⌠T
│ f(t)dt = energy in watt*days.
⌡0

Multiply by 86400 to express answer in joules; or, multiply by 0.024 to convert answer to kW*hr. These are more common units of energy.

DrBob
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 05/20/2018 :  8:17:50 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Xaime94,

The date column is internally stored as Julian Days, so the actual numeric value unit is a Day or 24 hours, so 0.5 = 12 hours.

CP
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000