|Get Tag List
|Set Tag List
|Slew Rate Controller
- The Events unit operation reads a CSV file and uses the SysCAD tags and values in the file to change parameters at set times.
- Standalone unit - no Pipe connections.
- Dynamic simulation only.
- The Profile Controller sets SysCAD tags at regular intervals using a profile that is read in from a CSV file.
- The Scheduled Events model will set a single SysCAD tag to a required value at regular intervals.
- The Downtime model is used to simulate downtime of a piece of equipment due to a regular event (such as maintenance) and/or failure or other causes.
The diagram shows the default drawing of the Events control unit.
Inputs and Outputs
There are no connections to this unit.
Events Profile Format
- The first row in the Events Profile may contain headings. It is ignored when the file is loaded in SysCAD.
- The first column in the Events Profile must contain time in seconds.
- It is recommended that the user select time settings that are divisible by the planned iteration size.
- The second column contains the SysCAD tag that must be changed at the specified time.
- The third column contains the value that must be set into the SysCAD tag at the specified time.
At load time, SysCAD sorts the entries based on the first (time) column, so the file can have the events listed in any sequence.
Example Events Profile
The data below shows how to set up flow change to Paste Plant after a set period of operation. The change will occur on day 75 (to 50%) and day 112 (to 100%). Note that user need to convert the time into seconds and enter that in the first column.
|Time in Days
How to use an Events Profile
The easiest way to create an events profile is by using MS Excel. The profile format and example is given above. Once the events profile is created, save it as a csv file. SysCAD ignores the first row so use this for headings.
Switch to SysCAD; use the browse button to load the file into the model. Select the various options as required, these are explained in the next heading. An example of a working events profile loaded into SysCAD based on the data provided in the previous section is given below:
The default sections and variable names are described in detail in the following tables. The default Events Controller access window consists of 2 sections:
Summary of Data Sections
- Events tab - Contains general information relating to the unit.
- Info tab - Contains general settings for the unit and allows the user to include documentation about the unit and create Hyperlinks to external documents.
Unit Type: Events - The first tab page in the access window will have this name.
|Input / Calc
|Description/Calculated Variables / Options
|This name tag may be modified with the change tag option.
|OK if no errors/warnings, otherwise lists errors/warnings.
|The current number of errors/warnings. If condition is OK, returns 0.
|GeneralDescription / GenDesc
|This is an automatically generated description for the unit. If the user has entered text in the 'EqpDesc' field on the Info tab (see below), this will be displayed here.
If this field is blank, then SysCAD will display the UnitType or SubClass.
|Enables or disables the Events Profile Blocks.
|The full path of the events profile.
|The file name of the events profile. Relative File Path can be used. Note: this file must be created first. File can be txt or csv format.
|Shows errors if any, otherwise shows OK and displays number of rows of data and total time period.
|Allow the user to edit the file.
|Use this button to Browse for the file.
|If this box is selected, then when the Event reaches the last entry in the file, it will start again from the beginning. The time value of the last row gives the wrap around duration.
If WrapAround is not enabled, the value will not change from the last value in the file once the maximum time has been reached.
|Will restart the Event at start up
|Only visible when WrapAround is NOT selected. If the option is selected, the Event will be in a waiting state at start up, user will have to send the Restart trigger to start the Event . (By manually pressing the Restart button or use a PGM to set Restart to 1)
|Does nothing when the global Event Reset is triggered. (Under the Access Window Options Button, Reset Action - Events / Profiles)
|Restarts the Event when the global Event Reset is triggered. (Under the Access Window Options Button, Reset Action - Events / Profiles)
|Only visible when WrapAround is NOT selected. If this option is selected, then the Event will be in a waiting state when Reset is triggered. User will have to send the Restart trigger to start the Event . (By manually pressing the Restart button or use a PGM to set Restart to 1)
|Reloads and Restarts the Event file from time 0.
|Only visible if WrapAround is NOT selected. Reloads the Event file and puts the Events in a waiting state. User will have to send the Restart trigger to start the Event. (By manually pressing the Restart button or use a PGM to set Restart to 1)
|This is the trigger to restart the Event file from time 0. (By manually pressing the Restart button or use a PGM to set Restart to 1)
|Only visible if WrapAround is NOT selected. This will skip to the end of the Event and put the Events in a waiting state. Use this button to terminate the Events that are still in progress.
|If this box is selected, then no condition warning will be given if the events file exists but is empty (has no rows of time, tag and value).
|No log of changes will be made.
|When tags are set, a message will be displayed in the message window.
|When tags are set, an entry will be made in the event log.
|Messages and EventLog
|When tags are set, a message will be displayed in the message window and an entry will be made in the event log.
|The state of the event, possible states are: Waiting, In Progress or Completed.
|The total number of events in the csv file. This corresponds to the total number of rows in the csv file, not including the header row.
|The total time of the event file (based on once through)
|Amount of time passed since model was last restarted.
|How far has the event file progressed (based on once through)
|The number of times the Event file has restarted during the current project run. (If the wrap around option is on, this will count the number of times the Event file has looped around, if the wrap around option is not selected, then it will count the number of times the Event file has Restarted (by pressing the Restart trigger button)
|The amount of time left until the next event
|Current event number. This corresponds to the row in the csv file, starting from the second row (i.e. row 2 = 1).
|The time of the last event in the csv file.
|The SysCAD Tag that was changed in the last event
|The value that was set in the last event.
|The next time that an event is due to occur.
|The next tag that is due to be set.
|The value that the next tag will be set to.
Adding this Model to a Project
Add to Configuration File
Sort either by DLL or Group:
|Control 2: Events
|Control 2: Events
See Model Selection for more information on adding models to the configuration file.
Insert into Project Flowsheet
See Insert Unit for general information on inserting units.