Controller -- Profile
From SysCAD Documentation
Navigation: Main Page -> Models -> Process Control Models
Contents |
General Description
The Profiler model can read a data file of numbers in columns usually entered in a spreadsheet. The numbers are interpreted as being the values of a particular variable at increasing times; e.g. reliability data for a pump over a year, or end-user daily demands in water supply network.
Each profiler can have up to 230 profiles of unlimited length. Each profile in the same file can have a different number of points.
Profile Format
- The first row in the Profile may contain headings made up with valid SysCAD Tags.
- If the TagsInHeading selection box is ticked, these valid SysCAD tags will be automatically loaded into SysCAD.
- If the TagsInHeading selection box is NOT ticked, the first row is ignored by SysCAD.
- For SysCAD Tags that includes engineering units, put tag in single quotes ' '. For example 'Feed.Qm_Rqd (t/h)'.
- If SysCAD finds a blank column or an invalid tag, all remaining tags are ignored.
- Profiles do not support string tags.
- The first column in the Profile must contain time in seconds. Time must increment, recommend on selecting time settings that are divisible by the planned iteration size.
- The second column onwards in the profile should contain data that must be read.
- The maximum columns loaded into SysCAD profile model will be 230.
Example Profile
| Time | Feed_FC.Cfg.[0].Spt | 'COOLINGWATER.T_Rqd (C)' | 'FV102.Posn.Reqd (%)' |
|---|---|---|---|
| 0 | 200 | 20 | 100 |
| 100 | 200 | 25 | 90 |
| 200 | 100 | 46 | 95 |
| 300 | 200 | 36 | 100 |
| 400 | 200 | 75 | 90 |
How to use a Profile
The easiest way to create a profile is by using MS Excel. The profile format and example is given above. Once the profile is created, save it as a csv file.
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 profile loaded into SysCAD is given below:
Data Sections
| Tag / Symbol | Input / Calc | Description |
|---|---|---|
| Common First Data Section | ||
| On | Tick Box | Enables or disables the Profile Blocks. |
| TagsInHeading | Tick Box | Uses the first row of the profile as output tags. |
| Folder | Display | The full path of the profile. |
| File | Input | The file name of the profile. Note: this file must be created first. File can be txt or csv format. |
| Status | Display | The status of the profile with a brief summary of the file. |
| Edit | Button | Allow the user to edit the file. |
| Browse | Button | Use this button to Browse for the file. |
| Reload_ Restart | Button | Reloads and Restarts the Profile from time 0. |
| Restart | Button | Restarts the Profile from time 0. |
| ShowCnv | Tick box | |
| Check Tags | Button | SysCAD will perform a check on the validity of the tags used. |
| Linear | Tick Box | If this box is selected, the values will be linearised. For example, if at Time 0 flow is 10, and Time 10 flow is 20. Then if linear is selected, at Time 5, flow will be 15; if linear is not selected, then at Time 5, flow will stay at 10. |
| WrapAround | Tick Box | If this box is selected, then when the profile reaches the last entry in the file, it will start again from the beginning. If not, the value will remain being the last value in the file. |
| Time Passed | Calc | The lapsed time. |
| TagCount | Input | The number of columns being read from the profile, maximum is 230. Note: this is the number of column in the profile - 1. (Thus, the time column does not count.) |
| Tag.Item.[x] | If the TagCount is more than 1, then more fields will be available below. Note: if the user leaves a field blank, then the corresponding column of data from the profile will be skipped. | |
| Output_Tag | Input | This is the manipulated variable. Eg: XPG_1.Qm_Rqd (kg/s) or P_1.Qm_Capacity (kg/s). Note: only white, changeable data fields can be used here. If the TagsInHeading tick box is selected, then the tags present in the first row of the profile will be used here. |
| Output | Feed back | The value read from the profile (if linear is selected, then it will display the adjusted number). |
Adding this Model to a Project
Insert into Configuration file
Sort either by DLL or Group.
|
|
DLL: |
Control1.dll |
→ |
Units/Links |
→ |
Control: Profile |
|
or |
Group: |
General |
→ |
Units/Links |
→ |
Control: Profile |
See Project Configuration for more information on adding models to the configuration file.
Insert into Project
|
|
Insert Unit |
→ |
Control |
→ |
Profile |
See Insert Unit for general information on inserting units.

