This Xcos block provides time signal in "modified julian day since 1950" format.
This Xcos block provides time signal in "modified julian day since 1950" format. This time frame is used as a base frame in CelestLab library. Initial time should be given in block parameters dialog in form of calendar date. Values defining initial time are checked within the block according to following rules:
It is also posible to modify relationship between simulation time and timer speed by setting muliplier. By default time multiplier is set to 1440, which means that one unit of simulatin time represent single julian minute. It is worth noting that setting this multiplier to 0 allows to use the block as constant time input block.
Output: 1x1 double
Time multiplier - allows to scale time flow in relation to Xcos simulation time. Its value indicates how many simulation time units (set in Xcos simulation parameters dialog) has to pass for one julian day of the simulation time. Default value = 1440 means that single unit of simulation time is one minute. It is a number of minutes in a single day (24h times 60min). If the multiplier is set to 0 then the CJD_TIMER shows the time that has been initially set throught the simulation (clock is stopped).
Year = initial simulation year (integer)
Month = initial simulation month (integer)
Day = initial simulation day (integer)
Hour = initial simulation hour (integer)
Minute = initial simulation minute (integer)
Second = initial simulation second (double)
Time multiplier = 1440
Year = 2012
Month = 1
Day = 1
Hour = 0
Minute = 0
Second = 0
macros/CJD_TIME.sci
macros/AB_cjd_time.sci