-
a common formalism for time representation in the
continuous and discrete simulation domains
-
the introduction of the Universal_Time type,
by analogy with Universal_Integer and Universal_Real
-
Universal_Time has a precision of float type
which is sufficient to image the time exactly
-
there are two time variables of Universal_Time type
maintained by the simulator:
-
the kernel variable Tc, that represents the running
time of the simulation, and
-
Tn, that indicates the following time
-
the function now is defined to return the value of
the running simulation time (Tc )
-
this value is of Universal_Time type, resolved after
truncation to a nearest value of the current time
-
the predefined attribute S'Last_Event,
returns an effective time value corresponding to the elapsed time
since the last event on S
Simulation cycle:
The simulation cycle has been adapted to take into
account the time used by the analog solver.
-
the analog solver is activated in each simulation cycle,
just before the current time (Tc) is advanced
-
the sequence of solutions to the DAEs (Analog Solution
Points -ASP) are located in suitable intervals between the the
current time (Tc) and the next event instance
-
the value of a quantity received by a digital process as
well as the value of digital signal appearing in simultaneous assignments
are always correct