-P-
-P-
-P-
-P-
-P-
-P-
-P-
System Input Events
?>
Create a constant sequence.
For every input event an output event is generated. The first such event
will have the parameterized value 'initialValue'. Each succeeding event
will be incremented by an amount 'increment' to cause plotted values to
separate vertically on plots.
Each input event results in a single output event. The first output event
after initialization will have the value initialValue. Each succeeding
event value will be incremented by an amount increment. The purpose of
this actor is to provide a vertical spread on plots of the output to enable
easy detection of simultaneous events.
-P-
For every input event an output event is generated. The first such event
will have the parameterized value 'initialValue'. Each succeeding event
will be incremented by an amount 'increment' to cause plotted values to
separate vertically on plots.
Each input event results in a single output event. The first output event
after initialization will have the value initialValue. Each succeeding
event value will be incremented by an amount increment. The purpose of
this actor is to provide a vertical spread on plots of the output to enable
easy detection of simultaneous events.
-P-
Create periodic timed events.
Create a constant sequence.
Defines two modes of operation of the actor named 'PMU'.
The initial operational state is 'initializingSystem' and is intended to model
operations needed to initialize a larger system before normal operation
starts including such things as membership protocols, initial sensor readings
or actuations, clock synchronization protocols, etc.
The second state 'running' is the normal operational state.
These are implemented with a modal model. The transition to normal operation
occurs on receipt of a startup or resume event from a system supervisor.
During the initializingSystem state initialization procedures are run but nothing
happens at the event output ports. During normal operation a sequence of sampleEvents
are generated starting at after an interval 'offset' from entering the state and
with a period defined by the parameter 'period' of the enclosing PMU actor.
If a pause event occurs the system transitions back to the initialization
state where it remains until a new startUp or resume event occurs.
The DiscreteClock actor generates events based on the local time and is
subject to the Ptides modal model time semantics on pause and resume.
The UTCEvent actor generates events based on the requirements of the PMU
which requires events to be synchronous with UTC.
The 1 samplePeriod delays on the outputs are to enable scheduling. They
appear within the modal model to prevent events from being generated after
leaving the running state.
Create periodic timed events.
For each input event gridFrequency*samplePerGridPeriod output events are
produced with a period samplePeriod and with the initial event with the
same time stamp as the input event.
-P-
Output the current time.
Create periodic timed events.
Create a constant sequence.
Create a constant sequence.
Create a constant sequence.
Create a constant sequence.