Escolar Documentos
Profissional Documentos
Cultura Documentos
Reporting
Every single result you get out of your Spry schedule can be represented in a number of different
ways. Firstly you begin by defining your Reporting Periods, such as weekly and monthly. From here
you should become familiar with the Output Schedule, and generate any additional results not
available by default using Custom Fields and the Expression Editor. Once your results are all
generated, display them in Pivot Tables, Spreadsheets or Gantt Charts. Finally, generate a variety of
visual grids, images and videos from the Animation Window.
CONCEPTUAL
Before looking at your first Report (Gantt Chart, Pivot Table or Spreadsheet), its important to set
some parameters for the times you want to report on. Reporting Periods are the mechanism you use
in Spry to set your definition of a week, month, financial year or other period of time relevant to
your site. There are no default Reporting Periods so its up to you to determine what periods are
important to report on.
Once youve got a reporting periods set (generally Monthly and Yearly to start with) its time to look
at your Output Schedule, covered in the next section. Be aware that the more reporting periods you
set, the longer your results will take to generate.
PRACTICAL
To add a new Reporting Period, right-click Reporting Levels in the side window and choose Add ->
New Reporting Level (Use Wizard)
The Start and End Date control the scope within which the reporting periods will be set.
Period Length options: Hours, Days, Weeks, Months, Quarters and Years. Depending on the Period
Length, the Start On options adjust as well.
The Preview Period Name window will show you an example of what you can expect to see based on
your Start Date and Start On options.
CONCEPTUAL
The Output Schedule is the line-by-line representation of every single result you can get out of your
Source & Destination Scheduling, as well as various (but not all) Haulage results.
Every other report type (Pivot Tables, Spreadsheets, Gantt Charts and Animation) is built from your
Output Schedule. It can be considered the finest grain of detail you can report in.
Is your Output Schedule red? That means something has changed, and in order to get the most up-
to-date results you should run your Scenario.
PRACTICAL
The default Schedule tab shows only a selection of the many fields available. The screenshot below shows the fields relevant to Source Scheduling.
To access the full range of columns, right-click any column header and select the Column Chooser.
There are over 50 data items available by default and you can drag and drop any of the items from
this list into your Output Schedule and vice-versa.
You can also filter any data item in the schedule using the Filter Editor (right-click column header)
Export your Output Schedule using the contextual Import/Export button at the top of the Spry
window. Available options are XLS(X), PDF and CSV.
CONCEPTUAL
In the previous section we discussed the concept that an Output Schedule is the building block for all other reporting and that over 50 data items are
available by default. Its also possible to use any information from the Output Schedule (and also from your Data Tables) to build custom results, known in
Spry as Custom Fields. There are two distinct types of Custom Fields:
The basic principle is that a Value Type Custom Field will return numbers and Filter Type Custom Fields will return strings. Want to calculate an operating
cost? Multiply your operating hours by your hourly cost in a Value Type. Want to group multiple benches together to create broader groups like low,
medium and high material? A Filter Type will filter those benches into their relevant material height string.
Custom Fields are the result of an Expression. You can consider an Expression to be a kind of formula that uses the C# programming language along with
Spry specific nomenclature. The Practical section below will detail several examples as well as where to find the full set of tools available to you.
CONSTANTS VS VARIABLES
Its important to understand the difference between a Constant and a Variable when dealing with the Expression Editor. A Variable is anything that might
change when you run your Scenario (any item that might appear in a line of the Output Schedule). In contrast Constants dont change when you run your
schedule. A simple example of that in practice is that the Equipment you set up in your Scenario is a Constant, but the Equipment in a line of the Output
Schedule line is a Variable. For clarity, check some more examples below.
Youll use quite a lot of if the variable is this constant then do this. So if you were saying if the Process is Waste you would write that as
Process=ProcessWaste. There are plenty of examples to help you get started so dont get too caught up on it right now.
CODE NAMES
The final thing to note before getting started with your first Custom Field is a basic understanding of how the nomenclature works, especially relating to
Constants which use Code Names. You might have a piece of Equipment named Blasting, but you might also have a process called Blasting. You cant just
use Blasting as the name for each as they have to be unique, so Spry places their location before the name, so the piece of Equipment called Blasting has
the Code Name EquipmentBlasting (no spaces) and the Process is called ProcessBlasting. To see the full range of Code Names available to you scroll through
the dropdown in the Expression Editor.
PRACTICAL
Create a new Custom Field by right-clicking Custom Fields and choosing New -> Custom Filter/Value Field Type
EXPRESSION TYPE
(Default: Single) Determines whether your Expression will be conditional on the Process or Equipment
FORMAT STRING
The Format String controls the way the data appears, but doesnt affect the data itself. The Format String nomenclature is based on C# standards and a
summary is available in Appendix 1: Format Strings.
AGGREGATION
(Default: Sum) How the data will be aggregated when filtered (typically Sum when dealing with quantities). For information on how aggregates can work
visit http://en.wikipedia.org/wiki/Aggregate_function
There are three kinds of Expression Items in Spry. Functions are very similar to what you use in Excel. There are over 100 functions built into Spry, and
remembering what they all do is impossible. You can make things simpler by using the dropdown menu (or filter) and the description.
Operators are a symbol or function denoting an operation (e.g. , +) and also include logical
functions (e.g. And/&& and Or/||)
Constants, discussed in some detail in the Conceptual section, are Spry data items that dont change
when your Scenario runs. The include Equipment, Processes and relevant Table Positions and Fields.
Variables are Spry data items that are effected by the running of a Scenario.
EXAMPLES
Simple Coal Value: If youre scheduling in Volume but want to report Tonnes, or vice versa, you would use the GetValue() Function to draw the Constant
from the table, and multiply it by the Source Percentage Completed.
Using an existing custom field as a Value Expression (Add all Volume over 3km)
Filter Type Bench Grouping Example: The example below will group Benches below RL 0 as Low, 0-50 as Mid and 55+ as High.
If(Between(SourceBench,SourceBenchN85,SourceBenchN5)=True,"Low", If(Between(SourceBench,SourceBench0,SourceBench50)=True,"Mid","High"))
CONCEPTUAL
A pivot table is a data summarisation tool that can automatically sort, provide totals or give the
average of the data stored. For a more detailed explanation of pivot tables in general visit
http://en.wikipedia.org/wiki/Pivot_table
Pivot Tables in Spry are essentially no different to a regular Pivot table, but its still useful to
discuss the basic concepts regarding Spry specifically.
Summation Values: Called the Data Area in Spry. Can use any numeric Variable including
Value Type Custom Fields including Volumes, Distances, Times, Rates etc.
Row and Column Labels: Called the Row and Column Area in Spry. Can use any text or
date Variable Filter Type Custom Fields including Leaf Positions, Process, Equipment,
Reporting Periods etc.
You can also use multiple types of filters to show or remove anything in each individual Pivot Table
(options shown below in the Practical section).
In the example above its a consequence of a reporting period setting, but an example where this
feature can be particularly useful is during destination scheduling where you can use it to check your
dump balance.
Finally, if you havent used Pivot Tables before its quite possible to create nonsensical reports with
too many columns and/or rows. Dont worry! With a little patience youll get the hang of it.
PRACTICAL
Pivot Tables are drag-and-drop. Drag your Row and Column Labels and Summation Values straight
into the position you want and your Pivot Table will be populated immediately. Custom Fields will
appear by default, as well as Reporting Periods which appear as Period YourPeriodName
By default, you dont see all of the Labels and Values that you have available. To see the full list, right
click the header that has the various drag-and-drop items and choose Show Field List.
Export your Pivot Table as either XLS(X), PDF or CSV using the contextual Import/Export menu at the
top of the Spry window.
CONCEPTUAL
Ever used Excel before? Good! Spreadsheets in Spry are very similar to Excel and because youve already looked at the Expression Editor there arent too
many concepts you shouldnt already be familiar with. Just be aware that although its very similar to Excel, it is not fully featured and will never be a full
replacement.
Spreadsheets are extremely useful when a set data structure is required, and most Excel spreadsheets can be imported into and modified in Spry use with
ease.
PRACTICAL
When you switch to the Spreadsheet window in Spry, note the additional tabs available, specifically the Formulas tab which you will use quite frequently.
The Function Library includes over 250 Excel type Functions such as SUMIF, VLOOKUP and the full documentation for these and their application is
available here.
Results: Pulling values off the Output Schedule (numbers only) requires these functions. Includes Schedule Sum, Schedule Min, Schedule Max and Schedule
Weighted Average contextual menu appears after selecting, the most complex is for Schedule Weighted Average which is shown below.
All Results functions require a Value, a Reporting Level and Reporting Period (and Weight when Schedule Weighted Average) with an optional Filter. With
the exception of the Reporting Level, these use the Expression Editor.
User Note: Generally after selecting your Reporting Period in the menu above and populating the cell, you would return and change the Reporting Period
reference to a Date Cell. e.g. =ScheduleSum(SourceQuantity, Process=ProcessCoal, Month, DATEVALUE(1/10/2013)) changes
to =ScheduleSum(SourceQuantity, Process=ProcessCoal, Month, B$1)
Data: There is only one Data function, which is TABLEVALUE. This pulls data directly from your table of choice and like a Results function has a menu to
populate the options.
Have a #VALUE error? The Expression Errors button will give you an idea of what could be wrong
Import/Export
You can export your Spreadsheet either keeping Spry formulas intact, or make Spry calculate out all internal (non-Excel type) functions. Once exported, if
functions have been pre-calculated the Spry functions are lost.
Examples
Start with your reporting periods. Use the SCHEDULESTARTDATE() to set your first time period, and then use the DATE() function to add increments that
match the reporting periods you plan to use. For example =DATE(YEAR(C1),MONTH(C1)+1,DAY(C1)) adds 1 month to each sequential cell and you can just
drag and drop across as many cells as you need.
Next format your date cells by right-clicking the selection of cells, choosing Format Cells -> Date, and selecting the preferred Date Format.
Look below for some examples of how formulas have been used in Spreadsheets in Spry. Youll note how instead of referencing a Constant explicitly, the
formulas reference other cells that help to complete the formula and make quick changes. For example instead of Process=ProcessWaste, the formula is
written Process=Process&$A$4&.
CONCEPTUAL
A common tool in short term planning and project management, Gantt charts are a type of bar chart designed to illustrate groups of tasks by start and end
date. For more information on Gantt charts in general click here.
GROUPING
Any Gantt chart groups tasks together. The grouping in Spry Gantt Charts is based on matching (captions and colours). If everything matches then tasks are
grouped and as soon as something doesnt match, a new group is formed. The example below shows the difference between a caption that is Pit/Stage and
a caption that is Pit/Stage/Strip.
HIDDEN VS FILTERED
You have two options to remove certain tasks from being seen, by hiding or filtering. The difference lies in the way they affect grouping. Filtering something
will not affect the grouping, but will remove the related groups from view. Hiding something will allow it to be grouped with surrounding tasks. See the
screenshot below for a basic example.
COLOURING
There are 2 or 3 colours (depending on whether the process bar is shown or not). See the screenshot below for an example of how you can control the
colours on each Gantt Chart.
PRACTICAL
When creating a Gantt Chart, you are provided with some default settings which should give you a platform to build upon.
CAPTIONS
Captions are similar to Filter Type Custom Fields, in that they return a Text String that groups lines of an Output Schedule together.
TIMELINES
You control the Timeline headers that are visible, as well as the vertical lines, through the Timelines
tab in settings as well as by right-clicking the Time header on the Gantt Chart itself. Any Reporting
Period that isnt already present can be added as a timeline using the Add Timeline button
FILTERS
As discussed in the Conceptual section, filters allow you to remove groups from view but not affect
the grouping of surrounding tasks.
CONCEPTUAL
Just about anything you can view in the Animation window can be exported. You can create grids
out of your 3D data at any points in time you choose that are Vulcan, Minex and generic DXF
compatible. You can also export Video of your schedule in process or a series of Images.
PRACTICAL
GRIDS
Create a Grid from the Animation window by clicking Export -> Grid
The Export 3D Grid Surface menu allows you to choose the date/s, number of grids and their
properties. The Export Multiple Layers tickbox will provide you with the option to generate several
layers based on a Period Length, Start and End Dates.
If you dont choose the Export Multiple Layers option, your Grid will be generated on whatever date
you are currently viewing in the animation window.
Once your Grids are generated, you can view and export them through the Design Window at the
bottom left of the screen.
From here you can control the dates, video type, resolution, animation speed and the title that appears as the video progresses. Image export is similar to
video but less complex.
Precision Mining Software | Phone: +61 7 3129 4300 | Email: support@precisionmining.com
Page 40 of 40